Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_sriov_configure() -> idpf_send_set_sriov_vfs_msg()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 1 num_vfs 0
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->sriov->offset 0
HOST_DATA 0 adapter->pdev->sriov->stride 0
UNITS 0 adapter unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_sriov_ena() -> idpf_send_set_sriov_vfs_msg()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 1 num_vfs 1-u16max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
CAPPED_DATA 1 num_vfs 1
DATA_SOURCE 0 adapter $0
DATA_SOURCE 1 num_vfs $1
NOSPEC 1 num_vfs
RX_PATH
TASK_NOT_RUNNING
UNITS 0 adapter unit_byte
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

drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_sriov_ena() -> idpf_send_set_sriov_vfs_msg()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->hw.arq 4096-ptr_max
PARAM_VALUE 0 adapter->hw.asq->next_to_use 0-63,65-u16max
PARAM_VALUE 0 adapter->hw.asq->ring_size 64
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->available_count 0-s64max
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_io_tlb_pools.next->prev->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.dma_uses_io_tlb 1
PARAM_VALUE 0 adapter->vcxn_mngr 4096-ptr_max
PARAM_VALUE 0 adapter->vcxn_mngr->salt 0-255
PARAM_VALUE 0 adapter->vcxn_mngr->xn_bm_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *adapter->hw.asq->bi.tx_msg 0
PARAM_VALUE 1 num_vfs 0
BUF_SIZE 0 adapter s32min-(-2),1-s32max
BUF_SIZE 0 adapter s32min-(-2),1-s32max
DATA_SOURCE 0 adapter $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adapter->pdev->sriov->initial_VFs 0
HOST_DATA 0 adapter->pdev->sriov->offset 0
HOST_DATA 0 adapter->pdev->sriov->stride 0
UNITS 0 adapter unit_byte
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