Lines Matching defs:paths
59 struct rtrs_addr *paths;
112 pr_err("map_device: too many (> %zu) paths provided\n",
125 &opt->paths[p_cnt]);
576 struct rtrs_addr paths[6];
580 opt.paths = paths;
586 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL);
590 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) {
591 paths[path_cnt].src = &addrs[path_cnt * 2];
592 paths[path_cnt].dst = &addrs[path_cnt * 2 + 1];
595 ret = rnbd_clt_parse_map_options(buf, ARRAY_SIZE(paths), &opt);
604 dev = rnbd_clt_map_device(sessname, paths, path_cnt, port_nr, pathname,