Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/ice/ice_xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| LOCK2 | &vsi->xdp_state_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ice_vsi)->xdp_state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/pool.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->chunk_size | 0-u16max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 32 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 1 | dev | 1616 |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| LOCK2 | &priv->state_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx5e_priv)->state_lock |
drivers/net/ethernet/engleder/tsnep_xdp.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 32 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/i40e/i40e_xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/igc/igc_xdp.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 1 | dev | 1616 |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/google/gve/gve_main.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/igb/igb_xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/libeth/xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | dev | unit_byte |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/freescale/fec_main.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 0 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/virtio_net.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 1-u64max |
| PARAM_VALUE | 2 | attrs | 0 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/netronome/nfp/nfp_net_xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 0 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 34 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c xsk_pool_dma_map() -> xp_dma_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | attrs | 0 |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 3 | pages | 1-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | dev | $1 |
| DATA_SOURCE | 2 | attrs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| UNITS | 1 | dev | unit_byte |
| UNITS | 4 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |