Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lib/hv.c mlx5_hv_read_config() -> mlx5_hv_config_common()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 len 128
PARAM_VALUE 3 offset 0
PARAM_VALUE 4 read 1
BUF_SIZE 1 buf 128
BUF_SIZE 1 buf 128
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 offset $3
UNITS 2 len unit_byte
LOCK2 &hv_vhca->agents_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_hv_vhca)->agents_lock

drivers/net/ethernet/mellanox/mlx5/core/lib/hv.c mlx5_hv_write_config() -> mlx5_hv_config_common()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 len 128
PARAM_VALUE 4 read 0
BUF_SIZE 1 buf 128
BUF_SIZE 1 buf 128
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 offset $3
UNITS 2 len unit_byte
HALF_LOCKED2 &hv_vhca->agents_lock
HALF_LOCKED2 &pool->lock