Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnxt/bnxt.c __bnxt_close_nic() -> bnxt_tx_disable()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 bp->flags 2-u32max
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->dev->name 0-255
BUF_SIZE 0 bp s32min,(-1),4,24,40,64,168-s32max
BUF_SIZE 0 bp s32min,(-1),4,24,40,64,168-s32max
BUF_SIZE 0 bp->ieee_pfc (-1),136
DATA_SOURCE 0 bp $0
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
NO_OVERFLOW_SIMPLE 0 bp->rx_nr_rings
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_fw_fatal_close() -> bnxt_tx_disable()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
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->name 0-255
BUF_SIZE 0 bp s32min,(-1),4,24,40,64,168-s32max
BUF_SIZE 0 bp s32min,(-1),4,24,40,64,168-s32max
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 0 &bp->dev->lock
TYPE_LOCK (struct net_device)->lock