Home
last modified time | relevance | path

Searched refs:RWSEM_FLAG_WAITERS (Results 1 – 1 of 1) sorted by relevance

/linux/kernel/locking/
A Drwsem.c117 #define RWSEM_FLAG_WAITERS (1UL << 1) macro
524 adjustment -= RWSEM_FLAG_WAITERS; in rwsem_mark_wake()
601 new &= ~RWSEM_FLAG_WAITERS; in rwsem_try_write_lock()
969 if ((rcnt == 1) && (count & RWSEM_FLAG_WAITERS)) { in rwsem_down_read_slowpath()
1002 adjustment += RWSEM_FLAG_WAITERS; in rwsem_down_read_slowpath()
1020 (adjustment & RWSEM_FLAG_WAITERS))) in rwsem_down_read_slowpath()
1115 atomic_long_or(RWSEM_FLAG_WAITERS, &sem->count); in rwsem_down_write_slowpath()
1304 if (unlikely((tmp & (RWSEM_LOCK_MASK|RWSEM_FLAG_WAITERS)) == in __up_read()
1305 RWSEM_FLAG_WAITERS)) { in __up_read()
1328 if (unlikely(tmp & RWSEM_FLAG_WAITERS)) in __up_write()
[all …]

Completed in 6 milliseconds