Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/power/wakelock.c pm_wake_lock() -> wakelocks_lru_most_recent()

Type Parameter Key Value
PARAM_VALUE 0 wl 4096-ptr_max
PARAM_VALUE 0 wl->name 4096-ptr_max
PARAM_VALUE 0 wl->ws 0,4096-ptr_max
PARAM_VALUE 0 wl->ws->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wl->ws->timer.function 0
PARAM_VALUE 0 wl->ws->timer_expires 0
BUF_SIZE 0 wl (-1),56
BUF_SIZE 0 wl (-1),56
DATA_SOURCE 0 wl r wakelock_lookup_add
CAPABLE 0 36
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &wakelocks_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/power/wakelock.c pm_wake_unlock() -> wakelocks_lru_most_recent()

Type Parameter Key Value
PARAM_VALUE 0 wl 4096-ptr_max
PARAM_VALUE 0 wl->name 4096-ptr_max
PARAM_VALUE 0 wl->ws 0,4096-ptr_max
PARAM_VALUE 0 wl->ws->active 0
PARAM_VALUE 0 wl->ws->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wl->ws->max_time (-9223372036854775807)-s64max
PARAM_VALUE 0 wl->ws->timer.entry.pprev 0
PARAM_VALUE 0 wl->ws->timer.flags 0-4194302
PARAM_VALUE 0 wl->ws->timer.function 0
PARAM_VALUE 0 wl->ws->timer_expires 0
DATA_SOURCE 0 wl r wakelock_lookup_add
CAPABLE 0 36
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &wakelocks_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex