Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/message/fusion/mptsas.c mptsas_expander_add() -> mptsas_expander_refresh()
| 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 | 0 | ioc->sas_topology.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology.prev->next->next | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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 | 1 | port_info | 4096-ptr_max |
| PARAM_VALUE | 1 | port_info->list.next | 4096-ptr_max |
| BUF_SIZE | 1 | port_info | 32 |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| CAPPED_DATA | 1 | port_info->num_phys | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | port_info | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_expander_event_add() -> mptsas_expander_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_events_off | 0 |
| PARAM_VALUE | 0 | ioc->sas_topology.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology.prev->next->next | 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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 | 1 | port_info | 4096-ptr_max |
| PARAM_VALUE | 1 | port_info->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | port_info->num_phys | 1-255 |
| PARAM_VALUE | 1 | port_info->phy_info | 4096-ptr_max |
| BUF_SIZE | 1 | port_info | 32 |
| BUF_SIZE | 1 | port_info->phy_info | 112-28560 |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| CAPPED_DATA | 1 | port_info->num_phys | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | port_info | r _kzalloc_noprof |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | port_info->num_phys | |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_hotplug_work() -> mptsas_expander_refresh()
| 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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_lock.rlock.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 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->taskmgmt_lock.rlock.dep_map->name | 0-255 |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 1 | port_info->num_phys | 1-u16max |
| PARAM_VALUE | 1 | port_info->phy_info | 4096-ptr_max |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | port_info | r mptsas_find_portinfo_by_handle |
| PARAM_COMPARE | 0 | ioc->hba_port_info | != $1 |
| PARAM_COMPARE | 1 | port_info | != $0->hba_port_info |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ioc->alt_ioc->last_state | 0,268435456-u32max |
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_probe_expanders() -> mptsas_expander_refresh()
| 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 | 1-u64max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->req_depth | |
| UNITS | 0 | ioc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_probe_expanders() -> mptsas_expander_refresh()
| 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->sas_topology_mutex.wait_lock.dep_map->name | 0-255 |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 1 | port_info->phy_info | 4096-ptr_max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ioc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | port_info | 32 |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| CAPPED_DATA | 0 | &ioc->sas_topology_mutex | 1 |
| CAPPED_DATA | 1 | port_info->num_phys | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| DATA_SOURCE | 1 | port_info | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->req_depth | |
| UNITS | 0 | ioc | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_send_expander_event() -> mptsas_expander_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_events_off | 0 |
| PARAM_VALUE | 1 | port_info | 4096-ptr_max |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| CAPPED_DATA | 1 | port_info->num_phys | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/message/fusion/mptsas.c mptsas_send_link_status_event() -> mptsas_expander_refresh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->fw_events_off | 0 |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->sas_topology_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | port_info | 4096-ptr_max |
| PARAM_VALUE | 1 | port_info->num_phys | 1-u16max |
| PARAM_VALUE | 1 | port_info->phy_info | 4096-ptr_max |
| CAPPED_DATA | 0 | ioc->hba_port_sas_addr | 1 |
| PARAM_COMPARE | 0 | ioc->hba_port_info | != $1 |
| PARAM_COMPARE | 1 | port_info | != $0->hba_port_info |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |