Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ws 0,4096-ptr_max
PARAM_VALUE 0 ws->active 1
PARAM_VALUE 0 ws->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ws->timer.entry.pprev 0
PARAM_VALUE 0 ws->timer.flags 0-4194302
PARAM_VALUE 0 ws->timer.function 0
PARAM_VALUE 0 ws->timer_expires 0
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/wakelock.c pm_wake_unlock() -> __pm_relax()

Type Parameter Key Value
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

drivers/base/power/wakeup.c pm_relax() -> __pm_relax()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->power.lock
LOCK2 flags
HALF_LOCKED2 &psy->changed_lock
HALF_LOCKED2 &rtc->ops_lock
HALF_LOCKED2 &vb->wakeup_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct dev_pm_info)->lock

drivers/base/power/wakeup.c wakeup_source_destroy() -> __pm_relax()

Type Parameter Key Value
PARAM_VALUE 0 ws 4096-ptr_max
PARAM_VALUE 0 ws->dev 0,4096-ptr_max
PARAM_VALUE 0 ws->dev->devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ws->dev->driver_data->callback->add 5235430000054906880
PARAM_VALUE 0 ws->dev->driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 0 ws->dev->driver_data->callback->remove 1719268733136482304
PARAM_VALUE 0 ws->dev->driver_data->callback->requery 4713442613417914368
PARAM_VALUE 0 ws->dev->driver_data->callback->resume 5068206944467017728
PARAM_VALUE 0 ws->dev->driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 0 ws->dev->driver_data->callback->validate 4934365872137547776
PARAM_VALUE 0 ws->dev->driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 0 ws->dev->driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->detaching.counter s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ws->dev->driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ws->dev->driver_data->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 ws->dev->driver_data->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->device_count 0-1
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ws->dev->driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 0 ws->dev->driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.dep_map->name 0-255
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ws->dev->driver_data->skt_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ws->dev->groups 0,4096-ptr_max
PARAM_VALUE 0 ws->dev->kobj->release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ws->dev->kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 ws->dev->kobj.parent 0
PARAM_VALUE 0 ws->dev->kobj.parent->release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ws->dev->kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ws->dev->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ws->dev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 ws->dev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 ws->dev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 ws->dev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 ws->dev->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ws->dev->kobj.sd 0
PARAM_VALUE 0 ws->dev->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 ws->dev->kobj.state_in_sysfs 0
PARAM_VALUE 0 ws->dev->p 4096-ptr_max
PARAM_VALUE 0 ws->dev->p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ws->dev->p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 ws->dev->parent->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ws->dev->power.can_wakeup 0
PARAM_VALUE 0 ws->dev->power.completion.done u32max
PARAM_VALUE 0 ws->dev->power.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ws->dev->power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 ws->dev->power.in_dpm_list 0
PARAM_VALUE 0 ws->dev->power.irq_safe 0
PARAM_VALUE 0 ws->dev->power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 ws->dev->power.needs_force_resume 0
PARAM_VALUE 0 ws->dev->power.qos 0,(-19)
PARAM_VALUE 0 ws->dev->power.request_pending 0
PARAM_VALUE 0 ws->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 ws->dev->power.runtime_status 2
PARAM_VALUE 0 ws->dev->power.set_latency_tolerance 0
PARAM_VALUE 0 ws->dev->power.timer_expires 0
PARAM_VALUE 0 ws->dev->power.usage_count.counter 0-s32max
PARAM_VALUE 0 ws->dev->type 0,4096-ptr_max
PARAM_VALUE 0 ws->entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ws->timer.entry.pprev 0
PARAM_VALUE 0 ws->timer.flags 0-4194302
PARAM_VALUE 0 ws->timer.function 0
BUF_SIZE 0 ws (-1),304
BUF_SIZE 0 ws (-1),304
CAPPED_DATA 0 ws->dev 1
DATA_SOURCE 0 ws $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &acpi_pm_notifier_install_lock
HALF_LOCKED2 global &acpi_pm_notifier_lock
HALF_LOCKED2 global &wakelocks_lock

fs/eventpoll.c __ep_eventpoll_poll() -> __pm_relax()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ep->mtx
TYPE_LOCK (struct eventpoll)->mtx

fs/eventpoll.c ep_deliver_event() -> __pm_relax()

Type Parameter Key Value
PARAM_VALUE 0 ws 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ep->mtx
TYPE_LOCK (struct eventpoll)->mtx

fs/eventpoll.c ep_done_scan() -> __pm_relax()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ep->lock
LOCK2 &ep->mtx
LOCK2 irq
TYPE_LOCK (struct eventpoll)->lock
TYPE_LOCK (struct eventpoll)->mtx