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_block() -> scsi_internal_device_block_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 |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ioc->tm_cmds.mutex |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_internal_device_unblock() -> scsi_internal_device_block_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,10-u32max |
| DATA_SOURCE | 0 | sdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_ublock_io_device_wait() -> scsi_internal_device_block_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 | 2,6 |
| FUZZY_MAX | 0 | sdev->sdev_state | 2 |
| NOCHECK_CALL |
drivers/scsi/leapraid/leapraid_func.c leapraid_internal_dev_blk() -> scsi_internal_device_block_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 |
| DATA_SOURCE | 0 | sdev | $0 |
| PREEMPT_ADD | |||
| LOCK2 | &adapter->dev_topo.sas_dev_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct leapraid_dev_topo)->sas_dev_lock |
drivers/scsi/leapraid/leapraid_func.c leapraid_internal_dev_ublk() -> scsi_internal_device_block_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,10-u32max |
| DATA_SOURCE | 0 | sdev | $0 |
drivers/scsi/scsi_lib.c scsi_host_block() -> scsi_internal_device_block_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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &sdev->state_mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct scsi_device)->state_mutex |