Searched refs:percpu_rw_semaphore (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/linux/
H A Dpercpu-rwsem.h10 struct percpu_rw_semaphore { struct
18 extern void percpu_down_read(struct percpu_rw_semaphore *);
19 extern void percpu_up_read(struct percpu_rw_semaphore *);
21 extern void percpu_down_write(struct percpu_rw_semaphore *);
22 extern void percpu_up_write(struct percpu_rw_semaphore *);
24 extern int __percpu_init_rwsem(struct percpu_rw_semaphore *,
26 extern void percpu_free_rwsem(struct percpu_rw_semaphore *);
/linux-4.1.27/kernel/locking/
H A Dpercpu-rwsem.c11 int __percpu_init_rwsem(struct percpu_rw_semaphore *brw, __percpu_init_rwsem()
18 /* ->rw_sem represents the whole percpu_rw_semaphore for lockdep */ __percpu_init_rwsem()
26 void percpu_free_rwsem(struct percpu_rw_semaphore *brw) percpu_free_rwsem()
55 static bool update_fast_ctr(struct percpu_rw_semaphore *brw, unsigned int val) update_fast_ctr()
77 void percpu_down_read(struct percpu_rw_semaphore *brw) percpu_down_read()
91 void percpu_up_read(struct percpu_rw_semaphore *brw) percpu_up_read()
103 static int clear_fast_ctr(struct percpu_rw_semaphore *brw) clear_fast_ctr()
127 void percpu_down_write(struct percpu_rw_semaphore *brw) percpu_down_write()
154 void percpu_up_write(struct percpu_rw_semaphore *brw) percpu_up_write()
/linux-4.1.27/kernel/events/
H A Duprobes.c60 static struct percpu_rw_semaphore dup_mmap_sem;

Completed in 386 milliseconds