Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/message/fusion/mptbase.c mpt_adapter_disable() -> mpt_free_fw_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->active | 0 |
| PARAM_VALUE | 0 | ioc->alloc | 0 |
| PARAM_VALUE | 0 | ioc->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->events | 0 |
| PARAM_VALUE | 0 | ioc->fw_event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->fw_event_q | 0 |
| PARAM_VALUE | 0 | ioc->last_state | 0,268435456-u32max |
| PARAM_VALUE | 0 | ioc->pcidev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->reset_work_q | 0 |
| PARAM_VALUE | 0 | ioc->sense_buf_pool | 0 |
| PARAM_VALUE | 0 | ioc->taskmgmt_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | ioc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ioc | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ioc->last_state | 0,268435456-u32max |
| UNITS | 0 | ioc | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/message/fusion/mptbase.c mpt_do_upload() -> mpt_free_fw_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->cached_fw | 1-u64max |
| PARAM_VALUE | 0 | ioc->facts.FWImageSize | 1-u32max |
| 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->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| 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_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->req_sz | 1-s32max |
| DATA_SOURCE | 0 | ioc | $0 |
| NOCHECK_CALL |
drivers/message/fusion/mptbase.c mpt_do_upload() -> mpt_free_fw_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->cached_fw | 1-u64max |
| PARAM_VALUE | 0 | ioc->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->facts.FWImageSize | 1-u32max |
| PARAM_VALUE | 0 | ioc->hs_reply | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->hs_reply->MsgLength | 0 |
| PARAM_VALUE | 0 | ioc->hs_reply_idx | 0 |
| 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->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| 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_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ioc->req_sz | 0-4000000 |
| DATA_SOURCE | 0 | ioc | $0 |
| NOCHECK_CALL |
drivers/message/fusion/mptctl.c mptctl_replace_fw() -> mpt_free_fw_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->active | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ioc->cached_fw | 1-u64max |
| PARAM_VALUE | 0 | ioc->id | 0-255 |
| DATA_SOURCE | 0 | ioc | $0 |
| NOCHECK_CALL | |||
| LOCK2 | global &mpctl_mutex |
drivers/message/fusion/mptctl.c mptctl_replace_fw() -> mpt_free_fw_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->active | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | ioc->cached_fw | 1-u64max |
| PARAM_VALUE | 0 | ioc->id | 0-255 |
| 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->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| 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_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ioc->pcidev->dev.iommu->attach_deferred | 0-1 |
| DATA_SOURCE | 0 | ioc | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *ioc->cached_fw | 0-255 |
| USER_PTR | 0 | ioc->cached_fw | |
| LOCK2 | global &mpctl_mutex |