Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/sys/
H A Dflock_impl.h82 int l_status; /* status described below */ member
247 #define IS_INITIAL(lock) ((lock)->l_status == FLK_INITIAL_STATE)
248 #define IS_ACTIVE(lock) ((lock)->l_status == FLK_ACTIVE_STATE)
249 #define IS_SLEEPING(lock) ((lock)->l_status == FLK_SLEEPING_STATE)
250 #define IS_GRANTED(lock) ((lock)->l_status == FLK_GRANTED_STATE)
251 #define IS_INTERRUPTED(lock) ((lock)->l_status == FLK_INTERRUPTED_STATE)
252 #define IS_CANCELLED(lock) ((lock)->l_status == FLK_CANCELLED_STATE)
253 #define IS_DEAD(lock) ((lock)->l_status == FLK_DEAD_STATE)
/titanic_44/usr/src/uts/common/os/
H A Dflock.c286 lock_request->l_status = FLK_INITIAL_STATE; in reclock()
712 l->l_status = FLK_INITIAL_STATE; in flk_get_lock()
763 CHECK_LOCK_TRANSITION(lock->l_status, new_state); in flk_set_state()
765 cl_flk_state_transition_notify(lock, lock->l_status, new_state); in flk_set_state()
767 lock->l_status = new_state; in flk_set_state()