Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/virtio_net.c virtnet_xsk_pool_disable() -> virtnet_sq_bind_xsk_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vi | 4096-ptr_max |
| PARAM_VALUE | 0 | vi->curr_queue_pairs | 1-u16max |
| PARAM_VALUE | 0 | vi->dev | 1-u64max |
| PARAM_VALUE | 0 | vi->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | vi->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | vi->rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vi->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | *vi->dev->name | 0-255 |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 2 | pool | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/virtio_net.c virtnet_xsk_pool_enable() -> virtnet_sq_bind_xsk_pool()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vi | 4096-ptr_max |
| PARAM_VALUE | 0 | vi->curr_queue_pairs | 1-u16max |
| PARAM_VALUE | 0 | vi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vi->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | vi->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | vi->rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vi->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | *vi->dev->name | 0-255 |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 2 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->dma_pages | 16,4096-ptr_max |
| PARAM_VALUE | 2 | pool->umem | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->umem->xsk_dma_list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->umem->xsk_dma_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | pool->umem->xsk_dma_list.next->prev | 4096-ptr_max |
| BUF_SIZE | 2 | pool | (-1),512-s32max |
| BUF_SIZE | 2 | pool | (-1),512-s32max |
| CAPPED_DATA | 0 | vi->hdr_len | 1 |
| DATA_SOURCE | 2 | pool | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | pool->dma_pages_cnt | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &xs->mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |