Lines Matching refs:async_create
106 static int mlx5_ib_create_mkey_cb(struct mlx5r_async_create_mkey *async_create) in mlx5_ib_create_mkey_cb() argument
108 struct mlx5_ib_dev *dev = async_create->ent->dev; in mlx5_ib_create_mkey_cb()
112 MLX5_SET(create_mkey_in, async_create->in, opcode, in mlx5_ib_create_mkey_cb()
114 assign_mkey_variant(dev, &async_create->mkey, async_create->in); in mlx5_ib_create_mkey_cb()
115 return mlx5_cmd_exec_cb(&dev->async_ctx, async_create->in, inlen, in mlx5_ib_create_mkey_cb()
116 async_create->out, outlen, create_mkey_callback, in mlx5_ib_create_mkey_cb()
117 &async_create->cb_work); in mlx5_ib_create_mkey_cb()
306 struct mlx5r_async_create_mkey *async_create; in add_keys() local
312 async_create = kzalloc(sizeof(struct mlx5r_async_create_mkey), in add_keys()
314 if (!async_create) in add_keys()
316 mkc = MLX5_ADDR_OF(create_mkey_in, async_create->in, in add_keys()
319 async_create->ent = ent; in add_keys()
325 err = mlx5_ib_create_mkey_cb(async_create); in add_keys()
339 kfree(async_create); in add_keys()