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