Home
last modified time | relevance | path

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

/linux-6.12.1/lib/
Dtest_lockup.c120 static unsigned long lock_rwlock_ptr; variable
121 module_param_unsafe(lock_rwlock_ptr, ulong, 0400);
122 MODULE_PARM_DESC(lock_rwlock_ptr, "lock rwlock at address");
220 if (lock_rwlock_ptr && master) { in test_lock()
223 (void *)lock_rwlock_ptr); in test_lock()
225 read_lock((rwlock_t *)lock_rwlock_ptr); in test_lock()
227 write_lock((rwlock_t *)lock_rwlock_ptr); in test_lock()
248 if (lock_rwlock_ptr && master) { in test_unlock()
250 read_unlock((rwlock_t *)lock_rwlock_ptr); in test_unlock()
252 write_unlock((rwlock_t *)lock_rwlock_ptr); in test_unlock()
[all …]