Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/message/fusion/mptsas.c
- drivers/message/fusion/mptscsih.c, line 2190
- drivers/message/fusion/mptspi.c
Smatch caller information:
drivers/message/fusion/mptspi.c mptspi_qcmd() -> mptscsih_is_phys_disk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | channel | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ioc | unit_byte |
| UNITS | 2 | id | unit_array_size |
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/message/fusion/mptspi.c mptspi_sdev_init() -> mptscsih_is_phys_disk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | channel | 0 |
| NOSPEC | 2 | id | |
| NOSPEC | 2 | id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | id | 0-255[c] |
| UNITS | 0 | ioc | unit_byte |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |
drivers/message/fusion/mptspi.c mptspi_target_alloc() -> mptscsih_is_phys_disk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 1 | channel | 0 |
| NOSPEC | 2 | id | |
| NOSPEC | 2 | id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | id | 0-255[c] |
| UNITS | 0 | ioc | unit_byte |
| UNITS | 2 | id | unit_array_size |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/message/fusion/mptsas.c mptsas_handle_queue_full_event() -> mptscsih_is_phys_disk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_events_off | 0 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &ioc->sas_device_info_mutex | 1 |
| LOCK2 | 0 | &ioc->sas_device_info_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct _MPT_ADAPTER)->sas_device_info_mutex |
drivers/message/fusion/mptsas.c mptsas_sdev_init() -> mptscsih_is_phys_disk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &ioc->sas_topology | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ioc | unit_byte |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | 0 | &ioc->sas_topology_mutex | |
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct _MPT_ADAPTER)->sas_topology_mutex |
drivers/message/fusion/mptsas.c mptsas_target_alloc() -> mptscsih_is_phys_disk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &ioc->sas_topology | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| NOSPEC | 2 | id | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ioc | unit_byte |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | 0 | &ioc->sas_topology_mutex | |
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct _MPT_ADAPTER)->sas_topology_mutex |