Lines Matching refs:resource_name
212 adm_ctx->resource_name = nla_data(nla); in drbd_adm_prepare()
233 if (adm_ctx->resource_name) { in drbd_adm_prepare()
234 adm_ctx->resource = drbd_find_resource(adm_ctx->resource_name); in drbd_adm_prepare()
243 if (adm_ctx->resource_name) in drbd_adm_prepare()
414 char *resource_name = connection->resource->name; in conn_khelper() local
415 char *argv[] = {drbd_usermode_helper, cmd, resource_name, NULL }; in conn_khelper()
421 drbd_info(connection, "helper command: %s %s %s\n", drbd_usermode_helper, cmd, resource_name); in conn_khelper()
428 drbd_usermode_helper, cmd, resource_name, in conn_khelper()
432 drbd_usermode_helper, cmd, resource_name, in conn_khelper()
3966 const char *resource_name; in drbd_adm_get_status_all() local
3995 resource_name = nla_data(nla); in drbd_adm_get_status_all()
3996 if (!*resource_name) in drbd_adm_get_status_all()
3998 resource = drbd_find_resource(resource_name); in drbd_adm_get_status_all()
4168 const char *name = adm_ctx->resource_name; in drbd_check_resource_name()
4228 connection = conn_create(adm_ctx.resource_name, &res_opts); in drbd_adm_new_resource()