Lines Matching refs:rwbase
1388 init_rwbase_rt(&(sem)->rwbase); in __init_rwsem()
1399 rwbase_read_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_read()
1404 return rwbase_read_lock(&sem->rwbase, TASK_INTERRUPTIBLE); in __down_read_interruptible()
1409 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable()
1414 return rwbase_read_trylock(&sem->rwbase); in __down_read_trylock()
1419 rwbase_read_unlock(&sem->rwbase, TASK_NORMAL); in __up_read()
1424 rwbase_write_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_write()
1429 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable()
1434 return rwbase_write_trylock(&sem->rwbase); in __down_write_trylock()
1439 rwbase_write_unlock(&sem->rwbase); in __up_write()
1444 rwbase_write_downgrade(&sem->rwbase); in __downgrade_write()
1457 int count = atomic_read(&sem->rwbase.readers); in is_rwsem_reader_owned()