Home
last modified time | relevance | path

Searched refs:ww_acquire_ctx (Results 1 – 25 of 50) sorted by relevance

12

/OK3568_Linux_fs/kernel/kernel/locking/
H A Dmutex.c323 ww_mutex_lock_acquired(struct ww_mutex *ww, struct ww_acquire_ctx *ww_ctx) in ww_mutex_lock_acquired()
369 __ww_ctx_stamp_after(struct ww_acquire_ctx *a, struct ww_acquire_ctx *b) in __ww_ctx_stamp_after()
385 struct ww_acquire_ctx *ww_ctx) in __ww_mutex_die()
407 struct ww_acquire_ctx *ww_ctx, in __ww_mutex_wound()
408 struct ww_acquire_ctx *hold_ctx) in __ww_mutex_wound()
461 __ww_mutex_check_waiters(struct mutex *lock, struct ww_acquire_ctx *ww_ctx) in __ww_mutex_check_waiters()
482 ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_set_context_fastpath()
519 bool ww_mutex_spin_on_owner(struct mutex *lock, struct ww_acquire_ctx *ww_ctx, in ww_mutex_spin_on_owner()
568 struct ww_acquire_ctx *ww_ctx, struct mutex_waiter *waiter) in mutex_spin_on_owner()
655 mutex_optimistic_spin(struct mutex *lock, struct ww_acquire_ctx *ww_ctx, in mutex_optimistic_spin()
[all …]
H A Dtest-ww_mutex.c52 struct ww_acquire_ctx ctx; in __test_mutex()
115 struct ww_acquire_ctx ctx; in test_aa()
160 struct ww_acquire_ctx ctx; in test_abba_work()
187 struct ww_acquire_ctx ctx; in test_abba()
249 struct ww_acquire_ctx ctx; in test_cycle_work()
383 struct ww_acquire_ctx ctx; in stress_inorder_work()
441 struct ww_acquire_ctx ctx; in stress_reorder_work()
/OK3568_Linux_fs/kernel/include/linux/
H A Dww_mutex.h31 struct ww_acquire_ctx { struct
121 static inline void ww_acquire_init(struct ww_acquire_ctx *ctx, in ww_acquire_init()
157 static inline void ww_acquire_done(struct ww_acquire_ctx *ctx) in ww_acquire_done()
174 static inline void ww_acquire_fini(struct ww_acquire_ctx *ctx) in ww_acquire_fini()
223 extern int /* __must_check */ ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx);
256 struct ww_acquire_ctx *ctx);
282 ww_mutex_lock_slow(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_slow()
319 struct ww_acquire_ctx *ctx) in ww_mutex_lock_slow_interruptible()
H A Ddma-resv.h111 struct ww_acquire_ctx *ctx) in dma_resv_lock()
132 struct ww_acquire_ctx *ctx) in dma_resv_lock_interruptible()
147 struct ww_acquire_ctx *ctx) in dma_resv_lock_slow()
163 struct ww_acquire_ctx *ctx) in dma_resv_lock_slow_interruptible()
205 static inline struct ww_acquire_ctx *dma_resv_locking_ctx(struct dma_resv *obj) in dma_resv_locking_ctx()
H A Dmutex.h24 struct ww_acquire_ctx;
71 struct ww_acquire_ctx;
75 struct ww_acquire_ctx *ctx;
88 struct ww_acquire_ctx *ww_ctx;
/OK3568_Linux_fs/kernel/include/drm/ttm/
H A Dttm_execbuf_util.h61 void ttm_eu_backoff_reservation(struct ww_acquire_ctx *ticket,
98 int ttm_eu_reserve_buffers(struct ww_acquire_ctx *ticket,
114 void ttm_eu_fence_buffer_objects(struct ww_acquire_ctx *ticket,
H A Dttm_bo_driver.h488 struct ww_acquire_ctx *ticket) in ttm_bo_reserve()
522 struct ww_acquire_ctx *ticket) in ttm_bo_reserve_slowpath()
H A Dttm_bo_api.h613 struct ww_acquire_ctx *ticket);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c46 void ttm_eu_backoff_reservation(struct ww_acquire_ctx *ticket, in ttm_eu_backoff_reservation()
80 int ttm_eu_reserve_buffers(struct ww_acquire_ctx *ticket, in ttm_eu_reserve_buffers()
148 void ttm_eu_fence_buffer_objects(struct ww_acquire_ctx *ticket, in ttm_eu_fence_buffer_objects()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_sync_helper.h144 unsigned int num_resvs, struct ww_acquire_ctx *ctx);
154 struct ww_acquire_ctx *ctx);
H A Ddrm_gem.h408 struct ww_acquire_ctx *acquire_ctx);
410 struct ww_acquire_ctx *acquire_ctx);
H A Ddrm_modeset_lock.h45 struct ww_acquire_ctx ww_ctx;
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_dma_fence.h117 u32 num_dma_reservation_object, struct ww_acquire_ctx *ww_actx);
123 u32 num_dma_reservation_object, struct ww_acquire_ctx *ww_actx);
H A Dmali_dma_fence.c381 u32 num_dma_reservation_object, struct ww_acquire_ctx *ww_actx) in mali_dma_fence_lock_reservation_object_list()
431 u32 num_dma_reservation_object, struct ww_acquire_ctx *ww_actx) in mali_dma_fence_unlock_reservation_object_list()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_dma_fence.c55 struct ww_acquire_ctx *ctx) in kbase_dma_fence_lock_reservations()
103 struct ww_acquire_ctx *ctx) in kbase_dma_fence_unlock_reservations()
318 struct ww_acquire_ctx ww_ctx; in kbase_dma_fence_wait()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/v3d/
H A Dv3d_gem.c251 struct ww_acquire_ctx *acquire_ctx) in v3d_lock_bo_reservations()
489 struct ww_acquire_ctx *acquire_ctx, in v3d_attach_fences_and_unlock_reservation()
535 struct ww_acquire_ctx acquire_ctx; in v3d_submit_cl_ioctl()
686 struct ww_acquire_ctx acquire_ctx; in v3d_submit_tfu_ioctl()
782 struct ww_acquire_ctx acquire_ctx; in v3d_submit_csd_ioctl()
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dww-mutex-design.rst141 int lock_objs(struct list_head *list, struct ww_acquire_ctx *ctx)
187 int lock_objs(struct list_head *list, struct ww_acquire_ctx *ctx)
225 void unlock_objs(struct list_head *list, struct ww_acquire_ctx *ctx)
288 void lock_objs(struct list_head *list, struct ww_acquire_ctx *ctx)
321 void unlock_objs(struct list_head *list, struct ww_acquire_ctx *ctx)
383 - Using a different ww_class for the mutex than for the ww_acquire_ctx.
387 - Calling ww_acquire_init to initialize a second ww_acquire_ctx before
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_sync_helper.c43 unsigned int num_resvs, struct ww_acquire_ctx *ctx) in drm_lock_reservations()
88 struct ww_acquire_ctx *ctx) in drm_unlock_reservations()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_csa.c69 struct ww_acquire_ctx ticket; in amdgpu_map_static_csa()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c540 vmw_resource_check_buffer(struct ww_acquire_ctx *ticket, in vmw_resource_check_buffer()
631 vmw_resource_backoff_reservation(struct ww_acquire_ctx *ticket, in vmw_resource_backoff_reservation()
654 static int vmw_resource_do_evict(struct ww_acquire_ctx *ticket, in vmw_resource_do_evict()
921 struct ww_acquire_ctx ticket; in vmw_resource_evict_type()
H A Dvmwgfx_validation.h81 struct ww_acquire_ctx ticket;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Di915_gem.h120 struct ww_acquire_ctx ctx;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_gem.h144 struct ww_acquire_ctx ticket;
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dcore.c157 struct ww_acquire_ctx *ww_ctx) in regulator_lock_nested()
267 struct ww_acquire_ctx *ww_ctx) in regulator_lock_recursive()
322 struct ww_acquire_ctx *ww_ctx) in regulator_unlock_dependent()
337 struct ww_acquire_ctx *ww_ctx) in regulator_lock_dependent()
2723 struct ww_acquire_ctx ww_ctx; in regulator_enable()
2833 struct ww_acquire_ctx ww_ctx; in regulator_disable()
2882 struct ww_acquire_ctx ww_ctx; in regulator_force_disable()
2910 struct ww_acquire_ctx ww_ctx; in regulator_disable_work()
3946 struct ww_acquire_ctx ww_ctx; in regulator_set_voltage()
4026 struct ww_acquire_ctx ww_ctx; in regulator_set_suspend_voltage()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_object.h158 struct ww_acquire_ctx *ticket,

12