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_cells() -> api_cmd_destroy_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->cell_ctxt | 1-u64max |
| 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 |
| PARAM_VALUE | 0 | chain->hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | chain->hwif->pdev | 0 |
| 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->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-1 |
| 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 | num_cells | 0-31 |
| BUF_SIZE | 0 | chain | 176 |
| DATA_SOURCE | 0 | chain | $0 |
| FUZZY_MAX | 1 | num_cells | 31 |
| PARAM_COMPARE | 1 | num_cells | < $0->num_cells |
| CONSTRAINT | 1 | num_cells | <1180 |
| HARD_MAX | 1 | num_cells | 31 |
| MEM_ZERO | 0 | chain | |
| MEM_ZERO | 0 | chain->hwif | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | chain->num_cells | |
| NO_OVERFLOW_SIMPLE | 1 | num_cells | |
| UNITS | 1 | num_cells | unit_array_size |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_create_chain() -> api_cmd_destroy_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->cell_ctxt | 1-u64max |
| 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->curr_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->head_cell_paddr | 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 |
| PARAM_VALUE | 0 | chain->hwif->attr.func_type | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.global_vf_id_of_pf | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.pci_intf_idx | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.pf_idx | 0 |
| PARAM_VALUE | 0 | chain->hwif->attr.ppf_idx | 0 |
| PARAM_VALUE | 0 | chain->hwif->pdev | 0 |
| 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->nranges | s32min-s32max |
| 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->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 | num_cells | 32 |
| BUF_SIZE | 0 | chain | 176 |
| DATA_SOURCE | 0 | chain | r devm_kzalloc |
| MEM_ZERO | 0 | chain | |
| MEM_ZERO | 0 | chain->hwif | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | chain->num_cells | |
| NO_OVERFLOW_SIMPLE | 1 | num_cells | |
| UNITS | 1 | num_cells | unit_array_size |
drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c api_cmd_destroy_chain() -> api_cmd_destroy_cells()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->hwif | 4096-ptr_max |
| DATA_SOURCE | 0 | chain | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num_cells | unit_array_size |