Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/hpsa.c host_show_hp_ssd_smart_path_enabled() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/hpsa.c hpsa_eh_device_reset_handler() -> sdev_to_hba()
| 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/hpsa.c hpsa_ioctl() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/hpsa.c hpsa_ioctl32_big_passthru() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/hpsa.c hpsa_ioctl32_passthru() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 4096-ptr_max |
| DATA_SOURCE | 0 | sdev | $0 |
| HALF_LOCKED2 | &cd->lock |
drivers/scsi/hpsa.c hpsa_scsi_queue_command() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sdev | unit_byte |
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/hpsa.c hpsa_sdev_init() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sdev->host | 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/hpsa.c lunid_show() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/hpsa.c path_info_show() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/hpsa.c raid_level_show() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/hpsa.c sas_address_show() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/scsi/hpsa.c unique_id_show() -> sdev_to_hba()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |