Home
last modified time | relevance | path

Searched refs:contended (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/gpu/drm/i915/
H A Di915_gem_ww.c14 ww->contended = NULL; in i915_gem_ww_ctx_init()
38 WARN_ON(ww->contended); in i915_gem_ww_ctx_fini()
46 if (WARN_ON(!ww->contended)) in i915_gem_ww_ctx_backoff()
51 ret = dma_resv_lock_slow_interruptible(ww->contended->base.resv, &ww->ctx); in i915_gem_ww_ctx_backoff()
53 dma_resv_lock_slow(ww->contended->base.resv, &ww->ctx); in i915_gem_ww_ctx_backoff()
56 list_add_tail(&ww->contended->obj_link, &ww->obj_list); in i915_gem_ww_ctx_backoff()
58 i915_gem_object_put(ww->contended); in i915_gem_ww_ctx_backoff()
60 ww->contended = NULL; in i915_gem_ww_ctx_backoff()
H A Di915_gem_ww.h13 struct drm_i915_gem_object *contended; member
/linux/arch/arm/include/asm/
H A Dspinlock.h83 unsigned long contended, res; in arch_spin_trylock() local
94 : "=&r" (slock), "=&r" (contended), "=&r" (res) in arch_spin_trylock()
99 if (!contended) { in arch_spin_trylock()
160 unsigned long contended, res; in arch_write_trylock() local
169 : "=&r" (contended), "=&r" (res) in arch_write_trylock()
174 if (!contended) { in arch_write_trylock()
250 unsigned long contended, res; in arch_read_trylock() local
259 : "=&r" (contended), "=&r" (res) in arch_read_trylock()
265 if (contended < 0x80000000) { in arch_read_trylock()
/linux/drivers/gpu/drm/
H A Ddrm_modeset_lock.c278 if (WARN_ON(ctx->contended)) in drm_modeset_drop_locks()
298 if (WARN_ON(ctx->contended)) in modeset_lock()
329 ctx->contended = lock; in modeset_lock()
350 struct drm_modeset_lock *contended = ctx->contended; in drm_modeset_backoff() local
352 ctx->contended = NULL; in drm_modeset_backoff()
355 if (WARN_ON(!contended)) in drm_modeset_backoff()
360 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
/linux/tools/perf/Documentation/
H A Dperf-lock.txt70 Sorting key. Possible values: acquired (default), contended,
76 customize that using this. Possible values: acquired, contended,
87 $ perf lock report -t -F acquired,contended,avg_wait
89 Name acquired contended avg wait (ns)
126 Sorting key. Possible values: contended, wait_total (default),
133 contended, wait_total, wait_max, wait_min, avg_wait.
/linux/kernel/cgroup/
H A Drstat.c373 bool contended; in __css_rstat_lock() local
376 contended = !spin_trylock_irq(lock); in __css_rstat_lock()
377 if (contended) { in __css_rstat_lock()
378 trace_cgroup_rstat_lock_contended(cgrp, cpu_in_loop, contended); in __css_rstat_lock()
381 trace_cgroup_rstat_locked(cgrp, cpu_in_loop, contended); in __css_rstat_lock()
/linux/kernel/locking/
H A Dtest-ww_mutex.c449 int contended = -1; in stress_inorder_work() local
456 if (n == contended) in stress_inorder_work()
466 if (contended > n) in stress_inorder_work()
467 ww_mutex_unlock(&locks[order[contended]]); in stress_inorder_work()
468 contended = n; in stress_inorder_work()
474 ww_mutex_lock_slow(&locks[order[contended]], &ctx); in stress_inorder_work()
/linux/security/keys/
H A Dgc.c265 goto contended; in key_garbage_collector()
268 contended: in key_garbage_collector()
/linux/include/drm/
H A Ddrm_modeset_lock.h55 struct drm_modeset_lock *contended; member
/linux/Documentation/driver-api/cxl/linux/
H A Dmemory-hotplug.rst60 its :code:`struct folio` becomes hotly contended.
/linux/arch/arm/common/
H A Dmcpm_head.S168 @ In the contended case, non-first men wait here for cluster setup
/linux/Documentation/locking/
H A Dlockstat.rst147 contended points (the lock holder). It is possible that the max
H A Dfutex-requeue-pi.rst100 of the waiter and to enqueue the waiter on a contended rt_mutex.
H A Dmutex-design.rst43 contended it goes to the next possible path.
H A Dww-mutex-design.rst97 slowpath until the contended lock can be acquired).
H A Drt-mutex-design.rst447 now, the current owner of the mutex being contended for can't release the mutex
/linux/Documentation/accounting/
H A Dpsi.rst10 When CPU, memory or IO devices are contended, workloads experience
/linux/tools/perf/
H A Dbuiltin-lock.c280 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
291 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
1256 { "acquire", "acquired", "contended", "release" }; in print_bad_events()
1779 const char *name[4] = { "acquire", "acquired", "contended", "release" }; in print_footer_csv()
2621 "key for sorting (acquired / contended / avg_wait / wait_total / wait_max / wait_min)"), in cmd_lock()
2623 "output fields (acquired / contended / avg_wait / wait_total / wait_max / wait_min)"), in cmd_lock()
2635 "key for sorting (contended / wait_total / wait_max / wait_min / avg_wait)"), in cmd_lock()
2636 OPT_STRING('F', "field", &output_fields, "contended,wait_tota in cmd_lock()
[all...]
/linux/Documentation/filesystems/
H A Ddirectory-locking.rst168 contended locks in the minimal deadlock will be of the same rank,