Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/xdp/xsk_buff_pool.c xp_assign_dev() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | 512-s32max |
| BUF_SIZE | 0 | pool | 512-s32max |
| CAPPED_DATA | 0 | pool->free_heads_cnt | 1 |
| CAPPED_DATA | 0 | pool->netdev->ifindex | 1 |
| CAPPED_DATA | 0 | pool->netdev->real_num_rx_queues | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->tx_descs_nentries | |
| NO_OVERFLOW_SIMPLE | 0 | pool->umem->chunks | |
| LOCK2 | &xs->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &o2nm_cluster_group.cs_subsys.su_mutex | ||
| TYPE_LOCK | (struct xdp_sock)->mutex |
drivers/net/ethernet/intel/idpf/xsk.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/igc/igc_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| CAPPED_DATA | 0 | pool->heads_cnt | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/engleder/tsnep_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->dma_pages_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/igb/igb_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/igc/igc_xdp.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/google/gve/gve_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| BUF_SIZE | 0 | pool | (-1),512-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/xdp/xsk.c __xsk_rcv() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &pool->rx_lock |
net/xdp/xsk.c xsk_rcv_check() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/libeth/xsk.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/virtio_net.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| BUF_SIZE | 0 | pool | (-1)-0,512-s32max |
| BUF_SIZE | 0 | pool | (-1)-0,512-s32max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pool->dma_pages_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->free_list_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | pool->heads_cnt |
drivers/net/ethernet/intel/i40e/i40e_main.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/netronome/nfp/nfp_net_common.c xsk_pool_get_rx_frame_size() -> __xsk_pool_get_rx_frame_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |