Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/freescale/enetc/enetc_qos.c enetc_setup_taprio() -> enetc_cbd_alloc_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cbd | 4999258075026591744 |
| PARAM_VALUE | 1 | cbd->_res | 0 |
| PARAM_VALUE | 1 | cbd->cls | 0 |
| PARAM_VALUE | 1 | cbd->cmd | 0 |
| PARAM_VALUE | 1 | cbd->index | 0 |
| PARAM_VALUE | 1 | cbd->length | 0 |
| PARAM_VALUE | 3 | dma | 9198941688987451392 |
| PARAM_VALUE | 4 | data_align | 1479281389347479552 |
| DATA_SOURCE | 2 | size | r size_add |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | si | unit_byte |
drivers/net/ethernet/freescale/enetc/enetc_qos.c enetc_streamcounter_hw_get() -> enetc_cbd_alloc_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cbd | 6360514716266778624 |
| PARAM_VALUE | 1 | cbd->_res | 0 |
| PARAM_VALUE | 1 | cbd->cls | 8 |
| PARAM_VALUE | 1 | cbd->cmd | 2 |
| PARAM_VALUE | 1 | cbd->length | 0 |
| PARAM_VALUE | 2 | size | 32 |
| PARAM_VALUE | 3 | dma | 746316947844444160 |
| PARAM_VALUE | 4 | data_align | 8648713225740222464 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | si | unit_byte |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/freescale/enetc/enetc_qos.c enetc_streamgate_hw_set() -> enetc_cbd_alloc_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.bd_base | 1-u64max |
| PARAM_VALUE | 0 | si->cbd_ring.cir | 0-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | si->cbd_ring.pir | 0-ptr_max |
| PARAM_VALUE | 0 | si->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->pdev->devfn | 0-2,6 |
| PARAM_VALUE | 1 | cbd | 4565755853320192000 |
| PARAM_VALUE | 1 | cbd->_res | 0 |
| PARAM_VALUE | 1 | cbd->cls | 9 |
| PARAM_VALUE | 1 | cbd->cmd | 1 |
| PARAM_VALUE | 1 | cbd->length | 0 |
| PARAM_VALUE | 1 | cbd->sgcl_conf.acl_len | 0-1 |
| PARAM_VALUE | 3 | dma | 8891563133550202880 |
| PARAM_VALUE | 4 | data_align | 5327975757036335104 |
| DATA_SOURCE | 2 | size | r size_add |
| MEM_ZERO | 1 | cbd | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | si | unit_byte |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/freescale/enetc/enetc_qos.c enetc_streamid_hw_set() -> enetc_cbd_alloc_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | si->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->pdev->devfn | 0-2,6 |
| PARAM_VALUE | 1 | cbd | 7622181337673211904 |
| PARAM_VALUE | 1 | cbd->_res | 0 |
| PARAM_VALUE | 1 | cbd->cls | 7 |
| PARAM_VALUE | 1 | cbd->cmd | 0 |
| PARAM_VALUE | 1 | cbd->length | 0 |
| PARAM_VALUE | 2 | size | 8 |
| PARAM_VALUE | 3 | dma | 4842995859680210944 |
| PARAM_VALUE | 4 | data_align | 8940306931808616448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | si | unit_byte |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/freescale/enetc/enetc_cbdr.c enetc_cmd_rss_table() -> enetc_cbd_alloc_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cbd | 790975420311470080 |
| PARAM_VALUE | 1 | cbd->_res | 0 |
| PARAM_VALUE | 1 | cbd->cls | 0 |
| PARAM_VALUE | 1 | cbd->cmd | 0 |
| PARAM_VALUE | 1 | cbd->index | 0 |
| PARAM_VALUE | 1 | cbd->length | 0 |
| PARAM_VALUE | 2 | size | 64-s32max |
| PARAM_VALUE | 3 | dma | 3026913893903286272 |
| PARAM_VALUE | 4 | data_align | 7308728292914851840 |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si->ops | (-1),32 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | size | $2 |
| FUZZY_MAX | 2 | size | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | si->num_rx_rings | 1-255 |
| HOST_DATA | 0 | si->num_tx_rings | 0-255 |
| HOST_DATA | 0 | si->revision | 256,1025,1027[c] |
| NO_OVERFLOW_SIMPLE | 0 | si->num_rss | |
| NO_OVERFLOW_SIMPLE | 2 | size | |
| UNITS | 0 | si | unit_byte |
| UNITS | 2 | size | unit_array_size |
| HALF_LOCKED2 | &ndev->ethtool->rss_lock |
drivers/net/ethernet/freescale/enetc/enetc_cbdr.c enetc_set_fs_entry() -> enetc_cbd_alloc_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | cbd | 3293492414261911552 |
| PARAM_VALUE | 1 | cbd->_res | 0 |
| PARAM_VALUE | 1 | cbd->cls | 4 |
| PARAM_VALUE | 1 | cbd->cmd | 0 |
| PARAM_VALUE | 1 | cbd->length | 0 |
| PARAM_VALUE | 2 | size | 116 |
| PARAM_VALUE | 3 | dma | 7255264968854089728 |
| PARAM_VALUE | 4 | data_align | 565349113726795776 |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si->ops | (-1),32 |
| DATA_SOURCE | 0 | si | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | si->revision | 256,1025,1027[c] |
| USER_DATA | 1 | cbd->index | 0-u16max[c] |
| UNITS | 0 | si | unit_byte |
| UNITS | 2 | size | unit_byte |