|
XenevaOS
|
#include <dma-resv.h>

Public Attributes | |
| struct dma_resv * | obj |
| enum dma_resv_usage | usage |
| struct dma_fence * | fence |
| enum dma_resv_usage | fence_usage |
| unsigned int | index |
| struct dma_resv_list * | fences |
| unsigned int | num_fences |
| bool | is_restarted |
struct dma_resv_iter - current position into the dma_resv fences
Don't touch this directly in the driver, use the accessor function instead.
IMPORTANT
When using the lockless iterators like dma_resv_iter_next_unlocked() or dma_resv_for_each_fence_unlocked() beware that the iterator can be restarted. Code which accumulates statistics or similar needs to check for this with dma_resv_iter_is_restarted().
| struct dma_fence* dma_resv_iter::fence |
@fence: the currently handled fence
| enum dma_resv_usage dma_resv_iter::fence_usage |
@fence_usage: the usage of the current fence
| struct dma_resv_list* dma_resv_iter::fences |
@fences: the shared fences; private, MUST not dereference
| unsigned int dma_resv_iter::index |
@index: index into the shared fences
| bool dma_resv_iter::is_restarted |
@is_restarted: true if this is the first returned fence
| unsigned int dma_resv_iter::num_fences |
@num_fences: number of fences
| enum dma_resv_usage dma_resv_iter::usage |
@usage: Return fences with this usage or lower.