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 642
Smatch caller information:
drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_rxq_create_sw() -> fun_alloc_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | hw_desc_sz | 8 |
| PARAM_VALUE | 3 | sw_desc_sz | 24 |
| PARAM_VALUE | 4 | wb | 0 |
| PARAM_VALUE | 6 | dma_addr | 4096-ptr_max |
| PARAM_VALUE | 7 | sw_va | 4096-ptr_max |
| PARAM_VALUE | 8 | wb_va | 0 |
| BUF_SIZE | 0 | dma_dev | 1616 |
| DATA_SOURCE | 1 | depth | $3 |
| DATA_SOURCE | 5 | numa_node | r fun_irq_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | depth | unit_array_size |
| UNITS | 2 | hw_desc_sz | unit_byte |
| UNITS | 3 | sw_desc_sz | unit_byte |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_rxq_create_sw() -> fun_alloc_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->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_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dma_dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dma_dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 2 | hw_desc_sz | 64 |
| PARAM_VALUE | 3 | sw_desc_sz | 0 |
| PARAM_VALUE | 4 | wb | 0 |
| PARAM_VALUE | 6 | dma_addr | 4096-ptr_max |
| PARAM_VALUE | 7 | sw_va | 0 |
| PARAM_VALUE | 8 | wb_va | 0 |
| BUF_SIZE | 0 | dma_dev | 1616 |
| CAPPED_DATA | 0 | dma_dev | 1 |
| DATA_SOURCE | 1 | depth | $2 |
| DATA_SOURCE | 5 | numa_node | r fun_irq_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
drivers/net/ethernet/fungible/funcore/fun_queue.c fun_alloc_cqes() -> fun_alloc_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | depth | 64 |
| PARAM_VALUE | 2 | hw_desc_sz | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | sw_desc_sz | 0 |
| PARAM_VALUE | 4 | wb | 0 |
| PARAM_VALUE | 5 | numa_node | (-1) |
| PARAM_VALUE | 6 | dma_addr | 4096-ptr_max |
| PARAM_VALUE | 7 | sw_va | 0 |
| PARAM_VALUE | 8 | wb_va | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/fungible/funcore/fun_queue.c fun_alloc_rqes() -> fun_alloc_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dma_dev->cma_area->nranges | s32min-s32max |
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | depth | 16 |
| PARAM_VALUE | 2 | hw_desc_sz | 8 |
| PARAM_VALUE | 3 | sw_desc_sz | 16 |
| PARAM_VALUE | 4 | wb | 0 |
| PARAM_VALUE | 5 | numa_node | (-1) |
| PARAM_VALUE | 6 | dma_addr | 4096-ptr_max |
| PARAM_VALUE | 7 | sw_va | 4096-ptr_max |
| PARAM_VALUE | 8 | wb_va | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | hw_desc_sz | unit_byte |
| UNITS | 3 | sw_desc_sz | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/fungible/funcore/fun_queue.c fun_alloc_sqes() -> fun_alloc_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dma_dev->cma_area->nranges | s32min-s32max |
| 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->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | depth | 32 |
| PARAM_VALUE | 2 | hw_desc_sz | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | sw_desc_sz | 0 |
| PARAM_VALUE | 4 | wb | 0 |
| PARAM_VALUE | 5 | numa_node | (-1) |
| PARAM_VALUE | 6 | dma_addr | 4096-ptr_max |
| PARAM_VALUE | 7 | sw_va | 0 |
| PARAM_VALUE | 8 | wb_va | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/fungible/funeth/funeth_tx.c fun_txq_create_sw() -> fun_alloc_ring_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dma_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | hw_desc_sz | 64 |
| PARAM_VALUE | 3 | sw_desc_sz | 8 |
| PARAM_VALUE | 4 | wb | 1 |
| PARAM_VALUE | 6 | dma_addr | 4096-ptr_max |
| PARAM_VALUE | 7 | sw_va | 4096-ptr_max |
| PARAM_VALUE | 8 | wb_va | 4096-ptr_max |
| BUF_SIZE | 0 | dma_dev | 1616 |
| DATA_SOURCE | 1 | depth | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | depth | unit_array_size |
| UNITS | 3 | sw_desc_sz | unit_byte |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |