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_alloc_sriov_res() -> be_cmd_set_sriov_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->netdev->link_watch_list.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->refcnt_tracker.list.next->next 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->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->device 1824,1832
PARAM_VALUE 0 adapter->pdev->is_physfn 1
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_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 2 num_vfs 0
PARAM_VALUE 3 vft_res 8653366760066285568
PARAM_VALUE 3 vft_res->flags 0-2
PARAM_VALUE 3 vft_res->max_rss_qs 0-3
PARAM_VALUE 3 vft_res->max_rx_qs 0-3
PARAM_VALUE 3 vft_res->max_vfs 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
CAPPED_DATA 0 adapter->pool_res.max_vfs 1
DATA_SOURCE 0 adapter $0
FUZZY_MAX 0 adapter->pdev->device 1832
BIT_INFO 0 adapter->pdev->device 0x720,0xffffffffffffffff
BIT_INFO 1 pool_res 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
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_clear() -> be_cmd_set_sriov_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
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->mbox_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 adapter->mbox_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->mcc_cq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->link_watch_list.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->refcnt_tracker.list.next->next 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->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->device 1824,1832
PARAM_VALUE 0 adapter->virtfn 0
PARAM_VALUE 0 adapter->work.work.lockdep_map->name 0-255
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 3 vft_res 5883925521805234176
PARAM_VALUE 3 vft_res->flags 0-2
PARAM_VALUE 3 vft_res->max_rss_qs 0-3
PARAM_VALUE 3 vft_res->max_rx_qs 0-3
PARAM_VALUE 3 vft_res->max_vfs 0
BUF_SIZE 0 adapter s32min-(-1),1-s32max
BUF_SIZE 0 adapter s32min-(-1),1-s32max
CAPPED_DATA 0 adapter->pdev 1
DATA_SOURCE 0 adapter $0
BIT_INFO 0 adapter->pdev->device 0x720,0xffffffffffffffff
BIT_INFO 1 pool_res 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->current_state 0-3[c]
HOST_DATA 0 adapter->pdev->sriov->max_VF_buses 0-255[c]
HOST_DATA 0 adapter->pdev->sriov->offset 0
HOST_DATA 0 adapter->pdev->sriov->stride 0
UNITS 0 adapter unit_byte

drivers/net/ethernet/emulex/benet/be_main.c be_pci_sriov_configure() -> be_cmd_set_sriov_config()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
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->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->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->mbox_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->mcc_cq_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->netdev->link_watch_list.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->netdev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
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->device 1824,1832
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 3 vft_res 8365479216593166336
PARAM_VALUE 3 vft_res->flags 0-2
PARAM_VALUE 3 vft_res->max_rss_qs 0-3
PARAM_VALUE 3 vft_res->max_rx_qs 0-3
PARAM_VALUE 3 vft_res->max_vfs 0
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 0 adapter->num_vfs 1
CAPPED_DATA 2 num_vfs 1
DATA_SOURCE 2 num_vfs $1
FUZZY_MAX 0 adapter->pdev->device 1832
BIT_INFO 0 adapter->pdev->device 0x720,0xffffffffffffffff
BIT_INFO 1 pool_res 0x0,0x0
NOSPEC 2 num_vfs
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adapter->pdev->sriov->offset 0
HOST_DATA 0 adapter->pdev->sriov->stride 0
UNITS 0 adapter unit_byte
UNITS 2 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