Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/autosleep.c pm_autosleep_set_state() -> queue_up_suspend_work()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &autosleep_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/power/autosleep.c try_to_suspend() -> queue_up_suspend_work()

Type Parameter Key Value
NOCHECK_CALL
HALF_LOCKED2 &pool->lock