Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/fungible/funcore/fun_queue.c
- drivers/net/ethernet/fungible/funeth/funeth_rx.c
- drivers/net/ethernet/fungible/funeth/funeth_tx.c, line 669
Smatch caller information:
drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_rxq_create_sw() -> fun_free_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dma_dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dma_dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dma_dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dma_dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dma_dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dma_dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dma_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dma_dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 2 | hw_desc_sz | 8 |
| PARAM_VALUE | 3 | wb | 0 |
| PARAM_VALUE | 4 | hw_va | 1-ptr_max |
| PARAM_VALUE | 6 | sw_va | 16,4096-ptr_max |
| BUF_SIZE | 0 | dma_dev | 1616 |
| CAPPED_DATA | 0 | dma_dev | 1 |
| DATA_SOURCE | 1 | depth | $3 |
| DATA_SOURCE | 4 | hw_va | r fun_alloc_ring_mem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | depth | unit_array_size |
| UNITS | 2 | hw_desc_sz | unit_byte |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_rxq_free_sw() -> fun_free_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dma_dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | depth | 1-u32max |
| PARAM_VALUE | 2 | hw_desc_sz | 8 |
| PARAM_VALUE | 3 | wb | 0 |
| PARAM_VALUE | 6 | sw_va | 4096-ptr_max |
| CAPPED_DATA | 1 | depth | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | hw_desc_sz | unit_byte |
drivers/net/ethernet/fungible/funcore/fun_queue.c fun_free_queue() -> fun_free_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | hw_desc_sz | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | wb | 0 |
| PARAM_VALUE | 6 | sw_va | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/fungible/funcore/fun_queue.c fun_free_queue() -> fun_free_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | hw_desc_sz | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 6 | sw_va | 0 |
| CAPPED_DATA | 0 | dma_dev->cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/fungible/funcore/fun_queue.c fun_free_queue() -> fun_free_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev->cma_area->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | hw_desc_sz | 8 |
| PARAM_VALUE | 3 | wb | 0 |
| PARAM_VALUE | 4 | hw_va | 1-u64max |
| CAPPED_DATA | 0 | dma_dev->cma_area->nranges | 1 |
| CAPPED_DATA | 1 | depth | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | hw_desc_sz | unit_byte |
drivers/net/ethernet/fungible/funeth/funeth_tx.c fun_txq_free_sw() -> fun_free_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | depth | 0-u32max |
| PARAM_VALUE | 2 | hw_desc_sz | 64 |
| PARAM_VALUE | 3 | wb | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |