Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm/include/asm/
Dspinlock.h85 unsigned long contended, res; in arch_spin_trylock() local
96 : "=&r" (slock), "=&r" (contended), "=&r" (res) in arch_spin_trylock()
101 if (!contended) { in arch_spin_trylock()
162 unsigned long contended, res; in arch_write_trylock() local
171 : "=&r" (contended), "=&r" (res) in arch_write_trylock()
176 if (!contended) { in arch_write_trylock()
254 unsigned long contended, res; in arch_read_trylock() local
263 : "=&r" (contended), "=&r" (res) in arch_read_trylock()
269 if (contended < 0x80000000) { in arch_read_trylock()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_modeset_lock.c315 WARN_ON(ctx->contended); in drm_modeset_drop_locks()
333 WARN_ON(ctx->contended); in modeset_lock()
361 ctx->contended = lock; in modeset_lock()
370 struct drm_modeset_lock *contended = ctx->contended; in modeset_backoff() local
372 ctx->contended = NULL; in modeset_backoff()
374 if (WARN_ON(!contended)) in modeset_backoff()
379 return modeset_lock(contended, ctx, interruptible, true); in modeset_backoff()
/linux-4.1.27/mm/
Dcompaction.c321 cc->contended = COMPACT_CONTENDED_LOCK; in compact_trylock_irqsave()
355 cc->contended = COMPACT_CONTENDED_SCHED; in compact_unlock_should_abort()
361 cc->contended = COMPACT_CONTENDED_SCHED; in compact_unlock_should_abort()
384 cc->contended = COMPACT_CONTENDED_SCHED; in compact_should_abort()
977 if (cc->contended) in isolate_freepages()
1008 if (!cc->contended) in compaction_alloc()
1108 if (!low_pfn || cc->contended) { in isolate_migratepages()
1138 if (cc->contended || fatal_signal_pending(current)) in __compact_finished()
1439 gfp_t gfp_mask, enum migrate_mode mode, int *contended, in compact_zone_order() argument
1461 *contended = cc.contended; in compact_zone_order()
[all …]
Dinternal.h192 int contended; /* Signal need_sched() or lock member
/linux-4.1.27/Documentation/filesystems/
Ddirectory-locking74 consider the set of contended locks. First of all, filesystem lock is
75 not contended, since any process blocked on it is not holding any locks.
81 non-directory objects are not included in the set of contended locks.
86 Any contended object is either held by cross-directory rename or
87 has a child that is also contended. Indeed, suppose that it is held by
92 Otherwise the set of contended objects would be infinite - each of them
93 would have a contended child and we had assumed that no object is its
99 would again have an infinite set of contended objects). But that
Dpath-lookup.txt371 root), the less contended the dentry is likely to be. The closer we are to
/linux-4.1.27/include/linux/
Dcompaction.h42 enum migrate_mode mode, int *contended);
58 enum migrate_mode mode, int *contended) in try_to_compact_pages() argument
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_gem_submit.c141 int contended, slow_locked = -1, i, ret = 0; in submit_validate_objects() local
153 contended = i; in submit_validate_objects()
200 struct msm_gem_object *msm_obj = submit->bos[contended].obj; in submit_validate_objects()
205 submit->bos[contended].flags |= BO_LOCKED; in submit_validate_objects()
206 slow_locked = contended; in submit_validate_objects()
/linux-4.1.27/include/drm/
Ddrm_modeset_lock.h51 struct drm_modeset_lock *contended; member
/linux-4.1.27/security/keys/
Dgc.c259 goto contended; in key_garbage_collector()
262 contended: in key_garbage_collector()
/linux-4.1.27/tools/perf/Documentation/
Dperf-lock.txt50 Sorting key. Possible values: acquired (default), contended,
/linux-4.1.27/drivers/tty/
Dtty_ldsem.c330 lock_stat(sem, contended); in __ldsem_down_read_nested()
349 lock_stat(sem, contended); in __ldsem_down_write_nested()
/linux-4.1.27/Documentation/arm/
Dvlocks.txt84 * vlocks are not intended to be fair. In the contended case, it is the
147 reducing bus contention in contended cases.
/linux-4.1.27/arch/arm/common/
Dmcpm_head.S170 @ In the contended case, non-first men wait here for cluster setup
/linux-4.1.27/Documentation/locking/
Dlockstat.txt126 contended points (the lock holder). It is possible that the max
Dww-mutex-design.txt36 The older tasks waits until it can acquire the contended lock. The younger tasks
77 slowpath until the contended lock can be acquired).
/linux-4.1.27/Documentation/
Dfutex-requeue-pi.txt99 of the waiter and to enqueue the waiter on a contended rt_mutex.
Drobust-futexes.txt150 - with FUTEX_WAIT set [contended mutex]: 130 msecs
/linux-4.1.27/net/core/
Ddev.c2812 bool contended; in __dev_xmit_skb() local
2823 contended = qdisc_is_running(q); in __dev_xmit_skb()
2824 if (unlikely(contended)) in __dev_xmit_skb()
2842 if (unlikely(contended)) { in __dev_xmit_skb()
2844 contended = false; in __dev_xmit_skb()
2854 if (unlikely(contended)) { in __dev_xmit_skb()
2856 contended = false; in __dev_xmit_skb()
2862 if (unlikely(contended)) in __dev_xmit_skb()
/linux-4.1.27/tools/perf/
Dbuiltin-lock.c250 DEF_KEY_LOCK(contended, nr_contended),
/linux-4.1.27/Documentation/cgroups/
Dmemory.txt644 heavily contended for, memory is allocated based on the soft limit
/linux-4.1.27/lib/
DKconfig.debug1037 CONFIG_LOCK_STAT defines "contended" and "acquired" lock events.