Defined in 2 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_flow_namespace_set_mode() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &esw->offloads.reps_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_create_flow_group() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fg->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_create_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ns->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_create_fte() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fte->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_delete_fte() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_destroy_flow_group() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_destroy_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ns->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_modify_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &root->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_update_fte() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fte->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c mlx5_cmd_dr_update_root_ft() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &epriv->state_lock
HALF_LOCKED2 &ns->chain_lock
HALF_LOCKED2 &root->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_create_flow_group() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fg->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_create_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ns->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_create_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ns->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_create_fte() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fte->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_delete_fte() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_destroy_flow_group() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_destroy_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ns->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_modify_flow_table() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &root->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_packet_reformat_dealloc() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &esw->offloads.encap_tbl_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &priv->macsec->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_update_fte() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fte->node.lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_cmd_hws_update_root_ft() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &epriv->state_lock
HALF_LOCKED2 &ns->chain_lock
HALF_LOCKED2 &root->chain_lock

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.c mlx5_fs_hws_action_get_pkt_reformat_id() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 lock
HALF_LOCKED2 &fte->node.lock

drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c mlx5_fs_cmd_get_default() -> mlx5_fs_cmd_get_fw_cmds()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &esw->offloads.reps_lock