Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c bnxt_xdp_set() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->flags 512-u32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_on 0
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 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->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_pending_list->first->pprev 1-u64max
PARAM_VALUE 0 bp->hwrm_pending_list.first 4096-ptr_max
PARAM_VALUE 0 bp->hwrm_pending_list.first->pprev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 bp->rx_nr_rings s32min-u16max
PARAM_VALUE 0 *bp->dev->name 0
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 0
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->flags 0x200,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c bnxt_vf_reps_destroy() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 bp->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bp->eswitch_mode 1
PARAM_VALUE 0 bp->vf_reps 1-u64max
PARAM_VALUE 1 irq_re_init 0
PARAM_VALUE 2 link_re_init 0
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &bp->dev->lock
HALF_LOCKED2 0 &bp->dl->lock
TYPE_LOCK (struct net_device)->lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_change_mac_addr() -> bnxt_close_nic()

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 1 irq_re_init 0
PARAM_VALUE 2 link_re_init 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dev_addr_sem
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_change_mtu() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_close() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_reinit_features() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->tx_wake_thresh 19-s32max
PARAM_VALUE 2 link_re_init 0
DATA_SOURCE 0 bp $0
DATA_SOURCE 1 irq_re_init $1
DATA_SOURCE 2 link_re_init $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_reset_task() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 bp->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->dev->lock.osq.tail.counter 0-s32max
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 2 link_re_init 0
DATA_SOURCE 0 bp $0
RX_PATH
NOCHECK_CALL
LOCK2 global &rtnl_mutex
LOCK2 0 &bp->dev->lock
TYPE_LOCK (struct net_device)->lock

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_setup_mq_tc() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->flags 1-u32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_on 0
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 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->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_pending_list->first->pprev 1-u64max
PARAM_VALUE 0 bp->hwrm_pending_list.first 4096-ptr_max
PARAM_VALUE 0 bp->hwrm_pending_list.first->pprev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 bp->rx_nr_rings s32min-u16max
PARAM_VALUE 0 *bp->dev->name 0
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c bnxt_queue_remap() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dcbx_cap 8-255
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->ieee_ets 1-u64max
PARAM_VALUE 0 bp->ieee_pfc 1-u64max
PARAM_VALUE 0 bp->max_tc 1-255
PARAM_VALUE 0 bp->q_info 4096-ptr_max
PARAM_VALUE 0 bp->tc_to_qidx 4096-ptr_max
PARAM_VALUE 1 irq_re_init 0
PARAM_VALUE 2 link_re_init 0
BUF_SIZE 0 bp->ieee_pfc (-1),136
CAPPED_DATA 0 bp->max_tc 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->dcbx_cap 0x9,0xff
BIT_INFO 0 bp->phy_flags 0x0,0xfffffeff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c bnxt_dl_reload_down() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->auxdev_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->auxdev_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bp->auxdev_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->auxdev_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->auxdev_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->auxdev_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->auxdev_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bp->auxdev_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 bp->auxdev_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 bp->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bp->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bp->dev->reg_state 0-2,4-255
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 1
DATA_SOURCE 0 bp r bnxt_get_bp_from_dl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &rtnl_mutex
LOCK2 0 &bp->dev->lock
HALF_LOCKED2 &dl->lock
HALF_LOCKED2 global &pernet_ops_rwsem
TYPE_LOCK (struct net_device)->lock

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_self_test() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->edev 4096-ptr_max
PARAM_VALUE 0 bp->num_tests 1-255
PARAM_VALUE 0 bp->pf.active_vfs 0
PARAM_VALUE 0 bp->port_partition_type 0
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 0
FUZZY_MAX 0 bp->num_tests 5
BIT_INFO 0 bp->flags 0x0,0xffeffffd
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_channels() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->flags 16777216-u32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 bp->hwrm_cmd_lock.first_waiter->task->blocked_on 0
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 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->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_pending_list->first->pprev 1-u64max
PARAM_VALUE 0 bp->hwrm_pending_list.first 4096-ptr_max
PARAM_VALUE 0 bp->hwrm_pending_list.first->pprev 4096-ptr_max
PARAM_VALUE 0 bp->pdev->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 *bp->dev->name 0
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_coalesce() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->current_interval 0-250
PARAM_VALUE 0 bp->stats_coal_ticks 1-1000000
PARAM_VALUE 1 irq_re_init 1
PARAM_VALUE 2 link_re_init 0
CAPPED_DATA 0 bp->stats_coal_ticks 1
FUZZY_MAX 0 bp->current_interval 250
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]

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_ringparam() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 1 irq_re_init 0
PARAM_VALUE 2 link_re_init 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_rxfh() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 0 bp->rss_hash_key_updated 1
PARAM_VALUE 0 *bp->rss_hash_key 0-255
PARAM_VALUE 1 irq_re_init 0
PARAM_VALUE 2 link_re_init 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *bp->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_set_rxfh_fields() -> bnxt_close_nic()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->dev 4096-ptr_max
PARAM_VALUE 1 irq_re_init 0
PARAM_VALUE 2 link_re_init 0
BIT_INFO 0 bp->rss_cap 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock