Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/scsi_lib.c scsi_device_quiesce() -> blk_clear_pm_only()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->io_lockdep_map->name 0-255
PARAM_VALUE 0 q->mq_freeze_lock.dep_map->name 0-255
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 q->mq_freeze_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 q->q_lockdep_map->name 0-255
PARAM_VALUE 0 q->q_usage_counter.data 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 q->queue_depth 1-4095[c]
NO_OVERFLOW_SIMPLE 0 q->async_depth
NO_OVERFLOW_SIMPLE 0 q->limits.max_discard_sectors
NO_OVERFLOW_SIMPLE 0 q->limits.max_open_zones
NO_OVERFLOW_SIMPLE 0 q->nr_hw_queues
NO_OVERFLOW_SIMPLE 0 q->nr_requests
LOCK2 &sdev->state_mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct scsi_device)->state_mutex

drivers/scsi/scsi_lib.c scsi_device_resume() -> blk_clear_pm_only()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sdev->state_mutex
TYPE_LOCK (struct scsi_device)->state_mutex

block/blk-pm.c blk_post_runtime_resume() -> blk_clear_pm_only()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->dev 4096-ptr_max
PARAM_VALUE 0 q->dev->pins->p 0,4096-s64max
PARAM_VALUE 0 q->dev->power.request 0-4
PARAM_VALUE 0 q->dev->power.runtime_status 0,2
PARAM_VALUE 0 q->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 q->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 q->rpm_status 0
DATA_SOURCE 0 q $0
NOCHECK_CALL

block/blk-pm.c blk_post_runtime_suspend() -> blk_clear_pm_only()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->dev 4096-ptr_max
PARAM_VALUE 0 q->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 q->rpm_status 0
DATA_SOURCE 0 q $0
NOCHECK_CALL

block/blk-pm.c blk_pre_runtime_suspend() -> blk_clear_pm_only()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->dev 4096-ptr_max
PARAM_VALUE 0 q->io_lockdep_map->name 0-255
PARAM_VALUE 0 q->mq_freeze_lock.dep_map->name 0-255
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 q->mq_freeze_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 q->mq_freeze_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 q->q_lockdep_map->name 0-255
PARAM_VALUE 0 q->q_usage_counter.data 4096-ptr_max
PARAM_VALUE 0 q->q_usage_counter.data->force_atomic 1
PARAM_VALUE 0 q->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 q->rpm_status 0
DATA_SOURCE 0 q $0
NOCHECK_CALL