Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_internal_device_unblock() -> scsi_internal_device_unblock_nowait()

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->hostdata 4096-ptr_max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->sdev_state 0-2,5-u32max
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 sdev $0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_internal_device_unblock() -> scsi_internal_device_unblock_nowait()

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->hostdata 4096-ptr_max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->sdev_state 0-6,8-u32max
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 sdev $0
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_device_wait() -> scsi_internal_device_unblock_nowait()

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->hostdata 4096-ptr_max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->sdev_state 0-2,5-u32max
PARAM_VALUE 1 new_state 2
NOCHECK_CALL

drivers/scsi/leapraid/leapraid_func.c leapraid_internal_dev_ublk() -> scsi_internal_device_unblock_nowait()

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->hostdata 4096-ptr_max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->sdev_state 0-2,5-u32max
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 sdev $0

drivers/scsi/leapraid/leapraid_func.c leapraid_internal_dev_ublk() -> scsi_internal_device_unblock_nowait()

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->hostdata 4096-ptr_max
PARAM_VALUE 0 sdev->lun 0-18446744073709551614
PARAM_VALUE 0 sdev->sdev_state 0-6,8-u32max
PARAM_VALUE 1 new_state 2
DATA_SOURCE 0 sdev $0

drivers/scsi/scsi_lib.c scsi_internal_device_unblock() -> scsi_internal_device_unblock_nowait()

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->sdev_state 0-2,5-u32max
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->state_mutex 1
DATA_SOURCE 0 sdev $0
DATA_SOURCE 1 new_state $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &sdev->state_mutex
TYPE_LOCK (struct scsi_device)->state_mutex