Searched refs:rwbase (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/kernel/locking/ |
D | spinlock_rt.c | 198 ret = rwbase_read_trylock(&rwlock->rwbase); in rt_read_trylock() 212 ret = rwbase_write_trylock(&rwlock->rwbase); in rt_write_trylock() 226 rwbase_read_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT); in rt_read_lock() 236 rwbase_write_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT); in rt_write_lock() 247 rwbase_write_lock(&rwlock->rwbase, TASK_RTLOCK_WAIT); in rt_write_lock_nested() 259 rwbase_read_unlock(&rwlock->rwbase, TASK_RTLOCK_WAIT); in rt_read_unlock() 268 rwbase_write_unlock(&rwlock->rwbase); in rt_write_unlock()
|
D | rwsem.c | 1438 init_rwbase_rt(&(sem)->rwbase); in __init_rwsem() 1449 rwbase_read_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_read() 1454 return rwbase_read_lock(&sem->rwbase, TASK_INTERRUPTIBLE); in __down_read_interruptible() 1459 return rwbase_read_lock(&sem->rwbase, TASK_KILLABLE); in __down_read_killable() 1464 return rwbase_read_trylock(&sem->rwbase); in __down_read_trylock() 1469 rwbase_read_unlock(&sem->rwbase, TASK_NORMAL); in __up_read() 1474 rwbase_write_lock(&sem->rwbase, TASK_UNINTERRUPTIBLE); in __down_write() 1479 return rwbase_write_lock(&sem->rwbase, TASK_KILLABLE); in __down_write_killable() 1484 return rwbase_write_trylock(&sem->rwbase); in __down_write_trylock() 1489 rwbase_write_unlock(&sem->rwbase); in __up_write() [all …]
|
/linux-6.6.21/include/linux/ |
D | rwbase_rt.h | 22 #define init_rwbase_rt(rwbase) \ argument 24 rt_mutex_base_init(&(rwbase)->rtmutex); \ 25 atomic_set(&(rwbase)->readers, READER_BIAS); \
|
D | rwsem.h | 130 struct rwbase_rt rwbase; member 138 .rwbase = __RWBASE_INITIALIZER(name), \ 157 return rw_base_is_locked(&sem->rwbase); in rwsem_is_locked() 162 return rw_base_is_contended(&sem->rwbase); in rwsem_is_contended()
|
D | rwlock_types.h | 58 struct rwbase_rt rwbase; member 67 .rwbase = __RWBASE_INITIALIZER(name), \
|
D | rwlock_rt.h | 23 init_rwbase_rt(&(rwl)->rwbase); \
|
/linux-6.6.21/lib/ |
D | test_lockup.c | 493 offsetof(rwlock_t, rwbase.rtmutex.wait_lock.magic), in test_lockup_init() 499 offsetof(struct rw_semaphore, rwbase.rtmutex.wait_lock.magic), in test_lockup_init()
|