Home
last modified time | relevance | path

Searched refs:valid_state (Results 1 – 2 of 2) sorted by relevance

/kernel/power/
Dsuspend.c162 static bool valid_state(suspend_state_t state) in valid_state() function
210 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()
/kernel/locking/
Dlockdep.c3228 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function
3429 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()