Home
last modified time | relevance | path

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

/kernel/power/
Dsuspend.c167 static bool valid_state(suspend_state_t state) in valid_state() function
218 if (valid_state(PM_SUSPEND_STANDBY)) { in suspend_set_ops()
224 if (valid_state(PM_SUSPEND_MEM)) { in suspend_set_ops()
251 (valid_state(state) && !cxl_mem_active()); in sleep_state_supported()
585 } else if (!valid_state(state)) { in enter_state()
/kernel/locking/
Dlockdep.c3964 valid_state(struct task_struct *curr, struct held_lock *this, in valid_state() function
4172 if (!valid_state(curr, this, new_bit, excl_bit)) in mark_lock_irq()
4178 if (!read && !valid_state(curr, this, new_bit, in mark_lock_irq()