Home
last modified time | relevance | path

Searched refs:rwlock_t (Results 1 – 25 of 132) sorted by relevance

123456

/kernel/linux/linux-5.10/include/linux/
Drwlock_api_smp.h18 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 …]
Drwlock_types.h20 } 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)
Drwlock.h18 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);
Dhp_sdc.h262 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 */
Datalk.h138 extern rwlock_t atalk_sockets_lock;
141 extern rwlock_t atalk_routes_lock;
144 extern rwlock_t atalk_interfaces_lock;
Dmemcg_policy.h18 extern rwlock_t score_list_lock;
/kernel/linux/linux-5.10/kernel/locking/
Dspinlock.c213 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 …]
Dspinlock_debug.c34 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/
Dzfcp_def.h166 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/
Dx25.h317 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;
Dif_inet6.h94 rwlock_t sflock;
187 rwlock_t lock;
/kernel/linux/linux-5.10/net/atm/
Dmpc.h24 rwlock_t ingress_lock;
28 rwlock_t egress_lock;
/kernel/linux/linux-5.10/Documentation/locking/
Dlocktypes.rst50 - 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/
Dsmc_pnet.h32 rwlock_t lock;
38 rwlock_t lock;
/kernel/linux/linux-5.10/lib/
Dtest_lockup.c225 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/
Ddrm_vma_manager.h53 rwlock_t vm_lock;
60 rwlock_t vm_lock;
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsmt.h68 rwlock_t lock;
Dclip_tbl.h28 rwlock_t lock;
/kernel/linux/linux-5.10/include/sound/
Dseq_virmidi.h49 rwlock_t filelist_lock;
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Ddtl.h38 extern rwlock_t dtl_access_lock;
/kernel/linux/linux-5.10/net/rxrpc/
Dar-internal.h69 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/
Dnodemanager.h46 rwlock_t cl_nodes_lock;
/kernel/linux/linux-5.10/fs/afs/
Dinternal.h304 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/
Dseq_clientmgr.h47 rwlock_t ports_lock;
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.h30 rwlock_t susp_res_lock;

123456