Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.h239 #define MTREE_INIT_EXT(name, __flags, __lock) { \ argument
240 .ma_external_lock = &(__lock).dep_map, \
245 #define MTREE_INIT_EXT(name, __flags, __lock) MTREE_INIT(name, __flags) argument
/linux-6.1.9/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.1.9/drivers/md/
Ddm-bio-prison-v2.c225 static int __lock(struct dm_bio_prison_v2 *prison, in __lock() function
265 r = __lock(prison, key, lock_level, cell_prealloc, cell_result); in dm_cell_lock_v2()
/linux-6.1.9/kernel/sched/
Dsched.h956 raw_spinlock_t __lock; member
1222 return &rq->core->__lock; in rq_lockp()
1224 return &rq->__lock; in rq_lockp()
1230 return &rq->core->__lock; in __rq_lockp()
1232 return &rq->__lock; in __rq_lockp()
1317 return &rq->__lock; in rq_lockp()
1322 return &rq->__lock; in __rq_lockp()
Dcore.c318 raw_spin_lock_nested(&cpu_rq(t)->__lock, i++); in sched_core_lock()
327 raw_spin_unlock(&cpu_rq(t)->__lock); in sched_core_unlock()
537 raw_spin_lock_nested(&rq->__lock, subclass); in raw_spin_rq_lock_nested()
563 ret = raw_spin_trylock(&rq->__lock); in raw_spin_rq_trylock()
9729 raw_spin_lock_init(&rq->__lock); in sched_init()
/linux-6.1.9/tools/memory-model/
Dlinux-kernel.def40 spin_lock(X) { __lock(X); }
/linux-6.1.9/sound/core/seq/
Dseq_clientmgr.c116 goto __lock; in snd_seq_client_use_ptr()
153 goto __lock; in snd_seq_client_use_ptr()
159 __lock: in snd_seq_client_use_ptr()
/linux-6.1.9/kernel/locking/
Dlockdep.c135 static arch_spinlock_t __lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; variable
143 arch_spin_lock(&__lock); in lockdep_lock()
155 arch_spin_unlock(&__lock); in lockdep_unlock()