Lines Matching refs:create_in
118 void *create_in; in create_srq_cmd() local
133 create_in = kvzalloc(inlen, GFP_KERNEL); in create_srq_cmd()
134 if (!create_in) in create_srq_cmd()
137 MLX5_SET(create_srq_in, create_in, uid, in->uid); in create_srq_cmd()
138 srqc = MLX5_ADDR_OF(create_srq_in, create_in, srq_context_entry); in create_srq_cmd()
139 pas = MLX5_ADDR_OF(create_srq_in, create_in, pas); in create_srq_cmd()
150 MLX5_SET(create_srq_in, create_in, opcode, in create_srq_cmd()
153 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, in create_srq_cmd()
155 kvfree(create_in); in create_srq_cmd()
221 void *create_in; in create_xrc_srq_cmd() local
236 create_in = kvzalloc(inlen, GFP_KERNEL); in create_xrc_srq_cmd()
237 if (!create_in) in create_xrc_srq_cmd()
240 MLX5_SET(create_xrc_srq_in, create_in, uid, in->uid); in create_xrc_srq_cmd()
241 xrc_srqc = MLX5_ADDR_OF(create_xrc_srq_in, create_in, in create_xrc_srq_cmd()
243 pas = MLX5_ADDR_OF(create_xrc_srq_in, create_in, pas); in create_xrc_srq_cmd()
254 MLX5_SET(create_xrc_srq_in, create_in, opcode, in create_xrc_srq_cmd()
258 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, in create_xrc_srq_cmd()
266 kvfree(create_in); in create_xrc_srq_cmd()
332 void *create_in = NULL; in create_rmp_cmd() local
350 create_in = kvzalloc(inlen, GFP_KERNEL); in create_rmp_cmd()
352 if (!create_in || !create_out) { in create_rmp_cmd()
357 rmpc = MLX5_ADDR_OF(create_rmp_in, create_in, ctx); in create_rmp_cmd()
361 MLX5_SET(create_rmp_in, create_in, uid, in->uid); in create_rmp_cmd()
373 MLX5_SET(create_rmp_in, create_in, opcode, MLX5_CMD_OP_CREATE_RMP); in create_rmp_cmd()
374 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, outlen); in create_rmp_cmd()
381 kvfree(create_in); in create_rmp_cmd()
479 void *create_in; in create_xrq_cmd() local
495 create_in = kvzalloc(inlen, GFP_KERNEL); in create_xrq_cmd()
496 if (!create_in) in create_xrq_cmd()
499 xrqc = MLX5_ADDR_OF(create_xrq_in, create_in, xrq_context); in create_xrq_cmd()
522 MLX5_SET(create_xrq_in, create_in, opcode, MLX5_CMD_OP_CREATE_XRQ); in create_xrq_cmd()
523 MLX5_SET(create_xrq_in, create_in, uid, in->uid); in create_xrq_cmd()
524 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, in create_xrq_cmd()
526 kvfree(create_in); in create_xrq_cmd()