Lines Matching refs:rwbase
1442 init_rwbase_rt(&(sem)->rwbase); in __init_rwsem()
1453 rwbase_read_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_read()
1458 return rwbase_read_lock(&sem->rwbase, TASK_INTERRUPTIBLE); in __down_read_interruptible()
1463 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1468 return rwbase_read_trylock(&sem->rwbase); in __down_read_trylock()
1473 rwbase_read_unlock(&sem->rwbase, TASK_NORMAL); in __up_read()
1478 rwbase_write_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_write()
1483 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
1488 return rwbase_write_trylock(&sem->rwbase); in __down_write_trylock()
1493 rwbase_write_unlock(&sem->rwbase); in __up_write()
1498 rwbase_write_downgrade(&sem->rwbase); in __downgrade_write()
1511 int count = atomic_read(&sem->rwbase.readers); in is_rwsem_reader_owned()