Lines Matching refs:dma_resv
70 struct dma_resv { struct
89 static inline struct dma_resv_list *dma_resv_get_list(struct dma_resv *obj) in dma_resv_get_list() argument
110 static inline int dma_resv_lock(struct dma_resv *obj, in dma_resv_lock()
131 static inline int dma_resv_lock_interruptible(struct dma_resv *obj, in dma_resv_lock_interruptible()
146 static inline void dma_resv_lock_slow(struct dma_resv *obj, in dma_resv_lock_slow()
162 static inline int dma_resv_lock_slow_interruptible(struct dma_resv *obj, in dma_resv_lock_slow_interruptible()
182 static inline bool __must_check dma_resv_trylock(struct dma_resv *obj) in dma_resv_trylock()
193 static inline bool dma_resv_is_locked(struct dma_resv *obj) in dma_resv_is_locked()
205 static inline struct ww_acquire_ctx *dma_resv_locking_ctx(struct dma_resv *obj) in dma_resv_locking_ctx()
216 static inline void dma_resv_unlock(struct dma_resv *obj) in dma_resv_unlock()
242 dma_resv_get_excl(struct dma_resv *obj) in dma_resv_get_excl()
260 dma_resv_get_excl_rcu(struct dma_resv *obj) in dma_resv_get_excl_rcu()
274 void dma_resv_init(struct dma_resv *obj);
275 void dma_resv_fini(struct dma_resv *obj);
276 int dma_resv_reserve_shared(struct dma_resv *obj, unsigned int num_fences);
277 void dma_resv_add_shared_fence(struct dma_resv *obj, struct dma_fence *fence);
279 void dma_resv_add_excl_fence(struct dma_resv *obj, struct dma_fence *fence);
281 int dma_resv_get_fences_rcu(struct dma_resv *obj,
286 int dma_resv_copy_fences(struct dma_resv *dst, struct dma_resv *src);
288 long dma_resv_wait_timeout_rcu(struct dma_resv *obj, bool wait_all, bool intr,
291 bool dma_resv_test_signaled_rcu(struct dma_resv *obj, bool test_all);