Lines Matching refs:rwbase
1382 init_rwbase_rt(&(sem)->rwbase); in __init_rwsem()
1393 rwbase_read_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_read()
1398 return rwbase_read_lock(&sem->rwbase, TASK_INTERRUPTIBLE); in __down_read_interruptible()
1403 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1408 return rwbase_read_trylock(&sem->rwbase); in __down_read_trylock()
1413 rwbase_read_unlock(&sem->rwbase, TASK_NORMAL); in __up_read()
1418 rwbase_write_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_write()
1423 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
1428 return rwbase_write_trylock(&sem->rwbase); in __down_write_trylock()
1433 rwbase_write_unlock(&sem->rwbase); in __up_write()
1438 rwbase_write_downgrade(&sem->rwbase); in __downgrade_write()
1451 int count = atomic_read(&sem->rwbase.readers); in is_rwsem_reader_owned()