Home
last modified time | relevance | path

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

/kernel/locking/
Dlocktorture.c612 static struct percpu_rw_semaphore pcpu_rwsem; variable
616 BUG_ON(percpu_init_rwsem(&pcpu_rwsem)); in torture_percpu_rwsem_init()
621 percpu_free_rwsem(&pcpu_rwsem); in torture_percpu_rwsem_exit()
625 __acquires(pcpu_rwsem) in torture_percpu_rwsem_down_write()
627 percpu_down_write(&pcpu_rwsem); in torture_percpu_rwsem_down_write()
632 __releases(pcpu_rwsem) in torture_percpu_rwsem_up_write()
634 percpu_up_write(&pcpu_rwsem); in torture_percpu_rwsem_up_write()
638 __acquires(pcpu_rwsem) in torture_percpu_rwsem_down_read()
640 percpu_down_read(&pcpu_rwsem); in torture_percpu_rwsem_down_read()
645 __releases(pcpu_rwsem) in torture_percpu_rwsem_up_read()
[all …]