/Linux-v6.6/include/linux/ |
D | rwlock_api_smp.h | 18 void __lockfunc _raw_read_lock(rwlock_t *lock) __acquires(lock); 19 void __lockfunc _raw_write_lock(rwlock_t *lock) __acquires(lock); 20 void __lockfunc _raw_write_lock_nested(rwlock_t *lock, int subclass) __acquires(lock); 21 void __lockfunc _raw_read_lock_bh(rwlock_t *lock) __acquires(lock); 22 void __lockfunc _raw_write_lock_bh(rwlock_t *lock) __acquires(lock); 23 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) __acquires(lock); 24 void __lockfunc _raw_write_lock_irq(rwlock_t *lock) __acquires(lock); 25 unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock) 27 unsigned long __lockfunc _raw_write_lock_irqsave(rwlock_t *lock) 29 int __lockfunc _raw_read_trylock(rwlock_t *lock); [all …]
|
D | rwlock_rt.h | 10 extern void __rt_rwlock_init(rwlock_t *rwlock, const char *name, 13 static inline void __rt_rwlock_init(rwlock_t *rwlock, char *name, in __rt_rwlock_init() 27 extern void rt_read_lock(rwlock_t *rwlock); 28 extern int rt_read_trylock(rwlock_t *rwlock); 29 extern void rt_read_unlock(rwlock_t *rwlock); 30 extern void rt_write_lock(rwlock_t *rwlock); 31 extern void rt_write_lock_nested(rwlock_t *rwlock, int subclass); 32 extern int rt_write_trylock(rwlock_t *rwlock); 33 extern void rt_write_unlock(rwlock_t *rwlock); 35 static __always_inline void read_lock(rwlock_t *rwlock) in read_lock() [all …]
|
D | rwlock_types.h | 34 } rwlock_t; typedef 40 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \ 47 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \ 51 #define DEFINE_RWLOCK(x) rwlock_t x = __RW_LOCK_UNLOCKED(x) 63 } rwlock_t; typedef 74 rwlock_t name = __RW_LOCK_UNLOCKED(name)
|
D | rwlock.h | 18 extern void __rwlock_init(rwlock_t *lock, const char *name, 32 extern void do_raw_read_lock(rwlock_t *lock) __acquires(lock); 33 extern int do_raw_read_trylock(rwlock_t *lock); 34 extern void do_raw_read_unlock(rwlock_t *lock) __releases(lock); 35 extern void do_raw_write_lock(rwlock_t *lock) __acquires(lock); 36 extern int do_raw_write_trylock(rwlock_t *lock); 37 extern void do_raw_write_unlock(rwlock_t *lock) __releases(lock);
|
D | hp_sdc.h | 262 rwlock_t ibf_lock; 263 rwlock_t lock; /* user/tasklet lock */ 264 rwlock_t rtq_lock; /* isr/tasklet lock */ 265 rwlock_t hook_lock; /* isr/user lock for handler add/del */
|
D | atalk.h | 138 extern rwlock_t atalk_sockets_lock; 141 extern rwlock_t atalk_routes_lock; 144 extern rwlock_t atalk_interfaces_lock;
|
/Linux-v6.6/kernel/locking/ |
D | spinlock.c | 218 noinline int __lockfunc _raw_read_trylock(rwlock_t *lock) in _raw_read_trylock() 226 noinline void __lockfunc _raw_read_lock(rwlock_t *lock) in _raw_read_lock() 234 noinline unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock) in _raw_read_lock_irqsave() 242 noinline void __lockfunc _raw_read_lock_irq(rwlock_t *lock) in _raw_read_lock_irq() 250 noinline void __lockfunc _raw_read_lock_bh(rwlock_t *lock) in _raw_read_lock_bh() 258 noinline void __lockfunc _raw_read_unlock(rwlock_t *lock) in _raw_read_unlock() 266 noinline void __lockfunc _raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) in _raw_read_unlock_irqrestore() 274 noinline void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) in _raw_read_unlock_irq() 282 noinline void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) in _raw_read_unlock_bh() 290 noinline int __lockfunc _raw_write_trylock(rwlock_t *lock) in _raw_write_trylock() [all …]
|
D | spinlock_debug.c | 35 void __rwlock_init(rwlock_t *lock, const char *name, in __rwlock_init() 145 static void rwlock_bug(rwlock_t *lock, const char *msg) in rwlock_bug() 158 void do_raw_read_lock(rwlock_t *lock) in do_raw_read_lock() 164 int do_raw_read_trylock(rwlock_t *lock) in do_raw_read_trylock() 177 void do_raw_read_unlock(rwlock_t *lock) in do_raw_read_unlock() 183 static inline void debug_write_lock_before(rwlock_t *lock) in debug_write_lock_before() 191 static inline void debug_write_lock_after(rwlock_t *lock) in debug_write_lock_after() 197 static inline void debug_write_unlock(rwlock_t *lock) in debug_write_unlock() 207 void do_raw_write_lock(rwlock_t *lock) in do_raw_write_lock() 214 int do_raw_write_trylock(rwlock_t *lock) in do_raw_write_trylock() [all …]
|
D | spinlock_rt.c | 194 int __sched rt_read_trylock(rwlock_t *rwlock) in rt_read_trylock() 208 int __sched rt_write_trylock(rwlock_t *rwlock) in rt_write_trylock() 222 void __sched rt_read_lock(rwlock_t *rwlock) in rt_read_lock() 232 void __sched rt_write_lock(rwlock_t *rwlock) in rt_write_lock() 243 void __sched rt_write_lock_nested(rwlock_t *rwlock, int subclass) in rt_write_lock_nested() 254 void __sched rt_read_unlock(rwlock_t *rwlock) in rt_read_unlock() 263 void __sched rt_write_unlock(rwlock_t *rwlock) in rt_write_unlock() 273 void __rt_rwlock_init(rwlock_t *rwlock, const char *name, in __rt_rwlock_init()
|
/Linux-v6.6/drivers/s390/scsi/ |
D | zfcp_def.h | 165 rwlock_t port_list_lock; /* port list lock */ 169 rwlock_t abort_lock; /* Protects against SCSI 180 rwlock_t erp_lock; 212 rwlock_t unit_list_lock; /* unit list lock */
|
/Linux-v6.6/lib/ |
D | test_lockup.c | 225 read_lock((rwlock_t *)lock_rwlock_ptr); in test_lock() 227 write_lock((rwlock_t *)lock_rwlock_ptr); in test_lock() 250 read_unlock((rwlock_t *)lock_rwlock_ptr); in test_unlock() 252 write_unlock((rwlock_t *)lock_rwlock_ptr); in test_unlock() 482 test_kernel_ptr(lock_rwlock_ptr, sizeof(rwlock_t)) || in test_lockup_init() 493 offsetof(rwlock_t, rwbase.rtmutex.wait_lock.magic), in test_lockup_init() 507 offsetof(rwlock_t, magic), in test_lockup_init()
|
/Linux-v6.6/include/net/ |
D | x25.h | 314 extern rwlock_t x25_list_lock; 316 extern rwlock_t x25_route_list_lock; 318 extern rwlock_t x25_forward_list_lock; 320 extern rwlock_t x25_neigh_list_lock;
|
/Linux-v6.6/Documentation/locking/ |
D | locktypes.rst | 50 - rwlock_t 74 - rwlock_t 110 and rwlock_t to be implemented via RT-mutexes. 296 rwlock_t chapter 299 rwlock_t is a multiple readers and single writer lock mechanism. 301 Non-PREEMPT_RT kernels implement rwlock_t as a spinning lock and the 305 rwlock_t and PREEMPT_RT 308 PREEMPT_RT kernels map rwlock_t to a separate rt_mutex-based 311 - All the spinlock_t changes also apply to rwlock_t. 313 - Because an rwlock_t writer cannot grant its priority to multiple [all …]
|
/Linux-v6.6/net/atm/ |
D | mpc.h | 24 rwlock_t ingress_lock; 28 rwlock_t egress_lock;
|
/Linux-v6.6/Documentation/translations/zh_CN/locking/ |
D | spinlocks.rst | 65 rwlock_t xxx_lock = __RW_LOCK_UNLOCKED(xxx_lock); 137 rwlock_t xxx_rw_lock;
|
/Linux-v6.6/include/drm/ |
D | drm_vma_manager.h | 53 rwlock_t vm_lock; 60 rwlock_t vm_lock;
|
/Linux-v6.6/fs/smb/server/ |
D | vfs_cache.h | 49 rwlock_t m_lock; 119 rwlock_t lock;
|
/Linux-v6.6/drivers/virt/acrn/ |
D | acrn_drv.h | 128 rwlock_t range_lock; 141 extern rwlock_t acrn_vm_list_lock;
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/ |
D | smt.h | 68 rwlock_t lock;
|
D | clip_tbl.h | 28 rwlock_t lock;
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | dtl.h | 38 extern rwlock_t dtl_access_lock;
|
/Linux-v6.6/include/sound/ |
D | seq_virmidi.h | 49 rwlock_t filelist_lock;
|
/Linux-v6.6/fs/afs/ |
D | internal.h | 308 rwlock_t sysnames_lock; 394 rwlock_t vl_servers_lock; /* Lock on vl_servers */ 412 rwlock_t lock; /* Lock on addresses */ 455 rwlock_t lock; 527 rwlock_t fs_lock; /* access lock */ 562 rwlock_t lock; 592 rwlock_t servers_lock; /* Lock for ->servers */ 596 rwlock_t cb_v_break_lock;
|
/Linux-v6.6/fs/ocfs2/cluster/ |
D | nodemanager.h | 44 rwlock_t cl_nodes_lock;
|
/Linux-v6.6/net/smc/ |
D | smc_pnet.h | 38 rwlock_t lock;
|