Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/xdp/xsk_buff_pool.c xp_create_and_assign_umem() -> xp_init_xskb_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xskb | 4096-ptr_max |
| PARAM_VALUE | 1 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 0-18446744065119617025 |
| BUF_SIZE | 0 | xskb->pool | 512-34359738872 |
| BUF_SIZE | 1 | pool | 512-34359738872 |
| BUF_SIZE | 1 | pool | 512-34359738872 |
| BUF_SIZE | 1 | pool->heads | 0-549755813760 |
| DATA_SOURCE | 1 | pool | r __kvmalloc_node_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xskb->pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | xskb->pool->heads_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | xskb->pool->tx_descs_nentries | |
| NO_OVERFLOW_SIMPLE | 1 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | pool->heads_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | pool->tx_descs_nentries | |
| NO_OVERFLOW_SIMPLE | 1 | 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 |
net/xdp/xsk_buff_pool.c xp_get_xskb() -> xp_init_xskb_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 0-18446744073709551614 |
| BUF_SIZE | 1 | pool | (-1)-0,4,24,64,168-s32max |
| BUF_SIZE | 1 | pool | (-1)-0,4,24,64,168-s32max |
| DATA_SOURCE | 1 | pool | $0 |
| DATA_SOURCE | 2 | addr | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | pool->dma_pages_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | pool->fq->cached_cons | |
| NO_OVERFLOW_SIMPLE | 1 | pool->fq->ring->consumer | |
| NO_OVERFLOW_SIMPLE | 1 | pool->free_heads_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | pool->free_list_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | pool->heads_cnt | |
| NO_OVERFLOW_SIMPLE | 1 | pool->queue_id | |
| HALF_LOCKED2 | 1 | &pool->rx_lock |