Home
last modified time | relevance | path

Searched refs:set_sz (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c422 int set_sz = MLX5_ST_SZ_BYTES(set_hca_cap_in); in handle_hca_cap_atomic() local
441 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap_atomic()
451 err = set_caps(dev, set_ctx, set_sz, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic()
461 int set_sz; in handle_hca_cap_odp() local
473 set_sz = MLX5_ST_SZ_BYTES(set_hca_cap_in); in handle_hca_cap_odp()
474 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap_odp()
507 err = set_caps(dev, set_ctx, set_sz, in handle_hca_cap_odp()
520 int set_sz = MLX5_ST_SZ_BYTES(set_hca_cap_in); in handle_hca_cap() local
523 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap()
580 err = set_caps(dev, set_ctx, set_sz, in handle_hca_cap()