Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_nl.c2405 struct res_opts res_opts; in drbd_adm_resource_opts() local
2415 res_opts = tconn->res_opts; in drbd_adm_resource_opts()
2417 set_res_opts_defaults(&res_opts); in drbd_adm_resource_opts()
2419 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_resource_opts()
2426 err = set_resource_options(tconn, &res_opts); in drbd_adm_resource_opts()
2687 if (res_opts_to_skb(skb, &mdev->tconn->res_opts, exclude_sensitive)) in nla_put_status_info()
3127 struct res_opts res_opts; in drbd_adm_new_resource() local
3136 set_res_opts_defaults(&res_opts); in drbd_adm_new_resource()
3137 err = res_opts_from_attrs(&res_opts, info); in drbd_adm_new_resource()
3157 if (!conn_create(adm_ctx.resource_name, &res_opts)) in drbd_adm_new_resource()
Ddrbd_int.h840 struct res_opts res_opts; member
1444 extern int set_resource_options(struct drbd_tconn *tconn, struct res_opts *res_opts);
1445 extern struct drbd_tconn *conn_create(const char *name, struct res_opts *res_opts);
Ddrbd_main.c2464 int set_resource_options(struct drbd_tconn *tconn, struct res_opts *res_opts) in set_resource_options() argument
2477 if (nr_cpu_ids > 1 && res_opts->cpu_mask[0] != 0) { in set_resource_options()
2479 err = bitmap_parse(res_opts->cpu_mask, 32, in set_resource_options()
2487 tconn->res_opts = *res_opts; in set_resource_options()
2504 struct drbd_tconn *conn_create(const char *name, struct res_opts *res_opts) in conn_create() argument
2524 if (set_resource_options(tconn, res_opts)) in conn_create()
Ddrbd_state.c876 if (mdev->tconn->res_opts.on_no_data == OND_SUSPEND_IO && in sanitize_state()