Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_snd_pkt_handler() -> nicvf_unmap_sndq_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->is_xdp | 1 |
| PARAM_VALUE | 1 | sq->xdp_page | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cq->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cmp_queue)->lock |
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_snd_pkt_handler() -> nicvf_unmap_sndq_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->is_xdp | 0 |
| PARAM_VALUE | 1 | sq->skbuff | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cq->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cmp_queue)->lock |
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_snd_pkt_handler() -> nicvf_unmap_sndq_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->is_xdp | 0 |
| PARAM_VALUE | 1 | sq->skbuff | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cq->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cmp_queue)->lock |
drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_free_snd_queue() -> nicvf_unmap_sndq_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | nic->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | nic->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | nic->pf_nacked | 0 |
| PARAM_VALUE | 0 | nic->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->cq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs->rbdr_cnt | 0-1 |
| PARAM_VALUE | 0 | nic->qs->rbdr_len | 0,8192 |
| PARAM_VALUE | 0 | nic->qs->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->sq_cnt | 1-255 |
| PARAM_VALUE | 0 | nic->qs->sq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *nic->irq_allocated | 0-1 |
| PARAM_VALUE | 0 | *nic->netdev->name | 0-255 |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->dmem.base | 1-u64max |
| PARAM_VALUE | 1 | sq->skbuff | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->tso_hdrs | 0 |
| PARAM_VALUE | 1 | sq->xdp_page | 4096-ptr_max |
| CAPPED_DATA | 0 | nic->qs->cq_cnt | 1 |
| CAPPED_DATA | 0 | nic->qs->rbdr_cnt | 1 |
| DATA_SOURCE | 0 | nic | $0 |
| DATA_SOURCE | 1 | sq | $1 |
| PARAM_COMPARE | 1 | sq->head | != $1->tail |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_free_snd_queue() -> nicvf_unmap_sndq_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->flags | 0-4294967295 |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | nic->nicvf_rx_mode_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | nic->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | nic->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | nic->pf_nacked | 0 |
| PARAM_VALUE | 0 | nic->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->cq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs->rbdr_cnt | 0-1 |
| PARAM_VALUE | 0 | nic->qs->rbdr_len | 0,8192 |
| PARAM_VALUE | 0 | nic->qs->sq | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->sq_cnt | 1-255 |
| PARAM_VALUE | 0 | nic->qs->sq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *nic->irq_allocated | 0-1 |
| PARAM_VALUE | 0 | *nic->netdev->name | 0-255 |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->dmem.base | 1-u64max |
| PARAM_VALUE | 1 | sq->skbuff | 4096-ptr_max |
| PARAM_VALUE | 1 | sq->tso_hdrs | 0 |
| PARAM_VALUE | 1 | sq->xdp_page | 4096-ptr_max |
| CAPPED_DATA | 0 | nic->qs->cq_cnt | 1 |
| CAPPED_DATA | 0 | nic->qs->rbdr_cnt | 1 |
| DATA_SOURCE | 0 | nic | $0 |
| DATA_SOURCE | 1 | sq | $1 |
| PARAM_COMPARE | 1 | sq->head | != $1->tail |
| PARAM_COMPARE | 2 | hdr_sqe | != $1->tail |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_sq_append_skb() -> nicvf_unmap_sndq_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nic->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->pdev->dev.dma_mask | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nic->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | nic->qs->sq | 4096-ptr_max |
| PARAM_VALUE | 1 | sq | 4096-ptr_max |
| PARAM_VALUE | 1 | *sq->skbuff | 4096-18446744073709547520 |
| PARAM_VALUE | 3 | subdesc_cnt | 0-254 |
| CAPPED_DATA | 0 | &nic->pdev->dev | 1 |
| CAPPED_DATA | 3 | subdesc_cnt | 1 |
| DATA_SOURCE | 0 | nic | $0 |
| DATA_SOURCE | 1 | sq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &netdev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |