Searched refs:RW_LOCK_READ (Results 1 – 2 of 2) sorted by relevance
135 ((v) & RW_LOCK_READ ? NULL : \200 if (rw->rw_lock & RW_LOCK_READ) { in unlock_rw()217 return ((x & RW_LOCK_READ) != 0 ? (RW_READERS(x) != 0) : in owner_rw()405 if ((v & (RW_LOCK_READ | RW_LOCK_WRITE_WAITERS | RW_LOCK_WRITE_SPINNER)) in __rw_can_read()406 == RW_LOCK_READ) in __rw_can_read()408 if (!fp && td->td_rw_rlocks && (v & RW_LOCK_READ)) in __rw_can_read()513 if ((v & RW_LOCK_READ) == 0) { in __rw_rlock_hard()548 if (!(v & RW_LOCK_READ)) in __rw_rlock_hard()655 LOCKSTAT_READER, (state & RW_LOCK_READ) == 0, in __rw_rlock_hard()656 (state & RW_LOCK_READ) == 0 ? 0 : RW_READERS(state)); in __rw_rlock_hard()[all …]
56 #define RW_LOCK_READ 0x01 macro62 (RW_LOCK_READ | RW_LOCK_READ_WAITERS | RW_LOCK_WRITE_WAITERS | \69 #define RW_READERS_LOCK(x) ((x) << RW_READERS_SHIFT | RW_LOCK_READ)