Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/fs_core.c mlx5_get_root_namespace() -> mlx5_get_flow_vport_namespace()

Type Parameter Key Value
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 dev->priv.roce.fg->node.parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->priv.roce.fg->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 0 dev->priv.roce.ft->node.parent->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->priv.roce.ft->node.parent->lock.first_waiter->type 0-1
PARAM_VALUE 1 type 10-11,27-28
PARAM_VALUE 2 vport_idx 0
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 type $1
BIT_INFO 1 type 0x8,0x1f
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->cmd.pool->allocation
NO_OVERFLOW_SIMPLE 0 dev->priv.eswitch->esw_funcs.num_vfs
UNITS 0 dev unit_byte
HALF_LOCKED2 lock
HALF_LOCKED2 0 &dev->priv.eswitch->mode_lock

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_set_master_egress_rule() -> mlx5_get_flow_vport_namespace()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->priv.eswitch 4096-ptr_max
PARAM_VALUE 0 dev->priv.steering 0,4096-ptr_max
PARAM_VALUE 1 type 10
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ldev->lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_slave_egress_create_resources() -> mlx5_get_flow_vport_namespace()

Type Parameter Key Value
PARAM_VALUE 1 type 10
LOCK2 &ldev->lock
TYPE_LOCK (struct mlx5_lag)->lock

drivers/infiniband/hw/mlx5/fs.c _get_flow_table() -> mlx5_get_flow_vport_namespace()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 1 type 27-28
DATA_SOURCE 1 type $2
FUZZY_MAX 1 type 27
BIT_INFO 1 type 0x18,0x1f
UNITS 0 dev unit_byte
LOCK2 &dev->flow_db->lock
TYPE_LOCK (struct mlx5_ib_flow_db)->lock

drivers/net/ethernet/mellanox/mlx5/core/esw/acl/helper.c esw_acl_table_create() -> mlx5_get_flow_vport_namespace()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.hca 4096-ptr_max
PARAM_VALUE 1 type 10-11
DATA_SOURCE 1 type $2
BIT_INFO 1 type 0xa,0xb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &esw->offloads.reps_lock
HALF_LOCKED2 &esw->state_lock