Home
last modified time | relevance | path

Searched refs:__lock (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/Documentation/locking/
Dfutex-requeue-pi.rst29 lock(cond->__data.__lock);
32 unlock(cond->__data.__lock);
34 lock(cond->__data.__lock);
36 unlock(cond->__data.__lock);
42 lock(cond->__data.__lock);
43 unlock(cond->__data.__lock);
63 lock(cond->__data.__lock);
66 unlock(cond->__data.__lock);
68 lock(cond->__data.__lock);
70 unlock(cond->__data.__lock);
[all …]
/linux-6.6.21/include/linux/
Dlocal_lock_internal.h116 #define __local_lock(__lock) \ argument
119 spin_lock(this_cpu_ptr((__lock))); \
131 #define __local_unlock(__lock) \ argument
133 spin_unlock(this_cpu_ptr((__lock))); \
Dmaple_tree.h246 #define MTREE_INIT_EXT(name, __flags, __lock) { \ argument
247 .ma_external_lock = &(__lock).dep_map, \
252 #define MTREE_INIT_EXT(name, __flags, __lock) MTREE_INIT(name, __flags) argument
/linux-6.6.21/drivers/mfd/
Dsta2x11-mfd.c147 static void sta2x11_regmap_lock(void *__lock) in sta2x11_regmap_lock() argument
149 spinlock_t *lock = __lock; in sta2x11_regmap_lock()
153 static void sta2x11_regmap_unlock(void *__lock) in sta2x11_regmap_unlock() argument
155 spinlock_t *lock = __lock; in sta2x11_regmap_unlock()
160 static void sta2x11_regmap_nolock(void *__lock) in sta2x11_regmap_nolock() argument
/linux-6.6.21/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c426 raw_spinlock_t __lock; member
435 if (bpf_core_field_exists(struct rq___new, __lock)) in BPF_PROG()
436 lock_off = offsetof(struct rq___new, __lock); in BPF_PROG()
/linux-6.6.21/drivers/md/
Ddm-bio-prison-v2.c226 static int __lock(struct dm_bio_prison_v2 *prison, in __lock() function
266 r = __lock(prison, key, lock_level, cell_prealloc, cell_result); in dm_cell_lock_v2()
/linux-6.6.21/kernel/sched/
Dsched.h964 raw_spinlock_t __lock; member
1238 return &rq->core->__lock; in rq_lockp()
1240 return &rq->__lock; in rq_lockp()
1246 return &rq->core->__lock; in __rq_lockp()
1248 return &rq->__lock; in __rq_lockp()
1335 return &rq->__lock; in rq_lockp()
1340 return &rq->__lock; in __rq_lockp()
Dcore.c339 raw_spin_lock_nested(&cpu_rq(t)->__lock, i++); in sched_core_lock()
348 raw_spin_unlock(&cpu_rq(t)->__lock); in sched_core_unlock()
558 raw_spin_lock_nested(&rq->__lock, subclass); in raw_spin_rq_lock_nested()
584 ret = raw_spin_trylock(&rq->__lock); in raw_spin_rq_trylock()
9980 raw_spin_lock_init(&rq->__lock); in sched_init()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def41 spin_lock(X) { __lock(X); }
/linux-6.6.21/sound/core/seq/
Dseq_clientmgr.c122 goto __lock; in snd_seq_client_use_ptr()
159 goto __lock; in snd_seq_client_use_ptr()
165 __lock: in snd_seq_client_use_ptr()
/linux-6.6.21/kernel/locking/
Dlockdep.c136 static arch_spinlock_t __lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; variable
144 arch_spin_lock(&__lock); in lockdep_lock()
156 arch_spin_unlock(&__lock); in lockdep_unlock()