/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_gem_ww.c | 14 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()
|
D | i915_gem_ww.h | 13 struct drm_i915_gem_object *contended; member
|
/linux-6.1.9/arch/arm/include/asm/ |
D | spinlock.h | 83 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-6.1.9/drivers/gpu/drm/ |
D | drm_modeset_lock.c | 276 if (WARN_ON(ctx->contended)) in drm_modeset_drop_locks() 296 if (WARN_ON(ctx->contended)) in modeset_lock() 327 ctx->contended = lock; in modeset_lock() 348 struct drm_modeset_lock *contended = ctx->contended; in drm_modeset_backoff() local 350 ctx->contended = NULL; in drm_modeset_backoff() 353 if (WARN_ON(!contended)) in drm_modeset_backoff() 358 return modeset_lock(contended, ctx, ctx->interruptible, true); in drm_modeset_backoff()
|
D | drm_gem.c | 1204 int contended = -1; in drm_gem_lock_reservations() local 1210 if (contended != -1) { in drm_gem_lock_reservations() 1211 struct drm_gem_object *obj = objs[contended]; in drm_gem_lock_reservations() 1222 if (i == contended) in drm_gem_lock_reservations() 1233 if (contended != -1 && contended >= i) in drm_gem_lock_reservations() 1234 dma_resv_unlock(objs[contended]->resv); in drm_gem_lock_reservations() 1237 contended = i; in drm_gem_lock_reservations()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-lock.txt | 67 Sorting key. Possible values: acquired (default), contended, 73 customize that using this. Possible values: acquired, contended, 84 $ perf lock report -t -F acquired,contended,avg_wait 86 Name acquired contended avg wait (ns) 123 Sorting key. Possible values: contended, wait_total (default), 130 contended, wait_total, wait_max, wait_min, avg_wait.
|
/linux-6.1.9/Documentation/filesystems/ |
D | directory-locking.rst | 92 consider the set of contended locks. First of all, filesystem lock is 93 not contended, since any process blocked on it is not holding any locks. 99 non-directory objects are not included in the set of contended locks. 104 Any contended object is either held by cross-directory rename or 105 has a child that is also contended. Indeed, suppose that it is held by 110 Otherwise the set of contended objects would be infinite - each of them 111 would have a contended child and we had assumed that no object is its 117 would again have an infinite set of contended objects). But that
|
/linux-6.1.9/kernel/locking/ |
D | test-ww_mutex.c | 431 int contended = -1; in stress_inorder_work() local 438 if (n == contended) in stress_inorder_work() 448 if (contended > n) in stress_inorder_work() 449 ww_mutex_unlock(&locks[order[contended]]); in stress_inorder_work() 450 contended = n; in stress_inorder_work() 455 ww_mutex_lock_slow(&locks[order[contended]], &ctx); in stress_inorder_work()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 124 int contended, slow_locked = -1, i, ret = 0; in submit_lock_objects() local 133 contended = i; in submit_lock_objects() 160 obj = &submit->bos[contended].obj->base; in submit_lock_objects() 165 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects() 166 slow_locked = contended; in submit_lock_objects()
|
/linux-6.1.9/security/keys/ |
D | gc.c | 260 goto contended; in key_garbage_collector() 263 contended: in key_garbage_collector()
|
/linux-6.1.9/include/drm/ |
D | drm_modeset_lock.h | 55 struct drm_modeset_lock *contended; member
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 262 int contended, slow_locked = -1, i, ret = 0; in submit_lock_objects() local 271 contended = i; in submit_lock_objects() 300 struct msm_gem_object *msm_obj = submit->bos[contended].obj; in submit_lock_objects() 305 submit->bos[contended].flags |= BO_LOCKED; in submit_lock_objects() 306 slow_locked = contended; in submit_lock_objects()
|
/linux-6.1.9/mm/ |
D | compaction.c | 495 if (cc->mode == MIGRATE_ASYNC && !cc->contended) { in compact_lock_irqsave() 499 cc->contended = true; in compact_lock_irqsave() 527 cc->contended = true; in compact_unlock_should_abort() 868 cc->contended = true; in isolate_migratepages_block() 1110 !cc->rescan && !cc->contended) { in isolate_migratepages_block() 2151 if (cc->contended || fatal_signal_pending(current)) in __compact_finished()
|
D | rmap.c | 567 rwc->contended = true; in folio_lock_anon_vma_read() 939 return rwc.contended ? -1 : pra.referenced; in folio_referenced() 2403 rwc->contended = true; in rmap_walk_anon_lock() 2494 rwc->contended = true; in rmap_walk_file()
|
D | internal.h | 424 bool contended; /* Signal lock contention */ member
|
/linux-6.1.9/Documentation/arm/ |
D | vlocks.rst | 85 * vlocks are not intended to be fair. In the contended case, it is the 148 reducing bus contention in contended cases.
|
/linux-6.1.9/include/linux/ |
D | rmap.h | 449 bool contended; member
|
/linux-6.1.9/arch/arm/common/ |
D | mcpm_head.S | 166 @ In the contended case, non-first men wait here for cluster setup
|
/linux-6.1.9/Documentation/locking/ |
D | lockstat.rst | 147 contended points (the lock holder). It is possible that the max
|
D | futex-requeue-pi.rst | 100 of the waiter and to enqueue the waiter on a contended rt_mutex.
|
D | mutex-design.rst | 43 contended it goes to the next possible path.
|
/linux-6.1.9/arch/x86/kernel/ |
D | hpet.c | 813 goto contended; in read_hpet() 828 contended: in read_hpet()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 194 ww->contended = obj; in __i915_gem_object_lock()
|
/linux-6.1.9/Documentation/accounting/ |
D | psi.rst | 10 When CPU, memory or IO devices are contended, workloads experience
|
/linux-6.1.9/tools/perf/ |
D | builtin-lock.c | 276 DEF_KEY_LOCK(contended, "contended", nr_contended, 10), 287 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
|