Searched refs:valid_state (Results 1 – 2 of 2) sorted by relevance
162 static bool valid_state(suspend_state_t state) in valid_state() function210 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops()216 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()573 } else if (!valid_state(state)) { in enter_state()
3228 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function3429 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()3444 if (!valid_state(curr, this, new_bit, excl_bit + LOCK_USAGE_READ_MASK)) in mark_lock_irq()