Lines Matching refs:lock_rwsem_ptr
108 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()
293 (void *)lock_rwsem_ptr); in test_unlock()
484 test_kernel_ptr(lock_rwsem_ptr, sizeof(struct rw_semaphore))) in test_lockup_init()
498 test_magic(lock_rwsem_ptr, in test_lockup_init()
512 test_magic(lock_rwsem_ptr, in test_lockup_init()
548 lock_rwsem_ptr = (unsigned long)&test_inode->i_rwsem; in test_lockup_init()
551 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init()
554 lock_rwsem_ptr = (unsigned long)&test_inode->i_sb->s_umount; in test_lockup_init()