Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dtest_lockup.c108 static unsigned long lock_rwsem_ptr; variable
109 module_param_unsafe(lock_rwsem_ptr, ulong, 0400);
110 MODULE_PARM_DESC(lock_rwsem_ptr, "lock rw_semaphore at address");
182 if (lock_rwsem_ptr && master) { in test_lock()
185 (void *)lock_rwsem_ptr); in test_lock()
187 down_read((struct rw_semaphore *)lock_rwsem_ptr); in test_lock()
189 down_write((struct rw_semaphore *)lock_rwsem_ptr); in test_lock()
286 if (lock_rwsem_ptr && master) { in test_unlock()
288 up_read((struct rw_semaphore *)lock_rwsem_ptr); in test_unlock()
290 up_write((struct rw_semaphore *)lock_rwsem_ptr); in test_unlock()
[all …]