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