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.c bnxt_clear_rss_ctxs() -> bnxt_del_one_rss_ctx()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
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,3552,3720,9688-u64max
PARAM_VALUE 0 bp->dev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->flags 2-u32max
PARAM_VALUE 0 bp->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 *bp->dev->name 0-255
PARAM_VALUE 2 all 0
BUF_SIZE 0 bp (-1),40,2064
BUF_SIZE 0 bp (-1),40,2064
BUF_SIZE 0 bp->ieee_pfc (-1),136
CAPPED_DATA 0 bp->dev->num_tx_queues 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->flags 0x0,0xfffffffd
BIT_INFO 0 bp->fw_cap 0x8000000000,0xffffffffffffffff
BIT_INFO 0 bp->rss_cap 0x100,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bp->current_interval 0-249[c]
USER_DATA 0 bp->stats_coal_ticks 1-999999[c]
NO_OVERFLOW_SIMPLE 0 bp->cp_nr_rings
NO_OVERFLOW_SIMPLE 0 bp->hwrm_dma_pool->allocation
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &bp->dev->lock
HALF_LOCKED2 0 &bp->dl->lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_hwrm_realloc_rss_ctx_vnic() -> bnxt_del_one_rss_ctx()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->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,3720,9688-u64max
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.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->pci_32bit_workaround 0-1
PARAM_VALUE 0 bp->hwrm_dma_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_dma_pool->size 0-4294967295
PARAM_VALUE 0 *bp->dev->name 0
PARAM_VALUE 1 rss_ctx 4096-ptr_max
PARAM_VALUE 2 all 1
DATA_SOURCE 0 bp $0
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_create_rxfh_context() -> bnxt_del_one_rss_ctx()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->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 bp->flags 1-u32max
PARAM_VALUE 0 bp->num_rss_ctx 0-32
PARAM_VALUE 0 bp->pdev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bp->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 bp->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 bp->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 bp->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 *bp->dev->name 0-255
PARAM_VALUE 0 *bp->rss_hash_key 0-255
PARAM_VALUE 1 rss_ctx->vnic.flags 0,64-u32max
PARAM_VALUE 1 rss_ctx->vnic.rss_ctx 4096-ptr_max
PARAM_VALUE 1 rss_ctx->vnic.rss_ctx->key_size 0-u16max
PARAM_VALUE 1 rss_ctx->vnic.rss_ctx->priv_size 0,8,176
PARAM_VALUE 1 rss_ctx->vnic.rss_table 0-ptr_max
PARAM_VALUE 1 rss_ctx->vnic.rss_table_size 2088
PARAM_VALUE 1 rss_ctx->vnic.vnic_id u32max
PARAM_VALUE 2 all 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *bp->rss_hash_key 0-255
USER_DATA 1 *rss_ctx->vnic.rss_hash_key 0-255
LOCK2 &dev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_remove_rxfh_context() -> bnxt_del_one_rss_ctx()

Type Parameter Key Value
PARAM_VALUE 2 all 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock