Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_create_cell() -> alloc_cmd_buf()

Type Parameter Key Value
PARAM_VALUE 0 chain 4096-ptr_max
PARAM_VALUE 0 chain->cell_ctxt 4096-ptr_max
PARAM_VALUE 0 chain->cell_ctxt->api_cmd_paddr 0
PARAM_VALUE 0 chain->cell_ctxt->api_cmd_vaddr 0
PARAM_VALUE 0 chain->cell_ctxt->cell_paddr 0
PARAM_VALUE 0 chain->cell_ctxt->cell_vaddr 0
PARAM_VALUE 0 chain->cell_size 64
PARAM_VALUE 0 chain->chain_type 2
PARAM_VALUE 0 chain->cons_idx 0
PARAM_VALUE 0 chain->head_node 0,4096-ptr_max
PARAM_VALUE 0 chain->hwif 4096-ptr_max
PARAM_VALUE 0 chain->hwif->attr.func_idx 0-1023
PARAM_VALUE 0 chain->hwif->attr.func_type 0-2
PARAM_VALUE 0 chain->hwif->attr.global_vf_id_of_pf 0-1023
PARAM_VALUE 0 chain->hwif->attr.pci_intf_idx 0-3
PARAM_VALUE 0 chain->hwif->attr.pf_idx 0-15
PARAM_VALUE 0 chain->hwif->attr.ppf_idx 0-31
PARAM_VALUE 0 chain->hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 chain->hwif->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 chain->hwif->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 chain->hwif->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chain->hwif->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 chain->hwif->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chain->hwif->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 chain->hwif->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 chain->hwif->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 chain->hwif->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chain->hwif->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 chain->hwif->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 chain->hwif->pdev->dev.iommu->pci_32bit_workaround 0
PARAM_VALUE 0 chain->num_cells 32
PARAM_VALUE 0 chain->prod_idx 0
PARAM_VALUE 0 chain->wb_status 1-ptr_max
PARAM_VALUE 0 chain->wb_status->header 0
PARAM_VALUE 0 chain->wb_status->rsvd0 0
PARAM_VALUE 0 chain->wb_status->rsvd1 0
PARAM_VALUE 0 chain->wb_status->rsvd2 0
PARAM_VALUE 0 chain->wb_status->rsvd3 0
PARAM_VALUE 0 chain->wb_status->status 0
PARAM_VALUE 1 cell 4096-ptr_max
PARAM_VALUE 1 cell->read.hw_wb_resp_paddr 0
PARAM_VALUE 2 cell_idx 0-31
BUF_SIZE 0 chain 176
BUF_SIZE 0 chain->head_node 64,u64max
BUF_SIZE 1 cell 64
BUF_SIZE 1 cell 64
DATA_SOURCE 0 chain $0
DATA_SOURCE 1 cell r dma_alloc_coherent
DATA_SOURCE 2 cell_idx $1
FUZZY_MAX 2 cell_idx 31
CONSTRAINT 2 cell_idx <1180
HARD_MAX 2 cell_idx 31
MEM_ZERO 0 chain
MEM_ZERO 1 cell
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chain->num_cells
NO_OVERFLOW_SIMPLE 2 cell_idx
UNITS 2 cell_idx unit_array_size