Lines Matching refs:l_state
74 int l_state; /* state described below */ member
256 #define IS_QUERY_LOCK(lock) ((lock)->l_state & QUERY_LOCK)
257 #define IS_RECOMPUTE(lock) ((lock)->l_state & RECOMPUTE_LOCK)
258 #define IS_BARRIER(lock) ((lock)->l_state & BARRIER_LOCK)
259 #define IS_DELETED(lock) ((lock)->l_state & DELETED_LOCK)
260 #define IS_REFERENCED(lock) ((lock)->l_state & REFERENCED_LOCK)
261 #define IS_IO_LOCK(lock) ((lock)->l_state & IO_LOCK)
263 ((lock)->l_state & WILLING_TO_SLEEP_LOCK)
264 #define IS_LOCKMGR(lock) ((lock)->l_state & LOCKMGR_LOCK)
267 #define IS_PXFS(lock) ((lock)->l_state & PXFS_LOCK)
324 (lock)->l_state |= GRANTED_LOCK; \
337 (lock)->l_state |= CANCELLED_LOCK; \
350 (lock)->l_state |= INTERRUPTED_LOCK; \
364 (lock)->l_state &= ~SLEEPING_LOCK; \
375 (lock)->l_state |= GRANTED_LOCK; \
395 (lock1)->l_state = (lock2)->l_state; \