/kernel/linux/linux-5.10/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_read_lock_bh(rwlock_t *lock) __acquires(lock); 21 void __lockfunc _raw_write_lock_bh(rwlock_t *lock) __acquires(lock); 22 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) __acquires(lock); 23 void __lockfunc _raw_write_lock_irq(rwlock_t *lock) __acquires(lock); 24 unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock) 26 unsigned long __lockfunc _raw_write_lock_irqsave(rwlock_t *lock) 28 int __lockfunc _raw_read_trylock(rwlock_t *lock); 29 int __lockfunc _raw_write_trylock(rwlock_t *lock); [all …]
|
D | rwlock_types.h | 20 } rwlock_t; typedef 36 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \ 43 (rwlock_t) { .raw_lock = __ARCH_RW_LOCK_UNLOCKED, \ 47 #define DEFINE_RWLOCK(x) rwlock_t x = __RW_LOCK_UNLOCKED(x)
|
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); 34 extern int do_raw_read_trylock(rwlock_t *lock); 35 extern void do_raw_read_unlock(rwlock_t *lock) __releases(lock); 36 extern void do_raw_write_lock(rwlock_t *lock) __acquires(lock); 38 extern int do_raw_write_trylock(rwlock_t *lock); 39 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;
|
D | memcg_policy.h | 18 extern rwlock_t score_list_lock;
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | spinlock.c | 213 int __lockfunc _raw_read_trylock(rwlock_t *lock) in _raw_read_trylock() 221 void __lockfunc _raw_read_lock(rwlock_t *lock) in _raw_read_lock() 229 unsigned long __lockfunc _raw_read_lock_irqsave(rwlock_t *lock) in _raw_read_lock_irqsave() 237 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) in _raw_read_lock_irq() 245 void __lockfunc _raw_read_lock_bh(rwlock_t *lock) in _raw_read_lock_bh() 253 void __lockfunc _raw_read_unlock(rwlock_t *lock) in _raw_read_unlock() 261 void __lockfunc _raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) in _raw_read_unlock_irqrestore() 269 void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) in _raw_read_unlock_irq() 277 void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) in _raw_read_unlock_bh() 285 int __lockfunc _raw_write_trylock(rwlock_t *lock) in _raw_write_trylock() [all …]
|
D | spinlock_debug.c | 34 void __rwlock_init(rwlock_t *lock, const char *name, in __rwlock_init() 142 static void rwlock_bug(rwlock_t *lock, const char *msg) in rwlock_bug() 155 void do_raw_read_lock(rwlock_t *lock) in do_raw_read_lock() 161 int do_raw_read_trylock(rwlock_t *lock) in do_raw_read_trylock() 174 void do_raw_read_unlock(rwlock_t *lock) in do_raw_read_unlock() 180 static inline void debug_write_lock_before(rwlock_t *lock) in debug_write_lock_before() 188 static inline void debug_write_lock_after(rwlock_t *lock) in debug_write_lock_after() 194 static inline void debug_write_unlock(rwlock_t *lock) in debug_write_unlock() 204 void do_raw_write_lock(rwlock_t *lock) in do_raw_write_lock() 211 int do_raw_write_trylock(rwlock_t *lock) in do_raw_write_trylock() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
D | zfcp_def.h | 166 rwlock_t port_list_lock; /* port list lock */ 170 rwlock_t abort_lock; /* Protects against SCSI 181 rwlock_t erp_lock; 212 rwlock_t unit_list_lock; /* unit list lock */
|
/kernel/linux/linux-5.10/include/net/ |
D | x25.h | 317 extern rwlock_t x25_list_lock; 319 extern rwlock_t x25_route_list_lock; 321 extern rwlock_t x25_forward_list_lock; 323 extern rwlock_t x25_neigh_list_lock;
|
D | if_inet6.h | 94 rwlock_t sflock; 187 rwlock_t lock;
|
/kernel/linux/linux-5.10/net/atm/ |
D | mpc.h | 24 rwlock_t ingress_lock; 28 rwlock_t egress_lock;
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | locktypes.rst | 50 - rwlock_t 74 - rwlock_t 110 and rwlock_t to be implemented via RT-mutexes. 299 rwlock_t chapter 302 rwlock_t is a multiple readers and single writer lock mechanism. 304 Non-PREEMPT_RT kernels implement rwlock_t as a spinning lock and the 308 rwlock_t and PREEMPT_RT 311 PREEMPT_RT kernels map rwlock_t to a separate rt_mutex-based 314 - All the spinlock_t changes also apply to rwlock_t. 316 - Because an rwlock_t writer cannot grant its priority to multiple [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_pnet.h | 32 rwlock_t lock; 38 rwlock_t lock;
|
/kernel/linux/linux-5.10/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() 477 test_kernel_ptr(lock_rwlock_ptr, sizeof(rwlock_t)) || in test_lockup_init() 487 offsetof(rwlock_t, magic), in test_lockup_init()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_vma_manager.h | 53 rwlock_t vm_lock; 60 rwlock_t vm_lock;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | smt.h | 68 rwlock_t lock;
|
D | clip_tbl.h | 28 rwlock_t lock;
|
/kernel/linux/linux-5.10/include/sound/ |
D | seq_virmidi.h | 49 rwlock_t filelist_lock;
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | dtl.h | 38 extern rwlock_t dtl_access_lock;
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | ar-internal.h | 69 rwlock_t call_lock; /* Lock for ->calls */ 75 rwlock_t conn_lock; /* Lock for ->conn_proc_list, ->service_conns */ 139 rwlock_t recvmsg_lock; /* Lock for recvmsg_q */ 145 rwlock_t call_lock; /* lock for calls */ 279 rwlock_t services_lock; /* lock for services list */ 590 rwlock_t state_lock; /* lock for state transition */
|
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
D | nodemanager.h | 46 rwlock_t cl_nodes_lock;
|
/kernel/linux/linux-5.10/fs/afs/ |
D | internal.h | 304 rwlock_t sysnames_lock; 390 rwlock_t vl_servers_lock; /* Lock on vl_servers */ 408 rwlock_t lock; /* Lock on addresses */ 451 rwlock_t lock; 521 rwlock_t fs_lock; /* access lock */ 556 rwlock_t lock; 586 rwlock_t servers_lock; /* Lock for ->servers */ 590 rwlock_t cb_v_break_lock;
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_clientmgr.h | 47 rwlock_t ports_lock;
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.h | 30 rwlock_t susp_res_lock;
|