Defined in 1 files as a function:
Referenced in 5 files:
- drivers/s390/scsi/zfcp_def.h, line 295
- drivers/scsi/aic7xxx/aic79xx_osm.c
- drivers/scsi/aic7xxx/aic79xx_proc.c, line 194
- drivers/scsi/aic7xxx/aic7xxx_osm.c
- drivers/scsi/aic7xxx/aic7xxx_proc.c, line 174
Smatch caller information:
drivers/scsi/aic7xxx/aic79xx_proc.c ahd_dump_device_state() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| CAPPED_DATA | 0 | sdev->lun | 1 |
| DATA_SOURCE | 0 | sdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/aic7xxx/aic7xxx_proc.c ahc_dump_device_state() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| CAPPED_DATA | 0 | sdev->lun | 1 |
| DATA_SOURCE | 0 | sdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_handle_scsi_status() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | sdev | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sdev | unit_byte |
| HALF_LOCKED2 | &ahc->platform_data->spin_lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_queue_lck() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sdev | unit_byte |
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_queue_recovery_cmd() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | sdev | unit_byte |
| LOCK2 | &ahc->platform_data->spin_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ahc_platform_data)->spin_lock |
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_linux_sdev_init() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host->transportt | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | 4232-s32max |
| BUF_SIZE | 0 | sdev | 4232-s32max |
| CAPPED_DATA | 0 | sdev->host->tag_set.nr_hw_queues | 1 |
| CAPPED_DATA | 0 | sdev->request_queue->limits.max_hw_wzeroes_unmap_sectors | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| NOSPEC | 0 | sdev->channel | |
| NOSPEC | 0 | sdev->id | |
| NOSPEC | 0 | sdev->lun | |
| NOSPEC | 0 | sdev->sdev_target->channel | |
| NOSPEC | 0 | sdev->sdev_target->id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sdev->budget_map.depth | 1-4095[c] |
| USER_DATA | 0 | sdev->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->id | 0-s32max[c] |
| USER_DATA | 0 | sdev->lun | 0-18446744073709551614[c] |
| USER_DATA | 0 | sdev->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->request_queue->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->sdev_target->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->sdev_target->id | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sdev->budget_map.depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_requests | |
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_platform_set_tags() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 1-u64max |
| BUF_SIZE | 0 | sdev | (-1),4232-s32max |
| BUF_SIZE | 0 | sdev | (-1),4232-s32max |
| BUF_SIZE | 0 | sdev->inquiry | (-1),36-255 |
| DATA_SOURCE | 0 | sdev | $1 |
| NOSPEC | 0 | sdev->sdev_target->channel | |
| NOSPEC | 0 | sdev->sdev_target->id | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sdev->request_queue->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->sdev_target->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->sdev_target->id | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_requests | |
| UNITS | 0 | sdev | unit_byte |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | 0 | &sdev->request_queue->limits_lock |
drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_dev_reset() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| UNITS | 0 | sdev | unit_byte |
drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_handle_scsi_status() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | sdev | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sdev | unit_byte |
| HALF_LOCKED2 | &ahd->platform_data->spin_lock |
drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_queue_abort_cmd() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | sdev | unit_byte |
| LOCK2 | &ahd->platform_data->spin_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ahd_platform_data)->spin_lock |
drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_queue_lck() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sdev | unit_byte |
| LOCK2 | irq_flags | ||
| LOCK2 | shost->host_lock | ||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_sdev_init() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host->transportt | 4096-ptr_max |
| BUF_SIZE | 0 | sdev | 4232-s32max |
| BUF_SIZE | 0 | sdev | 4232-s32max |
| CAPPED_DATA | 0 | sdev->host->tag_set.nr_hw_queues | 1 |
| CAPPED_DATA | 0 | sdev->request_queue->limits.max_hw_wzeroes_unmap_sectors | 1 |
| DATA_SOURCE | 0 | sdev | $0 |
| NOSPEC | 0 | sdev->channel | |
| NOSPEC | 0 | sdev->id | |
| NOSPEC | 0 | sdev->lun | |
| NOSPEC | 0 | sdev->sdev_target->channel | |
| NOSPEC | 0 | sdev->sdev_target->id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sdev->budget_map.depth | 1-4095[c] |
| USER_DATA | 0 | sdev->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->id | 0-s32max[c] |
| USER_DATA | 0 | sdev->lun | 0-18446744073709551614[c] |
| USER_DATA | 0 | sdev->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->request_queue->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->sdev_target->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->sdev_target->id | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sdev->budget_map.depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_requests | |
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_set_tags() -> scsi_transport_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 1-u64max |
| BUF_SIZE | 0 | sdev | (-1),4232-s32max |
| BUF_SIZE | 0 | sdev | (-1),4232-s32max |
| BUF_SIZE | 0 | sdev->inquiry | (-1),36-255 |
| DATA_SOURCE | 0 | sdev | $1 |
| NOSPEC | 0 | sdev->sdev_target->channel | |
| NOSPEC | 0 | sdev->sdev_target->id | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sdev->request_queue->queue_depth | 1-4095[c] |
| USER_DATA | 0 | sdev->sdev_target->channel | 1-s32max[c] |
| USER_DATA | 0 | sdev->sdev_target->id | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | sdev->request_queue->nr_requests | |
| UNITS | 0 | sdev | unit_byte |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | 0 | &sdev->request_queue->limits_lock |