Lines Matching refs:pathname
58 char *pathname; member
143 strlcpy(opt->pathname, p, NAME_MAX); in rnbd_clt_parse_map_options()
238 return scnprintf(page, PAGE_SIZE, "%s\n", dev->pathname); in mapping_path_show()
479 char pathname[NAME_MAX], *s; in rnbd_clt_get_path_name() local
481 strlcpy(pathname, dev->pathname, sizeof(pathname)); in rnbd_clt_get_path_name()
482 while ((s = strchr(pathname, '/'))) in rnbd_clt_get_path_name()
485 ret = snprintf(buf, len, "%s", pathname); in rnbd_clt_get_path_name()
497 len = strlen(dev->pathname) + strlen(dev->sess->sessname) + 2; in rnbd_clt_add_dev_symlink()
535 char pathname[NAME_MAX]; in rnbd_clt_map_device_store() local
547 opt.pathname = pathname; in rnbd_clt_map_device_store()
564 pathname, sessname, 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()