Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_dma_init() -> mtk_rx_alloc()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 eth->dma_dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 eth->dma_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 eth->dma_dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 eth->dma_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 eth->dma_refcnt.refs.counter 0
PARAM_VALUE 0 eth->scratch_ring 1-u64max
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->ppe_num 0-3
PARAM_VALUE 0 eth->soc->reg_map 961921292252930048,1391189395452182528,3453327253449109504,7083459244163440640
PARAM_VALUE 0 eth->soc->reg_map->pdma.glo_cfg 2564,16900,27140
PARAM_VALUE 0 eth->soc->reg_map->qdma.glo_cfg 0,6660,17924
PARAM_VALUE 0 eth->soc->tx.desc_size 16,32
PARAM_VALUE 0 eth->soc->tx.dma_size 2048
PARAM_VALUE 0 eth->soc->tx.fq_dma_size 0,2048,4096
PARAM_VALUE 0 eth->soc->version 1-3
PARAM_VALUE 0 eth->tx_ring.buf 4096-ptr_max
PARAM_VALUE 0 eth->tx_ring.dma_pdma 0-ptr_max
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd1 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd2 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd3 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd4 0
PARAM_VALUE 0 eth->tx_ring.dma_size 2048
PARAM_VALUE 0 eth->tx_ring.free_count.counter 2046
PARAM_VALUE 0 eth->tx_ring.last_free 4096-ptr_max
PARAM_VALUE 0 eth->tx_ring.next_free 1-u64max
PARAM_VALUE 0 eth->tx_ring.thresh 17
PARAM_VALUE 1 ring_no 0
PARAM_VALUE 2 rx_flag 2
CAPPED_DATA 0 eth->soc->tx.fq_dma_size 1
DATA_SOURCE 0 eth $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_dma_init() -> mtk_rx_alloc()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 eth->dma_dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 eth->dma_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 eth->dma_dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 eth->dma_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 eth->dma_refcnt.refs.counter 0
PARAM_VALUE 0 eth->dummy_dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->ppe_num 0-3
PARAM_VALUE 0 eth->soc->reg_map 961921292252930048,1391189395452182528,3453327253449109504,7083459244163440640
PARAM_VALUE 0 eth->soc->reg_map->pdma.glo_cfg 2564,16900,27140
PARAM_VALUE 0 eth->soc->reg_map->qdma.glo_cfg 0,6660,17924
PARAM_VALUE 0 eth->soc->rx.dma_size 2048
PARAM_VALUE 0 eth->soc->tx.desc_size 16,32
PARAM_VALUE 0 eth->soc->tx.dma_size 2048
PARAM_VALUE 0 eth->soc->tx.fq_dma_size 0,2048,4096
PARAM_VALUE 0 eth->soc->version 1-3
PARAM_VALUE 0 eth->tx_ring.buf 4096-ptr_max
PARAM_VALUE 0 eth->tx_ring.dma_pdma 0-ptr_max
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd1 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd2 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd3 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd4 0
PARAM_VALUE 0 eth->tx_ring.dma_size 2048
PARAM_VALUE 0 eth->tx_ring.free_count.counter 2046
PARAM_VALUE 0 eth->tx_ring.last_free 4096-ptr_max
PARAM_VALUE 0 eth->tx_ring.next_free 1-u64max
PARAM_VALUE 0 eth->tx_ring.thresh 17
PARAM_VALUE 1 ring_no 0
PARAM_VALUE 2 rx_flag 0
DATA_SOURCE 0 eth $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_dma_init() -> mtk_rx_alloc()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 eth->dma_dev->cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 eth->dma_dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 eth->dma_dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 eth->dma_dev->dma_uses_io_tlb 1
PARAM_VALUE 0 eth->dma_dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 eth->dma_dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 eth->dma_refcnt.refs.counter 0
PARAM_VALUE 0 eth->dummy_dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 eth->hwlro 1
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->ppe_num 0-3
PARAM_VALUE 0 eth->soc->reg_map 961921292252930048,1391189395452182528,3453327253449109504,7083459244163440640
PARAM_VALUE 0 eth->soc->reg_map->pdma.glo_cfg 2564,16900,27140
PARAM_VALUE 0 eth->soc->reg_map->qdma.glo_cfg 0,6660,17924
PARAM_VALUE 0 eth->soc->rx.dma_size 2048
PARAM_VALUE 0 eth->soc->tx.desc_size 16,32
PARAM_VALUE 0 eth->soc->tx.dma_size 2048
PARAM_VALUE 0 eth->soc->tx.fq_dma_size 0,2048,4096
PARAM_VALUE 0 eth->soc->version 1-3
PARAM_VALUE 0 eth->tx_ring.buf 4096-ptr_max
PARAM_VALUE 0 eth->tx_ring.dma_pdma 0-ptr_max
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd1 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd2 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd3 0
PARAM_VALUE 0 eth->tx_ring.dma_pdma->txd4 0
PARAM_VALUE 0 eth->tx_ring.dma_size 2048
PARAM_VALUE 0 eth->tx_ring.free_count.counter 2046
PARAM_VALUE 0 eth->tx_ring.last_free 4096-ptr_max
PARAM_VALUE 0 eth->tx_ring.next_free 1-u64max
PARAM_VALUE 0 eth->tx_ring.thresh 17
PARAM_VALUE 1 ring_no 1-3
PARAM_VALUE 2 rx_flag 1
CAPPED_DATA 0 eth->soc->tx.fq_dma_size 1
DATA_SOURCE 0 eth $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex