Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_nl.c166 memset(adm_ctx, 0, sizeof(*adm_ctx)); in drbd_adm_prepare()
178 adm_ctx->reply_dh = genlmsg_put_reply(adm_ctx->reply_skb, in drbd_adm_prepare()
257 if (adm_ctx->my_addr && adm_ctx->peer_addr) in drbd_adm_prepare()
269 if (adm_ctx->device && adm_ctx->resource && in drbd_adm_prepare()
270 adm_ctx->device->resource != adm_ctx->resource) { in drbd_adm_prepare()
272 adm_ctx->minor, adm_ctx->resource->name, in drbd_adm_prepare()
279 adm_ctx->volume != adm_ctx->device->vnr) { in drbd_adm_prepare()
281 adm_ctx->minor, adm_ctx->volume, in drbd_adm_prepare()
282 adm_ctx->device->vnr, adm_ctx->device->resource->name); in drbd_adm_prepare()
289 adm_ctx->resource = adm_ctx->device ? adm_ctx->device->resource in drbd_adm_prepare()
[all …]
H A 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()
H A Ddrbd_int.h1368 extern enum drbd_ret_code drbd_create_device(struct drbd_config_context *adm_ctx, unsigned int mino…