Home
last modified time | relevance | path

Searched refs:rwlock (Results 1 – 25 of 2897) sorted by relevance

12345678910>>...116

/linux/include/linux/
A Drwlock_rt.h36 rt_read_lock(rwlock); in read_lock()
42 rt_read_lock(rwlock); in read_lock_bh()
47 rt_read_lock(rwlock); in read_lock_irq()
61 rt_read_unlock(rwlock); in read_unlock()
66 rt_read_unlock(rwlock); in read_unlock_bh()
72 rt_read_unlock(rwlock); in read_unlock_irq()
78 rt_read_unlock(rwlock); in read_unlock_irqrestore()
83 rt_write_lock(rwlock); in write_lock()
89 rt_write_lock(rwlock); in write_lock_bh()
94 rt_write_lock(rwlock); in write_lock_irq()
[all …]
A Drwlock.h39 # define do_raw_read_lock(rwlock) do {__acquire(lock); arch_read_lock(&(rwlock)->raw_lock); } while… argument
40 # define do_raw_read_trylock(rwlock) arch_read_trylock(&(rwlock)->raw_lock) argument
41 # define do_raw_read_unlock(rwlock) do {arch_read_unlock(&(rwlock)->raw_lock); __release(lock); } w… argument
42 # define do_raw_write_lock(rwlock) do {__acquire(lock); arch_write_lock(&(rwlock)->raw_lock); } whi… argument
43 # define do_raw_write_trylock(rwlock) arch_write_trylock(&(rwlock)->raw_lock) argument
44 # define do_raw_write_unlock(rwlock) do {arch_write_unlock(&(rwlock)->raw_lock); __release(lock); }… argument
A Dseqlock.h185 #define seqcount_rwlock_init(s, lock) seqcount_LOCKNAME_init(s, lock, rwlock)
278 SEQCOUNT_LOCKNAME(rwlock, rwlock_t, __SEQ_RT, s->lock, read, read_lock(s->l…
306 __seqprop_case((s), rwlock, prop), \
/linux/kernel/locking/
A Dspinlock_rt.c194 int __sched rt_read_trylock(rwlock_t *rwlock) in rt_read_trylock() argument
198 ret = rwbase_read_trylock(&rwlock->rwbase); in rt_read_trylock()
208 int __sched rt_write_trylock(rwlock_t *rwlock) in rt_write_trylock() argument
212 ret = rwbase_write_trylock(&rwlock->rwbase); in rt_write_trylock()
222 void __sched rt_read_lock(rwlock_t *rwlock) in rt_read_lock() argument
232 void __sched rt_write_lock(rwlock_t *rwlock) in rt_write_lock() argument
242 void __sched rt_read_unlock(rwlock_t *rwlock) in rt_read_unlock() argument
244 rwlock_release(&rwlock->dep_map, _RET_IP_); in rt_read_unlock()
253 rwlock_release(&rwlock->dep_map, _RET_IP_); in rt_write_unlock()
256 rwbase_write_unlock(&rwlock->rwbase); in rt_write_unlock()
[all …]
A Dspinlock.c129 BUILD_LOCK_OPS(read, rwlock);
130 BUILD_LOCK_OPS(write, rwlock);
/linux/drivers/infiniband/core/
A Dcache.c118 rwlock_t rwlock; member
246 write_lock_irq(&table->rwlock); in free_gid_entry_locked()
257 write_unlock_irq(&table->rwlock); in free_gid_entry_locked()
331 write_lock_irq(&table->rwlock); in store_gid_entry()
333 write_unlock_irq(&table->rwlock); in store_gid_entry()
393 write_lock_irq(&table->rwlock); in del_gid()
401 write_unlock_irq(&table->rwlock); in del_gid()
704 read_lock_irqsave(&table->rwlock, flags); in rdma_find_gid_by_port()
752 read_lock_irqsave(&table->rwlock, flags); in rdma_find_gid_by_filter()
786 rwlock_init(&table->rwlock); in alloc_gid_table()
[all …]
/linux/arch/arc/include/asm/
A Dspinlock.h101 : [rwlock] "r" (&(rw->counter)), in arch_read_lock()
125 : [rwlock] "r" (&(rw->counter)), in arch_read_trylock()
158 : [rwlock] "r" (&(rw->counter)), in arch_write_lock()
183 : [rwlock] "r" (&(rw->counter)), in arch_write_trylock()
209 : [rwlock] "r" (&(rw->counter)) in arch_read_unlock()
/linux/kernel/trace/
A Dtrace_uprobe.c259 rwlock_init(&filter->rwlock); in NOKPROBE_SYMBOL()
1231 write_lock(&filter->rwlock); in trace_uprobe_filter_remove()
1241 write_unlock(&filter->rwlock); in trace_uprobe_filter_remove()
1252 write_lock(&filter->rwlock); in trace_uprobe_filter_add()
1270 write_unlock(&filter->rwlock); in trace_uprobe_filter_add()
1337 read_lock(&filter->rwlock); in uprobe_perf_filter()
1339 read_unlock(&filter->rwlock); in uprobe_perf_filter()
A Dtrace_probe.h228 rwlock_t rwlock; member
/linux/Documentation/locking/
A Dlocktorture.rst59 read/write lock() and unlock() rwlock pairs.
63 rwlock pairs.
/linux/Documentation/networking/
A Dnetdevices.rst255 Synchronization: rtnl_lock() semaphore, dev_base_lock rwlock, or RCU.
256 Context: atomic (can't sleep under rwlock or RCU)
/linux/Documentation/virt/kvm/
A Dlocking.rst34 - kvm->arch.mmu_lock is an rwlock. kvm->arch.tdp_mmu_pages_lock and
/linux/lib/
A Dlocking-selftest.c150 init_class_##class(spinlock_t *lock, rwlock_t *rwlock, \
154 rwlock_init(rwlock); \
A D.dec_and_lock.o.cmd386 include/linux/rwlock.h \
A D.refcount.o.cmd392 include/linux/rwlock.h \
A D.debug_locks.o.cmd389 include/linux/rwlock.h \
A D.lockref.o.cmd388 include/linux/rwlock.h \
/linux/drivers/tty/vt/
A D.defkeymap.o.cmd389 include/linux/rwlock.h \
/linux/drivers/soc/qcom/
A D.kryo-l2-accessors.o.cmd386 include/linux/rwlock.h \
/linux/certs/
A D.common.o.cmd411 include/linux/rwlock.h \
/linux/kernel/power/
A D.poweroff.o.cmd427 include/linux/rwlock.h \
/linux/drivers/video/
A D.display_timing.o.cmd420 include/linux/rwlock.h \
/linux/crypto/
A D.memneq.o.cmd425 include/linux/rwlock.h \
/linux/crypto/asymmetric_keys/
A D.pkcs7_trust.o.cmd420 include/linux/rwlock.h \
/linux/drivers/base/firmware_loader/builtin/
A D.main.o.cmd411 include/linux/rwlock.h \

Completed in 39 milliseconds

12345678910>>...116