Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/message/fusion/mptsas.c mptsas_expander_add() -> mptsas_sas_expander_pg0()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_events_off | 0 |
| PARAM_VALUE | 0 | ioc->old_sas_discovery_protocal | 1-255 |
| PARAM_VALUE | 1 | port_info | 6030715093178195968 |
| PARAM_VALUE | 2 | form | 536870912 |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 3 | form_specific | $1 |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_expander_delete() -> mptsas_sas_expander_pg0()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | *ioc->alt_ioc->hs_reply | 0-u16max |
| PARAM_VALUE | 0 | *ioc->alt_ioc->mptbase_cmds.reply | 0-255 |
| PARAM_VALUE | 0 | *ioc->hs_reply | 0-u16max |
| PARAM_VALUE | 0 | *ioc->mptbase_cmds.reply | 0-255 |
| PARAM_VALUE | 1 | port_info | 41159961136467968 |
| PARAM_VALUE | 2 | form | 536870912 |
| PARAM_VALUE | 3 | form_specific | 0-u16max |
| DATA_SOURCE | 0 | ioc | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ioc->alt_ioc->last_state | 0,268435456-u32max |
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ioc->ChainBufferDMA | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->HostPageBuffer_dma | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->HostPageBuffer_sz | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->alloc | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->alloc_dma | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->alloc_sz | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->pcidev->dev.cma_area->available_count | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->req_frames_dma | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->sense_buf_pool | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->sense_buf_pool_dma | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &ioc->sas_topology_mutex |
drivers/message/fusion/mptsas.c mptsas_not_responding_devices() -> mptsas_sas_expander_pg0()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->taskmgmt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | port_info | 9086883217228722176 |
| PARAM_VALUE | 2 | form | 0 |
| PARAM_VALUE | 3 | form_specific | 0-u16max |
| CAPPED_DATA | 0 | &ioc->sas_device_info_list | 1 |
| CAPPED_DATA | 0 | &ioc->sas_device_info_mutex | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| FUZZY_MAX | 3 | form_specific | u16max |
| HOST_DATA | 0 | ioc->alt_ioc->last_state | 0,268435456-u32max |
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| NO_OVERFLOW_SIMPLE | 1 | port_info->num_phys | |
| LOCK2 | 0 | &ioc->sas_topology_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct _MPT_ADAPTER)->sas_topology_mutex |
drivers/message/fusion/mptsas.c mptsas_not_responding_devices() -> mptsas_sas_expander_pg0()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_device_info_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->taskmgmt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | port_info | 9086883217228722176 |
| PARAM_VALUE | 1 | port_info->phy_info | 4096-ptr_max |
| PARAM_VALUE | 2 | form | 0 |
| PARAM_VALUE | 3 | form_specific | 0-u16max |
| CAPPED_DATA | 0 | &ioc->sas_device_info_list | 1 |
| CAPPED_DATA | 0 | &ioc->sas_device_info_mutex | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| HOST_DATA | 0 | ioc->alt_ioc->last_state | 0,268435456-u32max |
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| NO_OVERFLOW_SIMPLE | 1 | port_info->num_phys | |
| LOCK2 | 0 | &ioc->sas_topology_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct _MPT_ADAPTER)->sas_topology_mutex |
drivers/message/fusion/mptsas.c mptsas_probe_expanders() -> mptsas_sas_expander_pg0()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->FreeQ.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->FreeQ.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->FreeQlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | *ioc->alt_ioc->hs_reply | 0-u16max |
| PARAM_VALUE | 0 | *ioc->alt_ioc->mptbase_cmds.reply | 0-255 |
| PARAM_VALUE | 0 | *ioc->hs_reply | 0-u16max |
| PARAM_VALUE | 0 | *ioc->mptbase_cmds.reply | 0-255 |
| PARAM_VALUE | 1 | port_info | 5349833320789614592 |
| PARAM_VALUE | 2 | form | 0 |
| PARAM_VALUE | 3 | form_specific | 0-u16max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ioc | $0 |
| FUZZY_MAX | 3 | form_specific | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ioc->alt_ioc->last_state | 0,268435456-u32max |
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ioc->req_depth | |
| UNITS | 0 | ioc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_probe_expanders() -> mptsas_sas_expander_pg0()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->FreeQ.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->FreeQ.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->FreeQlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->alt_ioc->pcidev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->mptbase_cmds.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->pci_32bit_workaround | 0-1 |
| 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->alt_ioc->hs_reply | 0-u16max |
| PARAM_VALUE | 0 | *ioc->alt_ioc->mptbase_cmds.reply | 0-255 |
| PARAM_VALUE | 0 | *ioc->hs_reply | 0-u16max |
| PARAM_VALUE | 0 | *ioc->mptbase_cmds.reply | 0-255 |
| PARAM_VALUE | 1 | port_info | 5349833320789614592 |
| PARAM_VALUE | 1 | port_info->phy_info | 4096-ptr_max |
| PARAM_VALUE | 2 | form | 0 |
| PARAM_VALUE | 3 | form_specific | 0-u16max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ioc->alt_ioc->last_state | 0,268435456-u32max |
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ioc->req_depth | |
| UNITS | 0 | ioc | unit_byte |
| HALF_LOCKED2 | &pool->lock |