Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/emulex/benet/be_main.c BEx_get_resources() -> be_cmd_get_profile_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->function_caps 64-u32max
PARAM_VALUE 0 adapter->function_mode 131072-u32max
PARAM_VALUE 0 adapter->mc_type 1-4,7
PARAM_VALUE 0 adapter->num_vfs 0
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->device 545,1808
PARAM_VALUE 0 adapter->pdev->sriov->ctrl 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->num_VFs 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->offset 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->stride 0-u16max
PARAM_VALUE 0 adapter->port_num 0-1
PARAM_VALUE 0 adapter->virtfn 0
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 0 *adapter->serial_num 0-u16max
PARAM_VALUE 1 res 355182835618234368
PARAM_VALUE 1 res->flags 0
PARAM_VALUE 1 res->if_cap_flags 0
PARAM_VALUE 1 res->max_vfs 0
PARAM_VALUE 1 res->vf_if_cap_flags 0
PARAM_VALUE 2 port_res 0
PARAM_VALUE 3 profile_type 2
PARAM_VALUE 4 query 0
PARAM_VALUE 5 domain 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),1-s32max
DATA_SOURCE 0 adapter $0
FUZZY_MAX 0 adapter->port_num 1
BIT_INFO 0 adapter->function_caps 0x40,0xffffffff
BIT_INFO 0 adapter->pdev->device 0x200,0xffffffffffffffff
HARD_MAX 0 adapter->port_num 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->pdev->devfn 0-255[c]
HOST_DATA 0 adapter->sli_family 0[c]
NO_OVERFLOW_SIMPLE 0 adapter->num_vfs
UNITS 0 adapter unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/net/ethernet/emulex/benet/be_main.c be_calculate_pf_pool_rss_tables() -> be_cmd_get_profile_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_privileges 1,1792
PARAM_VALUE 0 adapter->et_cmd_compl.wait.lock.owner (-1)
PARAM_VALUE 0 adapter->et_cmd_compl.wait.lock.owner_cpu u32max
PARAM_VALUE 0 adapter->if_flags 0
PARAM_VALUE 0 adapter->if_handle (-1)
PARAM_VALUE 0 adapter->mbox_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->mcc_cq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mcc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 adapter->pdev->dev.iommu_group->default_domain 0-s64max
PARAM_VALUE 0 adapter->pdev->device 1824,1832
PARAM_VALUE 0 adapter->pdev->is_physfn 1
PARAM_VALUE 0 adapter->pdev->sriov->ctrl 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->offset 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->stride 0-u16max
PARAM_VALUE 0 adapter->pool_res.flags 0
PARAM_VALUE 0 adapter->pool_res.if_cap_flags 0,4-16784316
PARAM_VALUE 0 adapter->pool_res.max_nic_evt_qs 0
PARAM_VALUE 0 adapter->pool_res.max_rss_tables 0
PARAM_VALUE 0 adapter->pool_res.max_vfs 1-u16max
PARAM_VALUE 0 adapter->virtfn 0
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 0 *adapter->serial_num 0-u16max
PARAM_VALUE 1 res 0
PARAM_VALUE 2 port_res 167900101287845888
PARAM_VALUE 2 port_res->max_vfs 0
PARAM_VALUE 2 port_res->nic_pfs 0
PARAM_VALUE 3 profile_type 0
PARAM_VALUE 4 query 0
PARAM_VALUE 5 domain 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),1-s32max
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->pdev->device 0x720,0x728
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->sli_family 0[c]
UNITS 0 adapter unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/emulex/benet/be_main.c be_calculate_vf_res() -> be_cmd_get_profile_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->device 1824,1832
PARAM_VALUE 1 res 2503758150793809920
PARAM_VALUE 1 res->flags 0
PARAM_VALUE 1 res->if_cap_flags 0
PARAM_VALUE 1 res->max_vfs 0
PARAM_VALUE 1 res->vf_if_cap_flags 0
PARAM_VALUE 2 port_res 0
PARAM_VALUE 3 profile_type 2
PARAM_VALUE 4 query 1
PARAM_VALUE 5 domain 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),1-s32max
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->pdev->device 0x720,0x728
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->sli_family 0[c]
UNITS 0 adapter unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/net/ethernet/emulex/benet/be_main.c be_get_sriov_config() -> be_cmd_get_profile_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->cmd_privileges 1,1792
PARAM_VALUE 0 adapter->if_flags 0
PARAM_VALUE 0 adapter->if_handle (-1)
PARAM_VALUE 0 adapter->mbox_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->mbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->mbox_mem.va->compl.flags 0
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 adapter->pdev->device 0-528,530-1791,1793-u16max
PARAM_VALUE 0 adapter->pdev->is_physfn 1
PARAM_VALUE 0 adapter->pdev->sriov->ctrl 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->num_VFs 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->offset 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->stride 0-u16max
PARAM_VALUE 0 adapter->phy.link_speed (-1)
PARAM_VALUE 0 adapter->phy_state 255
PARAM_VALUE 0 adapter->virtfn 0
PARAM_VALUE 0 adapter->vlan_prio_bmap 255
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 0 *adapter->serial_num 0-u16max
PARAM_VALUE 1 res 162210046045446144
PARAM_VALUE 1 res->flags 0
PARAM_VALUE 1 res->if_cap_flags 0
PARAM_VALUE 1 res->max_vfs 0
PARAM_VALUE 1 res->vf_if_cap_flags 0
PARAM_VALUE 2 port_res 0
PARAM_VALUE 3 profile_type 2
PARAM_VALUE 4 query 0
PARAM_VALUE 5 domain 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),1-s32max
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->sli_family 0[c]
UNITS 0 adapter unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/emulex/benet/be_main.c be_vfs_if_create() -> be_cmd_get_profile_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->mbox_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 adapter->mbox_mem.va->compl.status 0
PARAM_VALUE 0 adapter->msix_entries->vector 0-4294967295
PARAM_VALUE 0 adapter->need_def_rxq 0-1
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->num_vfs 1-u16max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 adapter->pdev->device 0-544,546-1807,1809-u16max
PARAM_VALUE 0 adapter->pdev->link_bwctrl->cdev 0-s64max
PARAM_VALUE 0 adapter->pdev->msix_base 0,4096-ptr_max
PARAM_VALUE 0 adapter->pdev->sriov->ctrl 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->num_VFs 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->offset 0-u16max
PARAM_VALUE 0 adapter->pdev->sriov->stride 0-u16max
PARAM_VALUE 0 adapter->pdev->subordinate->self->link_bwctrl->cdev 0-s64max
PARAM_VALUE 0 adapter->res.flags 0
PARAM_VALUE 0 adapter->res.if_cap_flags 0,4-16784316
PARAM_VALUE 0 adapter->res.max_rss_tables 0
PARAM_VALUE 0 adapter->res.max_vfs 0
PARAM_VALUE 0 adapter->res.vf_if_cap_flags 0
PARAM_VALUE 0 adapter->vf_cfg 4096-ptr_max
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 1 res 7443835578298195968
PARAM_VALUE 1 res->flags 0
PARAM_VALUE 1 res->if_cap_flags 0,4-16784316
PARAM_VALUE 2 port_res 0
PARAM_VALUE 3 profile_type 2
PARAM_VALUE 4 query 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),1-s32max
CAPPED_DATA 0 adapter->cfg_num_rx_irqs 1
CAPPED_DATA 0 adapter->cfg_num_tx_irqs 1
CAPPED_DATA 0 adapter->num_rx_qs 1
CAPPED_DATA 0 adapter->num_vfs 1
CAPPED_DATA 5 domain 1
DATA_SOURCE 0 adapter $0
NOSPEC 0 adapter->num_vfs
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adapter->num_msix_roce_vec 1-1073741823[c]
HOST_DATA 0 adapter->pdev->acs_capabilities 0-u16max
HOST_DATA 0 adapter->pdev->class 0-16777215
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->pdev->devcap 0-u32max
HOST_DATA 0 adapter->pdev->devfn 0-503[c]
HOST_DATA 0 adapter->pdev->eetlp_prefix_max 0-7[c]
HOST_DATA 0 adapter->pdev->fm_enabled 0-1[c]
HOST_DATA 0 adapter->pdev->hdr_type 0-255[c]
HOST_DATA 0 adapter->pdev->ide_cfg 0-1[c]
HOST_DATA 0 adapter->pdev->ide_tee_limit 0-1[c]
HOST_DATA 0 adapter->pdev->irq 0-255
HOST_DATA 0 adapter->pdev->is_cxl 0-1
HOST_DATA 0 adapter->pdev->multifunction 0-1[c]
HOST_DATA 0 adapter->pdev->nr_ide_mem 0-255[c]
HOST_DATA 0 adapter->pdev->pcie_flags_reg 0-u16max
HOST_DATA 0 adapter->pdev->pcie_mpss 0-7[c]
HOST_DATA 0 adapter->pdev->pin 0
HOST_DATA 0 adapter->pdev->pme_support 0-31[c]
HOST_DATA 0 adapter->pdev->ptm_granularity 0-255[c]
HOST_DATA 0 adapter->pdev->revision 0-255
HOST_DATA 0 adapter->pdev->subsystem_device 0-u16max
HOST_DATA 0 adapter->pdev->subsystem_vendor 0-u16max
HOST_DATA 0 adapter->pdev->supported_speeds 0,2-254[c]
HOST_DATA 0 adapter->pdev->transparent 0[c]
HOST_DATA 0 adapter->pdev->vendor 0-u16max
HOST_DATA 0 adapter->sli_family 0[c]
USER_DATA 0 adapter->num_msix_roce_vec 1-1073741823[c]
USER_DATA 0 adapter->num_vfs 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 adapter->num_vfs
NO_OVERFLOW_SIMPLE 0 adapter->res.max_mcast_mac
NO_OVERFLOW_SIMPLE 0 adapter->res.max_uc_mac
UNITS 0 adapter unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &pci_rescan_remove_lock