Searched refs:valid_state (Results 1 – 2 of 2) sorted by relevance
103 static bool valid_state(suspend_state_t state) in valid_state() function143 if (valid_state(i)) { in suspend_set_ops()481 } else if (!valid_state(state)) { in enter_state()
2276 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function2478 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()2493 if (!valid_state(curr, this, new_bit, excl_bit + 1)) in mark_lock_irq()