Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu-rwsem.h15 struct percpu_rw_semaphore { struct
27 struct percpu_rw_semaphore rw_sem; argument
39 is_static struct percpu_rw_semaphore name = { \
53 extern bool __percpu_down_read(struct percpu_rw_semaphore *, bool);
55 static inline void percpu_down_read(struct percpu_rw_semaphore *sem) in percpu_down_read()
82 static inline bool percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in percpu_down_read_trylock()
108 static inline void percpu_up_read(struct percpu_rw_semaphore *sem) in percpu_up_read()
136 extern void percpu_down_write(struct percpu_rw_semaphore *);
137 extern void percpu_up_write(struct percpu_rw_semaphore *);
139 extern int __percpu_init_rwsem(struct percpu_rw_semaphore *,
[all …]
H A Dcgroup-defs.h730 extern struct percpu_rw_semaphore cgroup_threadgroup_rwsem;
H A Dfs.h1447 struct percpu_rw_semaphore rw_sem[SB_FREEZE_LEVELS];
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dpercpu-rwsem.c28 int __percpu_init_rwsem(struct percpu_rw_semaphore *sem, in __percpu_init_rwsem()
47 void percpu_free_rwsem(struct percpu_rw_semaphore *sem) in percpu_free_rwsem()
62 static bool __percpu_down_read_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_read_trylock()
98 static inline bool __percpu_down_write_trylock(struct percpu_rw_semaphore *sem) in __percpu_down_write_trylock()
106 static bool __percpu_rwsem_trylock(struct percpu_rw_semaphore *sem, bool reader) in __percpu_rwsem_trylock()
138 struct percpu_rw_semaphore *sem = key; in percpu_rwsem_wake_function()
155 static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) in percpu_rwsem_wait()
181 bool __percpu_down_read(struct percpu_rw_semaphore *sem, bool try) in __percpu_down_read()
215 static bool readers_active_check(struct percpu_rw_semaphore *sem) in readers_active_check()
230 void percpu_down_write(struct percpu_rw_semaphore *sem) in percpu_down_write()
[all …]
H A Dlocktorture.c567 static struct percpu_rw_semaphore pcpu_rwsem;
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Dhci_uart.h104 struct percpu_rw_semaphore proto_lock; /* Stop work for proto close */
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dpercpu-rw-semaphore.rst18 The lock is declared with "struct percpu_rw_semaphore" type.
H A Dlocktypes.rst44 - percpu_rw_semaphore
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Dhci_uart.h75 struct percpu_rw_semaphore proto_lock; /* Stop work for proto close */
/OK3568_Linux_fs/kernel/Documentation/RCU/
H A Dchecklist.rst382 realtime latency. You should also consider percpu_rw_semaphore
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dext4.h1609 struct percpu_rw_semaphore s_writepages_rwsem;