Lines Matching refs:rwbase
1485 init_rwbase_rt(&(sem)->rwbase); in __init_rwsem()
1496 rwbase_read_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_read()
1501 return rwbase_read_lock(&sem->rwbase, TASK_INTERRUPTIBLE); in __down_read_interruptible()
1506 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1511 return rwbase_read_trylock(&sem->rwbase); in __down_read_trylock()
1516 rwbase_read_unlock(&sem->rwbase, TASK_NORMAL); in __up_read()
1521 rwbase_write_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_write()
1526 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
1531 return rwbase_write_trylock(&sem->rwbase); in __down_write_trylock()
1536 rwbase_write_unlock(&sem->rwbase); in __up_write()
1541 rwbase_write_downgrade(&sem->rwbase); in __downgrade_write()
1554 int count = atomic_read(&sem->rwbase.readers); in is_rwsem_reader_owned()