Home
last modified time | relevance | path

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

/linux/include/drm/ttm/
H A Dttm_execbuf_util.h36 struct ww_acquire_ctx;
63 void ttm_eu_backoff_reservation(struct ww_acquire_ctx *ticket,
99 int ttm_eu_reserve_buffers(struct ww_acquire_ctx *ticket,
115 void ttm_eu_fence_buffer_objects(struct ww_acquire_ctx *ticket,
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c105 purge(struct drm_gem_object *obj, struct ww_acquire_ctx *unused) in purge()
117 evict(struct drm_gem_object *obj, struct ww_acquire_ctx *unused) in evict()
136 active_purge(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in active_purge()
145 active_evict(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in active_evict()
159 bool (*shrink)(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket); in msm_gem_shrinker_scan()
225 vmap_shrink(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in vmap_shrink()
/linux/include/drm/
H A Ddrm_exec.h32 struct ww_acquire_ctx ticket;
172 static inline struct ww_acquire_ctx *drm_exec_ticket(struct drm_exec *exec) in drm_exec_ticket()
H A Ddrm_modeset_lock.h48 struct ww_acquire_ctx ww_ctx;
/linux/kernel/locking/
H A Dtest-ww_mutex.c62 struct ww_acquire_ctx ctx; in __test_mutex()
127 struct ww_acquire_ctx ctx; in test_aa()
193 struct ww_acquire_ctx ctx; in test_abba_work()
225 struct ww_acquire_ctx ctx; in test_abba()
295 struct ww_acquire_ctx ctx; in test_cycle_work()
441 struct ww_acquire_ctx ctx; in stress_inorder_work()
499 struct ww_acquire_ctx ctx; in stress_reorder_work()
H A Dlocktorture.c605 static struct ww_acquire_ctx *ww_acquire_ctxs;
634 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_lock()
673 struct ww_acquire_ctx *ctx = &ww_acquire_ctxs[tid]; in torture_ww_mutex_unlock()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_test.c94 struct ww_acquire_ctx ctx; in ttm_bo_reserve_no_wait_ticket()
112 struct ww_acquire_ctx ctx; in ttm_bo_reserve_double_resv()
142 struct ww_acquire_ctx ctx1, ctx2; in ttm_bo_reserve_deadlock()
173 struct ww_acquire_ctx *ctx;
188 struct ww_acquire_ctx ctx; in threaded_ttm_bo_reserve()
/linux/drivers/gpu/drm/i915/
H A Di915_gem_ww.h11 struct ww_acquire_ctx ctx;
/linux/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
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.h62 struct ww_acquire_ctx ticket;
H A Dvmwgfx_resource.c517 vmw_resource_check_buffer(struct ww_acquire_ctx *ticket, in vmw_resource_check_buffer()
611 vmw_resource_backoff_reservation(struct ww_acquire_ctx *ticket, in vmw_resource_backoff_reservation()
634 static int vmw_resource_do_evict(struct ww_acquire_ctx *ticket, in vmw_resource_do_evict()
901 struct ww_acquire_ctx ticket; in vmw_resource_evict_type()
H A Dvmwgfx_cursor_plane.c529 struct ww_acquire_ctx ctx; in vmw_cursor_buffer_changed()
/linux/drivers/regulator/
H A Dcore.c163 struct ww_acquire_ctx *ww_ctx) in regulator_lock_nested()
241 struct ww_acquire_ctx *ww_ctx) in regulator_lock_two()
289 struct ww_acquire_ctx *ww_ctx) in regulator_unlock_two()
338 struct ww_acquire_ctx *ww_ctx) in regulator_lock_recursive()
393 struct ww_acquire_ctx *ww_ctx) in regulator_unlock_dependent()
408 struct ww_acquire_ctx *ww_ctx) in regulator_lock_dependent()
2193 struct ww_acquire_ctx ww_ctx; in regulator_resolve_supply()
3215 struct ww_acquire_ctx ww_ctx; in regulator_enable()
3327 struct ww_acquire_ctx ww_ctx; in regulator_disable()
3378 struct ww_acquire_ctx ww_ctx; in regulator_force_disable()
[all …]
/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c300 struct ww_acquire_ctx ctx; in lima_gem_submit()
/linux/drivers/accel/amdxdna/
H A Daie2_ctx.c1118 struct ww_acquire_ctx acquire_ctx; in aie2_cmd_submit()
/linux/drivers/accel/ivpu/
H A Divpu_job.c828 struct ww_acquire_ctx acquire_ctx; in ivpu_job_prepare_bos_for_submit()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c3282 struct ww_acquire_ctx *)) in panthor_mmu_reclaim_priv_bos() argument