Lines Matching refs:paths
56 struct rtrs_addr *paths;
106 pr_err("map_device: too many (> %zu) paths provided\n",
119 &opt->paths[p_cnt]);
541 struct rtrs_addr paths[6];
545 opt.paths = paths;
550 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL);
554 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) {
555 paths[path_cnt].src = &addrs[path_cnt * 2];
556 paths[path_cnt].dst = &addrs[path_cnt * 2 + 1];
559 ret = rnbd_clt_parse_map_options(buf, ARRAY_SIZE(paths), &opt);
567 dev = rnbd_clt_map_device(sessname, paths, path_cnt, port_nr, pathname,