Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
Ddrbd_nl.c159 static int drbd_adm_prepare(struct drbd_config_context *adm_ctx, in drbd_adm_prepare() argument
166 memset(adm_ctx, 0, sizeof(*adm_ctx)); in drbd_adm_prepare()
172 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare()
173 if (!adm_ctx->reply_skb) { in drbd_adm_prepare()
178 adm_ctx->reply_dh = genlmsg_put_reply(adm_ctx->reply_skb, in drbd_adm_prepare()
182 if (!adm_ctx->reply_dh) { in drbd_adm_prepare()
187 adm_ctx->reply_dh->minor = d_in->minor; in drbd_adm_prepare()
188 adm_ctx->reply_dh->ret_code = NO_ERROR; in drbd_adm_prepare()
190 adm_ctx->volume = VOLUME_UNSPECIFIED; in drbd_adm_prepare()
200 err = nla_put_nohdr(adm_ctx->reply_skb, in drbd_adm_prepare()
[all …]
Ddrbd_main.c2683 enum drbd_ret_code drbd_create_device(struct drbd_config_context *adm_ctx, unsigned int minor) in drbd_create_device() argument
2685 struct drbd_resource *resource = adm_ctx->resource; in drbd_create_device()
2691 int vnr = adm_ctx->volume; in drbd_create_device()
Ddrbd_int.h1371 extern enum drbd_ret_code drbd_create_device(struct drbd_config_context *adm_ctx, unsigned int mino…