Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_xdp_submit_frame() -> mtk_xdp_frame_map()

Type Parameter Key Value
PARAM_VALUE 0 eth 4096-ptr_max
PARAM_VALUE 0 eth->page_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 eth->soc 4096-ptr_max
PARAM_VALUE 0 eth->soc->caps 9216,537335,369103363,369105923,688017476,2837663972,5276963669,5373350104,7133991668
PARAM_VALUE 0 eth->soc->reg_map 4096-ptr_max
PARAM_VALUE 0 eth->soc->version 1-255
PARAM_VALUE 0 eth->tx_ring.free_count.counter 2-s32max
PARAM_VALUE 1 dev 1-u64max
PARAM_VALUE 1 dev->netdev_ops->ndo_xdp_xmit 0,4096-ptr_max
PARAM_VALUE 2 txd_info 6129114671156535296
PARAM_VALUE 2 txd_info->addr 0
PARAM_VALUE 2 txd_info->csum 0
PARAM_VALUE 2 txd_info->gso 0
PARAM_VALUE 2 txd_info->vlan 0
PARAM_VALUE 2 txd_info->vlan_tci 0
PARAM_VALUE 4 tx_buf 4096-ptr_max
PARAM_VALUE 4 tx_buf->data 0,u32max
PARAM_VALUE 4 tx_buf->flags 0-1
PARAM_VALUE 4 tx_buf->type 0-2
PARAM_VALUE 7 index 0-s32max
DATA_SOURCE 0 eth $0
DATA_SOURCE 1 dev $2
DATA_SOURCE 4 tx_buf r mtk_desc_to_tx_buf
DATA_SOURCE 8 dma_map $3
FUZZY_MAX 4 tx_buf->flags 0
FUZZY_MAX 4 tx_buf->type 0
FUZZY_MAX 7 index 0
MEM_ZERO 4 tx_buf
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 5 data unit_byte
UNITS 6 headroom unit_byte
LOCK2 0 &eth->page_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct mtk_eth)->page_lock