Searched refs:valid_state (Results 1 – 2 of 2) sorted by relevance
162 static bool valid_state(suspend_state_t state) in valid_state() function209 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops()215 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()572 } else if (!valid_state(state)) { in enter_state()
3927 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function4135 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()4141 if (!read && !valid_state(curr, this, new_bit, in mark_lock_irq()