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

/linux-master/kernel/locking/
H A Drwsem.c118 #define RWSEM_FLAG_WAITERS (1UL << 1) macro
127 #define RWSEM_READ_FAILED_MASK (RWSEM_WRITER_MASK|RWSEM_FLAG_WAITERS|\
374 /* caller will set RWSEM_FLAG_WAITERS */
393 atomic_long_andnot(RWSEM_FLAG_HANDOFF | RWSEM_FLAG_WAITERS, &sem->count);
399 * - if we come here from up_xxxx(), then the RWSEM_FLAG_WAITERS bit must
533 adjustment -= RWSEM_FLAG_WAITERS;
644 new &= ~RWSEM_FLAG_WAITERS;
1023 if ((rcnt == 1) && (count & RWSEM_FLAG_WAITERS)) {
1056 adjustment += RWSEM_FLAG_WAITERS;
1144 atomic_long_or(RWSEM_FLAG_WAITERS,
[all...]

Completed in 99 milliseconds