Lines Matching refs:opt
68 struct rnbd_map_options *opt)
106 strscpy(opt->sessname, p, NAME_MAX);
124 *opt->dest_port,
125 &opt->paths[p_cnt]);
149 strscpy(opt->pathname, p, NAME_MAX);
161 *opt->dest_port = dest_port;
172 *opt->access_mode = RNBD_ACCESS_RO;
174 *opt->access_mode = RNBD_ACCESS_RW;
176 *opt->access_mode = RNBD_ACCESS_MIGRATION;
198 *opt->nr_poll_queues = nr_poll_queues;
220 *opt->path_cnt = p_cnt;
301 char *opt, *options;
305 opt = kstrdup(buf, GFP_KERNEL);
306 if (!opt)
309 options = strstrip(opt);
350 kfree(opt);
403 char *opt, *options;
406 opt = kstrdup(buf, GFP_KERNEL);
407 if (!opt)
410 options = strstrip(opt);
424 kfree(opt);
567 struct rnbd_map_options opt;
579 opt.sessname = sessname;
580 opt.paths = paths;
581 opt.path_cnt = &path_cnt;
582 opt.pathname = pathname;
583 opt.dest_port = &port_nr;
584 opt.access_mode = &access_mode;
585 opt.nr_poll_queues = &nr_poll_queues;
595 ret = rnbd_clt_parse_map_options(buf, ARRAY_SIZE(paths), &opt);