Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_init_cmp_queue() -> nicvf_alloc_q_desc_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| 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->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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 | 4096-ptr_max |
| 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->pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | nic->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | nic->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | nic->pf_acked | 0 |
| PARAM_VALUE | 0 | nic->pf_nacked | 0 |
| PARAM_VALUE | 0 | nic->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->ptp_skb | 0 |
| PARAM_VALUE | 0 | nic->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->cq | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->cq_cnt | 1-255 |
| PARAM_VALUE | 0 | nic->qs->cq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs->enable | 1 |
| PARAM_VALUE | 0 | nic->qs->rbdr_cnt | 0-1 |
| PARAM_VALUE | 0 | nic->qs->sq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs_err_task.count.counter | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.data | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.next | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.state | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.use_callback | 1 |
| PARAM_VALUE | 0 | nic->rbdr_task.count.counter | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.data | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.next | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.state | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.use_callback | 1 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.dep_map->name | 0-255 |
| 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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | nic->set_mac_pending | 0 |
| PARAM_VALUE | 0 | nic->tx_ptp_skbs.counter | 0 |
| PARAM_VALUE | 0 | *nic->irq_allocated | 1 |
| PARAM_VALUE | 0 | *nic->netdev->name | 0-255 |
| PARAM_VALUE | 1 | dmem | 4096-ptr_max |
| PARAM_VALUE | 2 | q_len | 0-1024 |
| PARAM_VALUE | 3 | desc_size | 512 |
| PARAM_VALUE | 4 | align_bytes | 512 |
| CAPPED_DATA | 0 | nic->qs->cq_cnt | 1 |
| CAPPED_DATA | 0 | nic->qs->rbdr_cnt | 1 |
| DATA_SOURCE | 0 | nic | $0 |
| DATA_SOURCE | 2 | q_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | q_len | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_init_rbdr() -> nicvf_alloc_q_desc_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| 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->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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 | 4096-ptr_max |
| 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->pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | nic->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | nic->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | nic->pf_acked | 0 |
| PARAM_VALUE | 0 | nic->pf_nacked | 0 |
| PARAM_VALUE | 0 | nic->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->ptp_skb | 0 |
| PARAM_VALUE | 0 | nic->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->cq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs->enable | 1 |
| PARAM_VALUE | 0 | nic->qs->rbdr | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->rbdr_cnt | 1 |
| PARAM_VALUE | 0 | nic->qs->sq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs_err_task.count.counter | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.data | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.next | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.state | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.use_callback | 1 |
| PARAM_VALUE | 0 | nic->rbdr_task.count.counter | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.data | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.next | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.state | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.use_callback | 1 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.dep_map->name | 0-255 |
| 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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | nic->set_mac_pending | 0 |
| PARAM_VALUE | 0 | nic->tx_ptp_skbs.counter | 0 |
| PARAM_VALUE | 0 | *nic->irq_allocated | 1 |
| PARAM_VALUE | 0 | *nic->netdev->name | 0-255 |
| PARAM_VALUE | 1 | dmem | 4096-ptr_max |
| PARAM_VALUE | 2 | q_len | 0,8192 |
| PARAM_VALUE | 3 | desc_size | 8 |
| PARAM_VALUE | 4 | align_bytes | 128 |
| CAPPED_DATA | 0 | nic->qs->cq_cnt | 1 |
| DATA_SOURCE | 0 | nic | $0 |
| DATA_SOURCE | 2 | q_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | desc_size | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/cavium/thunder/nicvf_queues.c nicvf_init_snd_queue() -> nicvf_alloc_q_desc_mem()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nic | 4096-ptr_max |
| 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->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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 | 4096-ptr_max |
| 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->pdev->msix_enabled | 1 |
| PARAM_VALUE | 0 | nic->pdev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | nic->pdev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | nic->pf_acked | 0 |
| PARAM_VALUE | 0 | nic->pf_nacked | 0 |
| PARAM_VALUE | 0 | nic->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->ptp_skb | 0 |
| PARAM_VALUE | 0 | nic->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | nic->qs->cq_len | 0-1024 |
| PARAM_VALUE | 0 | nic->qs->enable | 1 |
| PARAM_VALUE | 0 | nic->qs->rbdr_cnt | 0-1 |
| 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->qs_err_task.count.counter | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.data | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.next | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.state | 0 |
| PARAM_VALUE | 0 | nic->qs_err_task.use_callback | 1 |
| PARAM_VALUE | 0 | nic->rbdr_task.count.counter | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.data | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.next | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.state | 0 |
| PARAM_VALUE | 0 | nic->rbdr_task.use_callback | 1 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.dep_map->name | 0-255 |
| 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.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | nic->rx_mode_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | nic->set_mac_pending | 0 |
| PARAM_VALUE | 0 | nic->tx_ptp_skbs.counter | 0 |
| PARAM_VALUE | 0 | *nic->irq_allocated | 1 |
| PARAM_VALUE | 0 | *nic->netdev->name | 0-255 |
| PARAM_VALUE | 1 | dmem | 4096-ptr_max |
| PARAM_VALUE | 2 | q_len | 0-1024 |
| PARAM_VALUE | 3 | desc_size | 16 |
| PARAM_VALUE | 4 | align_bytes | 128 |
| CAPPED_DATA | 0 | nic->qs->cq_cnt | 1 |
| CAPPED_DATA | 0 | nic->qs->rbdr_cnt | 1 |
| DATA_SOURCE | 0 | nic | $0 |
| DATA_SOURCE | 2 | q_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | q_len | unit_array_size |
| HALF_LOCKED2 | &pool->lock |