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_assign_dev_shared() -> xp_assign_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq | 1-u64max |
| PARAM_VALUE | 0 | pool->fq | 1-u64max |
| PARAM_VALUE | 0 | pool->free_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->heads | 16,4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->users.refs.counter | 1 |
| PARAM_VALUE | 0 | pool->xsk_tx_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | netdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 2,4,10,12,18,20,26,28 |
| BUF_SIZE | 0 | pool | 512-s32max |
| BUF_SIZE | 0 | pool | 512-s32max |
| CAPPED_DATA | 0 | pool->free_heads_cnt | 1 |
| CAPPED_DATA | 1 | netdev->ifindex | 1 |
| DATA_SOURCE | 0 | pool | $0 |
| DATA_SOURCE | 1 | netdev | $2 |
| DATA_SOURCE | 2 | queue_id | $3 |
| FUZZY_MAX | 3 | flags | 4 |
| BIT_INFO | 3 | flags | 0x0,0x1e |
| 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 | |
| UNITS | 2 | queue_id | unit_array_size |
| 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.c xsk_bind() -> xp_assign_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq | 1-u64max |
| PARAM_VALUE | 0 | pool->fq | 1-u64max |
| PARAM_VALUE | 0 | pool->free_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->heads | 16,4096-ptr_max |
| PARAM_VALUE | 0 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->users.refs.counter | 1 |
| PARAM_VALUE | 0 | pool->xsk_tx_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xsk_tx_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->xskb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | netdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->refcnt_tracker.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736 |
| PARAM_VALUE | 3 | flags | 0-30 |
| BUF_SIZE | 0 | pool | 512-s32max |
| BUF_SIZE | 0 | pool | 512-s32max |
| CAPPED_DATA | 0 | pool->free_heads_cnt | 1 |
| CAPPED_DATA | 1 | netdev->ifindex | 1 |
| DATA_SOURCE | 0 | pool | r xp_create_and_assign_umem |
| DATA_SOURCE | 1 | netdev | r dev_get_by_index |
| BIT_INFO | 3 | flags | 0x0,0x1e |
| 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 |