Home
last modified time | relevance | path

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

/openbmc/linux/lib/
H A Dtest_lockup.c120 static unsigned long lock_rwlock_ptr; variable
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()
255 (void *)lock_rwlock_ptr); in test_unlock()
492 test_magic(lock_rwlock_ptr, in test_lockup_init()
[all …]