Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/i915/
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()
Di915_gem_ww.h13 struct drm_i915_gem_object *contended; member
/linux-6.1.9/arch/arm/include/asm/
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-6.1.9/drivers/gpu/drm/
Ddrm_modeset_lock.c276 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()
Ddrm_gem.c1204 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/
Dperf-lock.txt67 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/
Ddirectory-locking.rst92 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/
Dtest-ww_mutex.c431 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/
Detnaviv_gem_submit.c124 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/
Dgc.c260 goto contended; in key_garbage_collector()
263 contended: in key_garbage_collector()
/linux-6.1.9/include/drm/
Ddrm_modeset_lock.h55 struct drm_modeset_lock *contended; member
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_gem_submit.c262 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/
Dcompaction.c495 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()
Drmap.c567 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()
Dinternal.h424 bool contended; /* Signal lock contention */ member
/linux-6.1.9/Documentation/arm/
Dvlocks.rst85 * 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/
Drmap.h449 bool contended; member
/linux-6.1.9/arch/arm/common/
Dmcpm_head.S166 @ In the contended case, non-first men wait here for cluster setup
/linux-6.1.9/Documentation/locking/
Dlockstat.rst147 contended points (the lock holder). It is possible that the max
Dfutex-requeue-pi.rst100 of the waiter and to enqueue the waiter on a contended rt_mutex.
Dmutex-design.rst43 contended it goes to the next possible path.
/linux-6.1.9/arch/x86/kernel/
Dhpet.c813 goto contended; in read_hpet()
828 contended: in read_hpet()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.h194 ww->contended = obj; in __i915_gem_object_lock()
/linux-6.1.9/Documentation/accounting/
Dpsi.rst10 When CPU, memory or IO devices are contended, workloads experience
/linux-6.1.9/tools/perf/
Dbuiltin-lock.c276 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),
287 DEF_KEY_LOCK(contended, "contended", nr_contended, 10),

12