Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_base.c _base_allocate_memory_pools() -> _base_config_dma_addressing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->chain_lookup | 0 |
| PARAM_VALUE | 0 | ioc->chains_needed_per_io | 0-255 |
| PARAM_VALUE | 0 | ioc->config_page->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->config_page->memcg_data | 0 |
| PARAM_VALUE | 0 | ioc->config_page->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | ioc->facts.IOCCapabilities | 32768-u32max |
| PARAM_VALUE | 0 | ioc->hba_queue_depth | 0-46378,65439-u16max |
| PARAM_VALUE | 0 | ioc->hi_priority_depth | 5-16378 |
| PARAM_VALUE | 0 | ioc->hpr_lookup | 0 |
| PARAM_VALUE | 0 | ioc->internal_depth | 10-16383 |
| PARAM_VALUE | 0 | ioc->internal_lookup | 0 |
| PARAM_VALUE | 0 | ioc->io_queue_num | 0 |
| PARAM_VALUE | 0 | ioc->pcie_sg_lookup | 0 |
| PARAM_VALUE | 0 | ioc->pcie_sgl_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pdev->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reply | 0 |
| PARAM_VALUE | 0 | ioc->reply_free | 0 |
| PARAM_VALUE | 0 | ioc->reply_post | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ioc->request | 0 |
| PARAM_VALUE | 0 | ioc->sense | 0 |
| PARAM_VALUE | 0 | ioc->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->sg_tablesize | 0-2048 |
| PARAM_VALUE | 0 | ioc->use_32bit_dma | 1 |
| PARAM_VALUE | 1 | pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | pdev->dev.dma_pools.next->next | 4096-ptr_max |
| CAPPED_DATA | 0 | ioc->chains_needed_per_io | 1 |
| CAPPED_DATA | 0 | ioc->config_page | 1 |
| CAPPED_DATA | 0 | ioc->hi_priority_depth | 1 |
| CAPPED_DATA | 0 | ioc->internal_depth | 1 |
| CAPPED_DATA | 0 | ioc->pcie_sgl_dma_pool | 1 |
| CAPPED_DATA | 0 | ioc->reply_free_queue_depth | 1 |
| CAPPED_DATA | 0 | ioc->reply_post | 1 |
| CAPPED_DATA | 0 | ioc->reply_post_queue_depth | 1 |
| CAPPED_DATA | 0 | ioc->shost->sg_tablesize | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| FUZZY_MAX | 0 | ioc->internal_depth | 10 |
| FUZZY_MAX | 0 | ioc->shost->sg_tablesize | 128 |
| NO_OVERFLOW_SIMPLE | 0 | ioc->hi_priority_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->internal_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->scsiio_depth |
drivers/scsi/mpt3sas/mpt3sas_base.c _base_allocate_memory_pools() -> _base_config_dma_addressing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->chain_depth | 0-100000 |
| PARAM_VALUE | 0 | ioc->chain_lookup | 0 |
| PARAM_VALUE | 0 | ioc->chains_needed_per_io | 0-255 |
| PARAM_VALUE | 0 | ioc->chains_per_prp_buffer | 0-255 |
| PARAM_VALUE | 0 | ioc->config_page->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | ioc->config_page->memcg_data | 0 |
| PARAM_VALUE | 0 | ioc->config_page->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | ioc->dma_mask | 33-u32max |
| PARAM_VALUE | 0 | ioc->facts.IOCCapabilities | 32768-u32max |
| PARAM_VALUE | 0 | ioc->hba_queue_depth | 0-46378,65439-u16max |
| PARAM_VALUE | 0 | ioc->hi_priority | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->hi_priority_depth | 5-16378 |
| PARAM_VALUE | 0 | ioc->hpr_lookup | 0 |
| PARAM_VALUE | 0 | ioc->internal_depth | 10-16383 |
| PARAM_VALUE | 0 | ioc->internal_lookup | 0 |
| PARAM_VALUE | 0 | ioc->io_queue_num | 0 |
| PARAM_VALUE | 0 | ioc->pcie_sg_lookup | 0 |
| PARAM_VALUE | 0 | ioc->pcie_sgl_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ioc->pdev->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reply | 0 |
| PARAM_VALUE | 0 | ioc->reply_free | 0 |
| PARAM_VALUE | 0 | ioc->reply_post | 16,4096-ptr_max |
| PARAM_VALUE | 0 | ioc->reply_post_free_dma_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->request | 0 |
| PARAM_VALUE | 0 | ioc->sense | 0 |
| PARAM_VALUE | 0 | ioc->shost | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->shost->can_queue | (-3)-65532 |
| PARAM_VALUE | 0 | ioc->shost->sg_tablesize | 0-2048 |
| PARAM_VALUE | 0 | ioc->use_32bit_dma | 1 |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | pdev->dev.dma_pools.next->next | 4096-ptr_max |
| CAPPED_DATA | 0 | ioc->chain_depth | 1 |
| CAPPED_DATA | 0 | ioc->chains_needed_per_io | 1 |
| CAPPED_DATA | 0 | ioc->config_page | 1 |
| CAPPED_DATA | 0 | ioc->hi_priority_depth | 1 |
| CAPPED_DATA | 0 | ioc->hi_priority_smid | 1 |
| CAPPED_DATA | 0 | ioc->internal_depth | 1 |
| CAPPED_DATA | 0 | ioc->internal_smid | 1 |
| CAPPED_DATA | 0 | ioc->pcie_sgl_dma_pool | 1 |
| CAPPED_DATA | 0 | ioc->reply_free_queue_depth | 1 |
| CAPPED_DATA | 0 | ioc->reply_post | 1 |
| CAPPED_DATA | 0 | ioc->reply_post_queue_depth | 1 |
| CAPPED_DATA | 0 | ioc->scsiio_depth | 1 |
| CAPPED_DATA | 0 | ioc->shost->can_queue | 1 |
| CAPPED_DATA | 0 | ioc->shost->sg_tablesize | 1 |
| CAPPED_DATA | 0 | &ioc->pdev->dev | 1 |
| CAPPED_DATA | 1 | &pdev->dev | 1 |
| DATA_SOURCE | 0 | ioc | $0 |
| FUZZY_MAX | 0 | ioc->dma_mask | 33 |
| FUZZY_MAX | 0 | ioc->internal_depth | 10 |
| FUZZY_MAX | 0 | ioc->shost->sg_tablesize | 128 |
| NO_OVERFLOW_SIMPLE | 0 | ioc->hi_priority_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->internal_depth | |
| NO_OVERFLOW_SIMPLE | 0 | ioc->scsiio_depth |
drivers/scsi/mpt3sas/mpt3sas_base.c mpt3sas_base_map_resources() -> _base_config_dma_addressing()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ioc->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | ioc->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | ioc->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | ioc->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | *ioc->pdev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 1 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 1 | pdev->is_virtfn | 0 |
| PARAM_VALUE | 1 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 1 | *pdev->saved_config_space | 0-4294967295 |
| BUF_SIZE | 0 | ioc->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 1 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 1 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| DATA_SOURCE | 0 | ioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | pdev->current_state | 0-3[c] |