Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/block/drbd/
Ddrbd_int.h594 struct res_opts res_opts; member
1378 extern int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts);
1379 extern struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts);
Ddrbd_main.c2495 int set_resource_options(struct drbd_resource *resource, struct res_opts *res_opts) in set_resource_options() argument
2505 if (nr_cpu_ids > 1 && res_opts->cpu_mask[0] != 0) { in set_resource_options()
2506 err = bitmap_parse(res_opts->cpu_mask, DRBD_CPU_MASK_SIZE, in set_resource_options()
2515 res_opts->cpu_mask, in set_resource_options()
2516 strlen(res_opts->cpu_mask) > 12 ? "..." : "", in set_resource_options()
2528 resource->res_opts = *res_opts; in set_resource_options()
2579 struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts) in conn_create() argument
2631 if (set_resource_options(resource, res_opts)) in conn_create()
Ddrbd_nl.c2915 struct res_opts res_opts; in drbd_adm_resource_opts() local
2924 res_opts = adm_ctx.resource->res_opts; in drbd_adm_resource_opts()
2926 set_res_opts_defaults(&res_opts); in drbd_adm_resource_opts()
2928 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_resource_opts()
2936 err = set_resource_options(adm_ctx.resource, &res_opts); in drbd_adm_resource_opts()
3281 err = res_opts_to_skb(skb, &resource->res_opts, !capable(CAP_SYS_ADMIN)); in drbd_adm_dump_resources()
3739 if (res_opts_to_skb(skb, &device->resource->res_opts, exclude_sensitive)) in nla_put_status_info()
4219 struct res_opts res_opts; in drbd_adm_new_resource() local
4228 set_res_opts_defaults(&res_opts); in drbd_adm_new_resource()
4229 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_new_resource()
[all …]
Ddrbd_state.c1198 if (device->resource->res_opts.on_no_data == OND_SUSPEND_IO && in sanitize_state()
/Linux-v6.6/include/linux/
Ddrbd_genl.h140 GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,