Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/spacemit/k1_emac.c emac_rx_clean_desc() -> emac_alloc_rx_desc_buffers()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->tx_global_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 priv->ndev->num_tx_queues 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/spacemit/k1_emac.c emac_up() -> emac_alloc_rx_desc_buffers()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->dev_addr 4096-ptr_max
PARAM_VALUE 0 priv->ndev->priv->pdev->dev.of_node->kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->priv->pdev->dev.of_node->properties->length s32min-s32max
PARAM_VALUE 0 priv->ndev->priv->phy_interface 0-37
PARAM_VALUE 0 priv->ndev->priv->regmap_apmu->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->regmap_apmu->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->ndev->priv->regmap_apmu->cache_dirty 0-1
PARAM_VALUE 0 priv->pdev 4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 priv->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 priv->pdev->dev.power.request 0-4
PARAM_VALUE 0 priv->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 priv->pdev->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->pdev->dev.type 0,4096-ptr_max
PARAM_VALUE 0 priv->regmap_apmu 4096-ptr_max
PARAM_VALUE 0 priv->regmap_apmu->async 0
PARAM_VALUE 0 priv->regmap_apmu->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regmap_apmu->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regmap_apmu->cache_dirty 1
PARAM_VALUE 0 priv->rx_ring.desc_addr 0-ptr_max
PARAM_VALUE 0 priv->rx_ring.head 0
PARAM_VALUE 0 priv->rx_ring.rx_desc_buf 0,16,4096-ptr_max
PARAM_VALUE 0 priv->rx_ring.tail 0
PARAM_VALUE 0 priv->rx_ring.total_size 0,4096-u32max
PARAM_VALUE 0 priv->rx_ring.tx_desc_buf 0,16,4096-ptr_max
PARAM_VALUE 0 priv->tx_ring.desc_addr 0-ptr_max
PARAM_VALUE 0 priv->tx_ring.head 0
PARAM_VALUE 0 priv->tx_ring.rx_desc_buf 16,4096-ptr_max
PARAM_VALUE 0 priv->tx_ring.tail 0
PARAM_VALUE 0 priv->tx_ring.total_size 0,4096-u32max
PARAM_VALUE 0 priv->tx_ring.tx_desc_buf 16,4096-ptr_max
PARAM_VALUE 0 *priv->ndev->name 0
CAPPED_DATA 0 priv->regmap_apmu->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regmap_apmu->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regmap_apmu->volatile_table->n_yes_ranges 1
CAPPED_DATA 0 priv->rx_ring.rx_desc_buf 1
CAPPED_DATA 0 priv->tx_ring.tx_desc_buf 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex