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