Home
last modified time | relevance | path

Searched refs:res_opts (Results 1 – 4 of 4) sorted by relevance

/drivers/block/drbd/
Ddrbd_nl.c2629 struct res_opts res_opts; in drbd_adm_resource_opts() local
2638 res_opts = adm_ctx.resource->res_opts; in drbd_adm_resource_opts()
2640 set_res_opts_defaults(&res_opts); in drbd_adm_resource_opts()
2642 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_resource_opts()
2650 err = set_resource_options(adm_ctx.resource, &res_opts); in drbd_adm_resource_opts()
2955 if (res_opts_to_skb(skb, &device->resource->res_opts, exclude_sensitive)) in nla_put_status_info()
3422 struct res_opts res_opts; in drbd_adm_new_resource() local
3431 set_res_opts_defaults(&res_opts); in drbd_adm_new_resource()
3432 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_new_resource()
3453 if (!conn_create(adm_ctx.resource_name, &res_opts)) in drbd_adm_new_resource()
Ddrbd_int.h685 struct res_opts res_opts; member
1437 extern int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts);
1438 extern struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts);
Ddrbd_main.c2527 int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts) in set_resource_options() argument
2537 if (nr_cpu_ids > 1 && res_opts->cpu_mask[0] != 0) { in set_resource_options()
2538 err = bitmap_parse(res_opts->cpu_mask, DRBD_CPU_MASK_SIZE, in set_resource_options()
2547 res_opts->cpu_mask, in set_resource_options()
2548 strlen(res_opts->cpu_mask) > 12 ? "..." : "", in set_resource_options()
2560 resource->res_opts = *res_opts; in set_resource_options()
2611 struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts) in conn_create() argument
2663 if (set_resource_options(resource, res_opts)) in conn_create()
Ddrbd_state.c914 if (device->resource->res_opts.on_no_data == OND_SUSPEND_IO && in sanitize_state()