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 be_dev_mac_add() -> be_cmd_pmac_add()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->dev_mac 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pmac_id 4096-ptr_max
PARAM_VALUE 0 adapter->uc_macs 0-s32max
PARAM_VALUE 0 *adapter->dev_mac 0-255
PARAM_VALUE 1 mac_addr 4096-ptr_max
PARAM_VALUE 3 pmac_id 4096-ptr_max
PARAM_VALUE 4 domain 0
BUF_SIZE 1 mac_addr 14,32
BUF_SIZE 1 mac_addr 14,32
CAPPED_DATA 0 adapter->uc_macs 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 mac_addr $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &adapter->rx_filter_lock

drivers/net/ethernet/emulex/benet/be_main.c be_set_vf_mac() -> be_cmd_pmac_add()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->num_vfs 1-u16max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->device 529,545,1792,1808
PARAM_VALUE 0 adapter->vf_cfg 4096-ptr_max
PARAM_VALUE 1 mac_addr 4096-ptr_max
PARAM_VALUE 3 pmac_id 4096-ptr_max
PARAM_VALUE 4 domain 1-u16max
BUF_SIZE 1 mac_addr 32
BUF_SIZE 1 mac_addr 32
CAPPED_DATA 4 domain 1
DATA_SOURCE 1 mac_addr $2
FUZZY_MAX 0 adapter->pdev->device 1808
BIT_INFO 0 adapter->pdev->device 0x200,0x731
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *mac_addr 0-255
USER_DATA 4 domain 1-u16max[c]
USER_PTR 1 mac_addr
LOCK2 global &rtnl_mutex
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 &rx_queue_mutex

drivers/net/ethernet/emulex/benet/be_main.c be_uc_mac_add() -> be_cmd_pmac_add()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->dev_mac 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->addr_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->uc.tree.rb_node 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.iommu->max_pasids 0-4294967295
PARAM_VALUE 0 adapter->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 adapter->pmac_id 4096-ptr_max
PARAM_VALUE 0 adapter->rx_filter_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->rx_filter_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adapter->rx_filter_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->rx_filter_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->rx_filter_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->rx_filter_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->rx_filter_lock.wait_lock.owner (-1)
PARAM_VALUE 0 adapter->rx_filter_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adapter->uc_list 4096-ptr_max
PARAM_VALUE 0 adapter->uc_macs 0-s32max
PARAM_VALUE 0 adapter->update_uc_list 1
PARAM_VALUE 3 pmac_id 4096-ptr_max
PARAM_VALUE 4 domain 0
BUF_SIZE 1 mac_addr 6
CAPPED_DATA 0 adapter->uc_macs 1
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &adapter->rx_filter_lock
TYPE_LOCK (struct be_adapter)->rx_filter_lock

drivers/net/ethernet/emulex/benet/be_main.c be_vf_eth_addr_config() -> be_cmd_pmac_add()

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_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 (-1)-0
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->mbox_mem.va->compl.flags 0
PARAM_VALUE 0 adapter->mbox_mem.va->compl.status 0
PARAM_VALUE 0 adapter->mcc_lock.rlock.dep_map->name 0-255
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 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 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.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 adapter->pdev->device 529,545,1792,1808
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 mac_addr 5623178903889952768
PARAM_VALUE 3 pmac_id 4096-ptr_max
PARAM_VALUE 4 domain 1-u16max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),1-s32max
BUF_SIZE 1 mac_addr 6
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 4 domain 1
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->pdev->device 0x200,0x731
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