Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dflock_impl.h81 int l_status; /* status described below */ member
248 #define IS_INITIAL(lock) ((lock)->l_status == FLK_INITIAL_STATE)
249 #define IS_ACTIVE(lock) ((lock)->l_status == FLK_ACTIVE_STATE)
250 #define IS_SLEEPING(lock) ((lock)->l_status == FLK_SLEEPING_STATE)
251 #define IS_GRANTED(lock) ((lock)->l_status == FLK_GRANTED_STATE)
252 #define IS_INTERRUPTED(lock) ((lock)->l_status == FLK_INTERRUPTED_STATE)
253 #define IS_CANCELLED(lock) ((lock)->l_status == FLK_CANCELLED_STATE)
254 #define IS_DEAD(lock) ((lock)->l_status == FLK_DEAD_STATE)
/illumos-gate/usr/src/cmd/mdb/common/modules/klmmod/
H A Dklmmod.c1052 switch (ld->l_status) { in nlm_lockson_cb()
1083 mdb_printf("%-5i", ld->l_status); in nlm_lockson_cb()
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c349 lock_request->l_status = FLK_INITIAL_STATE; in ofdlock()
571 lock_request->l_status = FLK_INITIAL_STATE; in reclock()
999 l->l_status = FLK_INITIAL_STATE; in flk_get_lock()
1056 CHECK_LOCK_TRANSITION(lock->l_status, new_state); in flk_set_state()
1058 cl_flk_state_transition_notify(lock, lock->l_status, new_state); in flk_set_state()
1060 lock->l_status = new_state; in flk_set_state()