Lines Matching refs:new_state

70 #define	CHECK_LOCK_TRANSITION(old_state, new_state) \  argument
72 if (check_lock_transition(old_state, new_state)) { \
74 from %d to %d", old_state, new_state); \
82 #define CHECK_LOCK_TRANSITION(old_state, new_state) argument
735 flk_set_state(lock_descriptor_t *lock, int new_state) in flk_set_state() argument
751 if ((new_state == FLK_CANCELLED_STATE) || in flk_set_state()
752 (new_state == FLK_GRANTED_STATE) || in flk_set_state()
753 (new_state == FLK_INTERRUPTED_STATE)) { in flk_set_state()
758 if ((new_state == FLK_GRANTED_STATE) || in flk_set_state()
759 (new_state == FLK_CANCELLED_STATE)) { in flk_set_state()
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()
4081 check_lock_transition(int old_state, int new_state) in check_lock_transition() argument
4085 if ((new_state == FLK_START_STATE) || in check_lock_transition()
4086 (new_state == FLK_SLEEPING_STATE) || in check_lock_transition()
4087 (new_state == FLK_ACTIVE_STATE) || in check_lock_transition()
4088 (new_state == FLK_DEAD_STATE)) { in check_lock_transition()
4094 if ((new_state == FLK_ACTIVE_STATE) || in check_lock_transition()
4095 (new_state == FLK_DEAD_STATE)) { in check_lock_transition()
4101 if (new_state == FLK_DEAD_STATE) { in check_lock_transition()
4107 if ((new_state == FLK_GRANTED_STATE) || in check_lock_transition()
4108 (new_state == FLK_INTERRUPTED_STATE) || in check_lock_transition()
4109 (new_state == FLK_CANCELLED_STATE)) { in check_lock_transition()
4115 if ((new_state == FLK_START_STATE) || in check_lock_transition()
4116 (new_state == FLK_INTERRUPTED_STATE) || in check_lock_transition()
4117 (new_state == FLK_CANCELLED_STATE)) { in check_lock_transition()
4123 if ((new_state == FLK_INTERRUPTED_STATE) || in check_lock_transition()
4124 (new_state == FLK_DEAD_STATE)) { in check_lock_transition()
4130 if (new_state == FLK_DEAD_STATE) { in check_lock_transition()
4137 if (new_state == FLK_DEAD_STATE) { in check_lock_transition()