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_free_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev | 4096-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_lock.rlock.dep_map->name | 0-255 |
| 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->attach_deferred | 0-1 |
| PARAM_VALUE | 2 | data | 1-ptr_max |
| PARAM_VALUE | 3 | dma | 9198941688987451392 |
| BUF_SIZE | 2 | data | s32min-s32max |
| CAPPED_DATA | 0 | si->cbd_ring.dma_dev | 1 |
| DATA_SOURCE | 1 | size | r size_add |
| DATA_SOURCE | 2 | data | r enetc_cbd_alloc_data_mem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | si | unit_byte |
drivers/net/ethernet/freescale/enetc/enetc_qos.c enetc_streamcounter_hw_get() -> enetc_cbd_free_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev | 4096-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_lock.rlock.dep_map->name | 0-255 |
| 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->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | size | 32 |
| PARAM_VALUE | 2 | data | 1-ptr_max |
| PARAM_VALUE | 3 | dma | 746316947844444160 |
| BUF_SIZE | 2 | data | s32min-s32max |
| CAPPED_DATA | 0 | si->cbd_ring.dma_dev | 1 |
| DATA_SOURCE | 2 | data | r enetc_cbd_alloc_data_mem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | si | unit_byte |
| UNITS | 1 | 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_free_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 | 4096-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_lock.rlock.dep_map->name | 0-255 |
| 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->attach_deferred | 0-1 |
| 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 | 2 | data | 1-ptr_max |
| PARAM_VALUE | 3 | dma | 8891563133550202880 |
| BUF_SIZE | 2 | data | s32min-s32max |
| CAPPED_DATA | 0 | si->cbd_ring.dma_dev | 1 |
| DATA_SOURCE | 1 | size | r size_add |
| DATA_SOURCE | 2 | data | r enetc_cbd_alloc_data_mem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_free_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev | 4096-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_lock.rlock.dep_map->name | 0-255 |
| 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->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | si->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | si->pdev->devfn | 0-2,6 |
| PARAM_VALUE | 1 | size | 8 |
| PARAM_VALUE | 2 | data | 1-ptr_max |
| PARAM_VALUE | 3 | dma | 4842995859680210944 |
| BUF_SIZE | 2 | data | s32min-s32max |
| CAPPED_DATA | 0 | si->cbd_ring.dma_dev | 1 |
| DATA_SOURCE | 2 | data | r enetc_cbd_alloc_data_mem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | si | unit_byte |
| UNITS | 1 | 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_free_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev | 0,4096-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_lock.rlock.dep_map->name | 0-255 |
| 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->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | si->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 64-s32max |
| PARAM_VALUE | 2 | data | 1-ptr_max |
| PARAM_VALUE | 3 | dma | 3026913893903286272 |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si->ops | (-1),32 |
| CAPPED_DATA | 0 | si->cbd_ring.dma_dev | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 1 | size | $2 |
| DATA_SOURCE | 2 | data | r enetc_cbd_alloc_data_mem |
| FUZZY_MAX | 1 | size | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 | 1 | size | |
| UNITS | 0 | si | unit_byte |
| UNITS | 1 | size | unit_array_size |
| HALF_LOCKED2 | &ndev->ethtool->rss_lock |
drivers/net/ethernet/freescale/enetc/enetc_cbdr.c enetc_set_fs_entry() -> enetc_cbd_free_data_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | si | 4096-ptr_max |
| PARAM_VALUE | 0 | si->cbd_ring.dma_dev | 4096-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_lock.rlock.dep_map->name | 0-255 |
| 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->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | size | 116 |
| PARAM_VALUE | 2 | data | 1-ptr_max |
| PARAM_VALUE | 3 | dma | 7255264968854089728 |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | si->ops | (-1),32 |
| BUF_SIZE | 2 | data | s32min-s32max |
| CAPPED_DATA | 0 | si->cbd_ring.dma_dev | 1 |
| DATA_SOURCE | 0 | si | $0 |
| DATA_SOURCE | 2 | data | r enetc_cbd_alloc_data_mem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | si->revision | 256,1025,1027[c] |
| UNITS | 0 | si | unit_byte |
| UNITS | 1 | size | unit_byte |