Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bnxt_alloc_vf_resources() -> bnxt_set_vf_attr()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->debugfs_pdev->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 bp->debugfs_pdev->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 bp->debugfs_pdev->d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 bp->debugfs_pdev->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 bp->debugfs_pdev->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 bp->debugfs_pdev->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 bp->debugfs_pdev->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 bp->debugfs_pdev->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 bp->debugfs_pdev->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 bp->dev->ethtool->rss_indir_user_size 0-s32max
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,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,9688-u64max
PARAM_VALUE 0 bp->dev->tc_to_txq->count 0-u16max
PARAM_VALUE 0 bp->dev->tc_to_txq->offset 0-u16max
PARAM_VALUE 0 bp->dev->udp_tunnel_nic->need_replay 0-1
PARAM_VALUE 0 bp->dev->udp_tunnel_nic->need_sync 0-1
PARAM_VALUE 0 bp->flags 1-u32max
PARAM_VALUE 0 bp->hwrm_dma_pool->size 0-4294967295
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->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 bp->pdev->dev.iommu_group->default_domain 0-s64max
PARAM_VALUE 0 bp->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 bp->pdev->sriov->ctrl 0-u16max
PARAM_VALUE 0 bp->pdev->sriov->link 0-255
PARAM_VALUE 0 bp->pdev->sriov->num_VFs 0-u16max
PARAM_VALUE 0 bp->pdev->sriov->offset 0-u16max
PARAM_VALUE 0 bp->pdev->sriov->pos s32min-s32max
PARAM_VALUE 0 bp->pdev->sriov->stride 0-u16max
PARAM_VALUE 0 bp->pf.vf 4096-ptr_max
PARAM_VALUE 0 *bp->dev->name 0-255
PARAM_VALUE 0 *bp->pri2cos_idx 0-255
PARAM_VALUE 1 num_vfs 1-u16max
BUF_SIZE 0 bp->pf.vf 48-3145680
CAPPED_DATA 1 num_vfs 1
DATA_SOURCE 0 bp $0
DATA_SOURCE 1 num_vfs $1
NOSPEC 1 num_vfs
NOSPEC 1 num_vfs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 num_vfs 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 bp->hwrm_dma_pool->allocation
NO_OVERFLOW_SIMPLE 0 bp->max_tpa
NO_OVERFLOW_SIMPLE 0 bp->tx_nr_rings
NO_OVERFLOW_SIMPLE 0 bp->tx_nr_rings_per_tc
NO_OVERFLOW_SIMPLE 0 bp->tx_nr_rings_xdp
NO_OVERFLOW_SIMPLE 1 num_vfs
UNITS 1 num_vfs unit_array_size
LOCK2 &of->mutex
LOCK2 &pdev->dev.mutex
LOCK2 global &pci_rescan_remove_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex