Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/xdp/xsk_buff_pool.c xp_create_and_assign_umem() -> xp_alloc_tx_descs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->heads | 1-18446744073709551614 |
| PARAM_VALUE | 1 | xs | 4096-ptr_max |
| PARAM_VALUE | 1 | xs->cq_tmp | 1-u64max |
| PARAM_VALUE | 1 | xs->fq_tmp | 1-u64max |
| PARAM_VALUE | 1 | xs->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | xs->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | xs->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | xs->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | xs->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | xs->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | xs->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | xs->state | 0 |
| PARAM_VALUE | 1 | xs->tx | 1-u64max |
| BUF_SIZE | 0 | pool | 512-34359738872 |
| BUF_SIZE | 0 | pool | 512-34359738872 |
| BUF_SIZE | 0 | pool->heads | 0-549755813760 |
| DATA_SOURCE | 0 | pool | r __kvmalloc_node_noprof |
| DATA_SOURCE | 1 | xs | $0 |
| DATA_SOURCE | 2 | max_segs | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | xs | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 1 | &xs->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.c xsk_bind() -> xp_alloc_tx_descs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->tx_descs | 0 |
| PARAM_VALUE | 1 | xs | 4096-ptr_max |
| PARAM_VALUE | 1 | xs->cq_tmp | 0 |
| PARAM_VALUE | 1 | xs->fq_tmp | 0 |
| PARAM_VALUE | 1 | xs->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | xs->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | xs->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | xs->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | xs->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | xs->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | xs->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | xs->pool | 4096-ptr_max |
| PARAM_VALUE | 1 | xs->pool->tx_descs | 0 |
| PARAM_VALUE | 1 | xs->state | 0 |
| PARAM_VALUE | 1 | xs->tx | 1-u64max |
| PARAM_VALUE | 1 | xs->umem | 0 |
| CAPPED_DATA | 1 | &xs->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | xs | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 1 | &xs->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 |