Home
last modified time | relevance | path

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

/linux/kernel/power/
H A Dsuspend.c176 static bool valid_state(suspend_state_t state) in valid_state() function
228 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops()
234 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()
261 (valid_state(state) && !cxl_mem_active()); in sleep_state_supported()
588 } else if (!valid_state(state)) { in enter_state()
/linux/kernel/locking/
H A Dlockdep.c4051 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function
4267 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()
4273 if (!read && !valid_state(curr, this, new_bit, in mark_lock_irq()