Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Dlocktorture.c749 static struct percpu_rw_semaphore pcpu_rwsem; variable
753 BUG_ON(percpu_init_rwsem(&pcpu_rwsem)); in torture_percpu_rwsem_init()
758 percpu_free_rwsem(&pcpu_rwsem); in torture_percpu_rwsem_exit()
762 __acquires(pcpu_rwsem) in torture_percpu_rwsem_down_write()
764 percpu_down_write(&pcpu_rwsem); in torture_percpu_rwsem_down_write()
769 __releases(pcpu_rwsem) in torture_percpu_rwsem_up_write()
771 percpu_up_write(&pcpu_rwsem); in torture_percpu_rwsem_up_write()
775 __acquires(pcpu_rwsem) in torture_percpu_rwsem_down_read()
777 percpu_down_read(&pcpu_rwsem); in torture_percpu_rwsem_down_read()
782 __releases(pcpu_rwsem) in torture_percpu_rwsem_up_read()
[all …]