Lines Matching defs:prior_state
145 int prior_state;
177 prior_state = atomic_cmpxchg(&journal->lock_counter.state,
183 if (prior_state != LOCK_COUNTER_STATE_NOT_NOTIFYING)
303 int prior_state;
310 prior_state = atomic_cmpxchg(&counter->state, LOCK_COUNTER_STATE_NOT_NOTIFYING,
315 return ((prior_state == LOCK_COUNTER_STATE_SUSPENDED) ||
316 (prior_state == LOCK_COUNTER_STATE_NOT_NOTIFYING));
1648 int prior_state;
1655 prior_state = atomic_cmpxchg(&counter->state, LOCK_COUNTER_STATE_SUSPENDED,
1660 return (prior_state == LOCK_COUNTER_STATE_SUSPENDED);