Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c469 void *set_ctx; in handle_hca_cap_atomic() local
490 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap_atomic()
491 if (!set_ctx) in handle_hca_cap_atomic()
494 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_atomic()
500 err = set_caps(dev, set_ctx, set_sz, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic()
502 kfree(set_ctx); in handle_hca_cap_atomic()
508 void *set_ctx = NULL; in handle_hca_cap() local
514 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap()
515 if (!set_ctx) in handle_hca_cap()
522 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, in handle_hca_cap()
[all …]