Lines Matching refs:async_create
109 static int mlx5_ib_create_mkey_cb(struct mlx5r_async_create_mkey *async_create) in mlx5_ib_create_mkey_cb() argument
111 struct mlx5_ib_dev *dev = async_create->ent->dev; in mlx5_ib_create_mkey_cb()
115 MLX5_SET(create_mkey_in, async_create->in, opcode, in mlx5_ib_create_mkey_cb()
117 assign_mkey_variant(dev, &async_create->mkey, async_create->in); in mlx5_ib_create_mkey_cb()
118 return mlx5_cmd_exec_cb(&dev->async_ctx, async_create->in, inlen, in mlx5_ib_create_mkey_cb()
119 async_create->out, outlen, create_mkey_callback, in mlx5_ib_create_mkey_cb()
120 &async_create->cb_work); in mlx5_ib_create_mkey_cb()
322 struct mlx5r_async_create_mkey *async_create; in add_keys() local
328 async_create = kzalloc(sizeof(struct mlx5r_async_create_mkey), in add_keys()
330 if (!async_create) in add_keys()
332 mkc = MLX5_ADDR_OF(create_mkey_in, async_create->in, in add_keys()
335 async_create->ent = ent; in add_keys()
341 err = mlx5_ib_create_mkey_cb(async_create); in add_keys()
355 kfree(async_create); in add_keys()