Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dpercpu-rwsem.h12 struct percpu_rw_semaphore { struct
31 is_static struct percpu_rw_semaphore name = { \ argument
45 extern bool __percpu_down_read(struct percpu_rw_semaphore *, bool);
47 static inline void percpu_down_read(struct percpu_rw_semaphore *sem) in percpu_down_read()
97 static inline void percpu_up_read(struct percpu_rw_semaphore *sem) in percpu_up_read()
124 extern bool percpu_is_read_locked(struct percpu_rw_semaphore *);
125 extern void percpu_down_write(struct percpu_rw_semaphore *);
126 extern void percpu_up_write(struct percpu_rw_semaphore *);
133 extern int __percpu_init_rwsem(struct percpu_rw_semaphore *,
136 extern void percpu_free_rwsem(struct percpu_rw_semaphore *);
[all …]
A Dcgroup-defs.h740 extern struct percpu_rw_semaphore cgroup_threadgroup_rwsem;
A Dfs.h1133 struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS];
/linux-6.3-rc2/kernel/locking/
A Dpercpu-rwsem.c14 int __percpu_init_rwsem(struct percpu_rw_semaphore *sem, in __percpu_init_rwsem()
33 void percpu_free_rwsem(struct percpu_rw_semaphore *sem) in percpu_free_rwsem()
48 static bool __percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_read_trylock()
84 static inline bool __percpu_down_write_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_write_trylock()
124 struct percpu_rw_semaphore *sem = key; in percpu_rwsem_wake_function()
141 static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) in percpu_rwsem_wait()
167 bool __sched __percpu_down_read(struct percpu_rw_semaphore *sem, bool try) in __percpu_down_read()
195 bool percpu_is_read_locked(struct percpu_rw_semaphore *sem) in percpu_is_read_locked()
209 static bool readers_active_check(struct percpu_rw_semaphore *sem) in readers_active_check()
224 void __sched percpu_down_write(struct percpu_rw_semaphore *sem) in percpu_down_write()
[all …]
A Dlocktorture.c627 static struct percpu_rw_semaphore pcpu_rwsem;
/linux-6.3-rc2/Documentation/locking/
A Dpercpu-rw-semaphore.rst18 The lock is declared with "struct percpu_rw_semaphore" type.
A Dlocktypes.rst44 - percpu_rw_semaphore
/linux-6.3-rc2/drivers/bluetooth/
A Dhci_uart.h75 struct percpu_rw_semaphore proto_lock; /* Stop work for proto close */
/linux-6.3-rc2/Documentation/RCU/
A Dchecklist.rst432 realtime latency. You should also consider percpu_rw_semaphore
/linux-6.3-rc2/fs/ext4/
A Dext4.h1708 struct percpu_rw_semaphore s_writepages_rwsem;

Completed in 36 milliseconds