Searched refs:res_opts (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/block/drbd/ |
H A D | drbd_nl.c | 2628 struct res_opts res_opts; drbd_adm_resource_opts() local 2637 res_opts = adm_ctx.resource->res_opts; drbd_adm_resource_opts() 2639 set_res_opts_defaults(&res_opts); drbd_adm_resource_opts() 2641 err = res_opts_from_attrs(&res_opts, info); drbd_adm_resource_opts() 2649 err = set_resource_options(adm_ctx.resource, &res_opts); drbd_adm_resource_opts() 2954 if (res_opts_to_skb(skb, &device->resource->res_opts, exclude_sensitive)) nla_put_status_info() 3421 struct res_opts res_opts; drbd_adm_new_resource() local 3430 set_res_opts_defaults(&res_opts); drbd_adm_new_resource() 3431 err = res_opts_from_attrs(&res_opts, info); drbd_adm_new_resource() 3452 if (!conn_create(adm_ctx.resource_name, &res_opts)) drbd_adm_new_resource()
|
H A D | drbd_main.c | 2526 int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts) set_resource_options() argument 2536 if (nr_cpu_ids > 1 && res_opts->cpu_mask[0] != 0) { set_resource_options() 2537 err = bitmap_parse(res_opts->cpu_mask, DRBD_CPU_MASK_SIZE, set_resource_options() 2546 res_opts->cpu_mask, set_resource_options() 2547 strlen(res_opts->cpu_mask) > 12 ? "..." : "", set_resource_options() 2559 resource->res_opts = *res_opts; set_resource_options() 2610 struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts) conn_create() argument 2662 if (set_resource_options(resource, res_opts)) conn_create()
|
H A D | drbd_int.h | 685 struct res_opts res_opts; member in struct:drbd_resource 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);
|
H A D | drbd_state.c | 914 if (device->resource->res_opts.on_no_data == OND_SUSPEND_IO && sanitize_state()
|
Completed in 180 milliseconds