Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_init_slave() -> mlx4_comm_get_version()

Type Parameter Key Value
LOCK2 &priv->cmd.slave_cmd_mutex
TYPE_LOCK (struct mlx4_cmd)->slave_cmd_mutex

drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_master_do_cmd() -> mlx4_comm_get_version()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock