Searched refs:res_opts (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_int.h | 660 struct res_opts res_opts; member 1435 extern int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts); 1436 extern struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts);
|
D | drbd_main.c | 2483 int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts) in set_resource_options() argument 2493 if (nr_cpu_ids > 1 && res_opts->cpu_mask[0] != 0) { in set_resource_options() 2494 err = bitmap_parse(res_opts->cpu_mask, DRBD_CPU_MASK_SIZE, in set_resource_options() 2503 res_opts->cpu_mask, in set_resource_options() 2504 strlen(res_opts->cpu_mask) > 12 ? "..." : "", in set_resource_options() 2516 resource->res_opts = *res_opts; in set_resource_options() 2567 struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts) in conn_create() argument 2619 if (set_resource_options(resource, res_opts)) in conn_create()
|
D | drbd_nl.c | 2893 struct res_opts res_opts; in drbd_adm_resource_opts() local 2902 res_opts = adm_ctx.resource->res_opts; in drbd_adm_resource_opts() 2904 set_res_opts_defaults(&res_opts); in drbd_adm_resource_opts() 2906 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_resource_opts() 2914 err = set_resource_options(adm_ctx.resource, &res_opts); in drbd_adm_resource_opts() 3258 err = res_opts_to_skb(skb, &resource->res_opts, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_resources() 3716 if (res_opts_to_skb(skb, &device->resource->res_opts, exclude_sensitive)) in nla_put_status_info() 4196 struct res_opts res_opts; in drbd_adm_new_resource() local 4205 set_res_opts_defaults(&res_opts); in drbd_adm_new_resource() 4206 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_new_resource() [all …]
|
D | drbd_state.c | 1198 if (device->resource->res_opts.on_no_data == OND_SUSPEND_IO && in sanitize_state()
|
/linux-6.1.9/include/linux/ |
D | drbd_genl.h | 140 GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
|