Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c bnxt_rx_xdp() -> bnxt_alloc_rx_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pdev->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->rx_dir | 0-2 |
| PARAM_VALUE | 1 | rxr | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->bnapi | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->bnapi->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->rx_buf_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->xdp_prog | 4096-ptr_max |
| PARAM_VALUE | 3 | gfp | 2080 |
| CAPPED_DATA | 0 | bp->rx_dir | 1 |
| CAPPED_DATA | 1 | rxr->rx_next_cons | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | rxr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_alloc_one_rx_ring_skb() -> bnxt_alloc_rx_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 0 | bp->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536872499,s32max |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,40,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 | bp->hwrm_cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->size | 0-4294967295 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bp->rx_nr_rings | 1-s32max |
| PARAM_VALUE | 0 | bp->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->rx_ring_size | 1-u32max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->pri2cos_idx | 0-255 |
| PARAM_VALUE | 1 | rxr | 4096-ptr_max |
| PARAM_VALUE | 3 | gfp | 3264 |
| CAPPED_DATA | 0 | bp->hwrm_dma_pool->size | 1 |
| CAPPED_DATA | 0 | bp->rx_nr_rings | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | rxr | $1 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | bp->dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | bp->hwrm_dma_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | bp->max_tpa | |
| NO_OVERFLOW_SIMPLE | 0 | bp->nr_vnics | |
| NO_OVERFLOW_SIMPLE | 0 | bp->port_stats.len | |
| NO_OVERFLOW_SIMPLE | 0 | bp->rx_nr_rings | |
| NO_OVERFLOW_SIMPLE | 0 | bp->rx_port_stats_ext.len | |
| NO_OVERFLOW_SIMPLE | 0 | bp->tx_nr_rings | |
| NO_OVERFLOW_SIMPLE | 0 | bp->tx_port_stats_ext.len | |
| NO_OVERFLOW_SIMPLE | 0 | bp->tx_push_size | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &bp->dev->lock |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_rx_multi_page_skb() -> bnxt_alloc_rx_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->rx_copybreak | 0-65534 |
| PARAM_VALUE | 1 | rxr | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->rx_buf_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->xdp_prog | 0,4096-ptr_max |
| PARAM_VALUE | 3 | gfp | 2080 |
| CAPPED_DATA | 0 | bp->rx_copybreak | 1 |
| CAPPED_DATA | 1 | rxr->rx_next_cons | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | rxr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bp->ptp_cfg->current_time | 0-u64max |
| HOST_DATA | 0 | bp->ptp_cfg->old_time | 0-u32max |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_rx_page_skb() -> bnxt_alloc_rx_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->rx_copybreak | 0-65534 |
| PARAM_VALUE | 1 | rxr | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->rx_buf_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->xdp_prog | 0,4096-ptr_max |
| PARAM_VALUE | 3 | gfp | 2080 |
| CAPPED_DATA | 0 | bp->rx_copybreak | 1 |
| CAPPED_DATA | 1 | rxr->rx_next_cons | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | rxr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bp->ptp_cfg->current_time | 0-u64max |
| HOST_DATA | 0 | bp->ptp_cfg->old_time | 0-u32max |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_rx_skb() -> bnxt_alloc_rx_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->rx_copybreak | 0-65534 |
| PARAM_VALUE | 1 | rxr | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->rx_buf_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | rxr->xdp_prog | 0,4096-ptr_max |
| PARAM_VALUE | 3 | gfp | 2080 |
| CAPPED_DATA | 0 | bp->rx_copybreak | 1 |
| CAPPED_DATA | 1 | rxr->rx_next_cons | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | rxr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bp->ptp_cfg->current_time | 0-u64max |
| HOST_DATA | 0 | bp->ptp_cfg->old_time | 0-u32max |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |