Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/locking/
Dlocktorture.c788 static struct percpu_rw_semaphore pcpu_rwsem; variable
792 BUG_ON(percpu_init_rwsem(&pcpu_rwsem)); in torture_percpu_rwsem_init()
797 percpu_free_rwsem(&pcpu_rwsem); in torture_percpu_rwsem_exit()
801 __acquires(pcpu_rwsem) in torture_percpu_rwsem_down_write()
803 percpu_down_write(&pcpu_rwsem); in torture_percpu_rwsem_down_write()
808 __releases(pcpu_rwsem) in torture_percpu_rwsem_up_write()
810 percpu_up_write(&pcpu_rwsem); in torture_percpu_rwsem_up_write()
814 __acquires(pcpu_rwsem) in torture_percpu_rwsem_down_read()
816 percpu_down_read(&pcpu_rwsem); in torture_percpu_rwsem_down_read()
821 __releases(pcpu_rwsem) in torture_percpu_rwsem_up_read()
[all …]