Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/sriov.c mlx5_device_enable_sriov() -> mlx5_eswitch_enable()

Type Parameter Key Value
PARAM_VALUE 0 esw->dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 esw->dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 1 num_vfs 1-u16max
CAPPED_DATA 1 num_vfs 1
DATA_SOURCE 1 num_vfs $1
NOSPEC 1 num_vfs
NOSPEC 1 num_vfs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num_vfs 1-u16max[c]
NO_OVERFLOW_SIMPLE 1 num_vfs
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock