Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/scsi_lib.c scsi_device_block() -> scsi_stop_queue()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->host->hostt->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->offline_already 0
PARAM_VALUE 0 sdev->sdev_state 2,5-6,8-9
PARAM_VALUE 0 sdev->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 sdev->state_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sdev->state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sdev->state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 sdev->state_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sdev->state_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 sdev->state_mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 sdev->channel 1
CAPPED_DATA 0 sdev->id 1
CAPPED_DATA 0 sdev->sdev_state 1
CAPPED_DATA 0 &sdev->state_mutex 1
DATA_SOURCE 0 sdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &sdev->state_mutex
HALF_LOCKED2 &mrioc->tgtdev_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct scsi_device)->state_mutex

drivers/scsi/scsi_lib.c scsi_internal_device_block_nowait() -> scsi_stop_queue()

Type Parameter Key Value
PARAM_VALUE 0 sdev 4096-ptr_max
PARAM_VALUE 0 sdev->host->hostt->module->refcnt.counter 0-s32max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->offline_already 0
PARAM_VALUE 0 sdev->sdev_state 2,5-6,8-9
CAPPED_DATA 0 sdev->sdev_state 1
DATA_SOURCE 0 sdev $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adapter->dev_topo.sas_dev_lock
HALF_LOCKED2 flags
HALF_LOCKED2 0 &sdev->state_mutex