Lines Matching refs:pathname
61 char *pathname; member
149 strscpy(opt->pathname, p, NAME_MAX); in rnbd_clt_parse_map_options()
270 return sysfs_emit(page, "%s\n", dev->pathname); in mapping_path_show()
513 char pathname[NAME_MAX], *s; in rnbd_clt_get_path_name() local
515 strscpy(pathname, dev->pathname, sizeof(pathname)); in rnbd_clt_get_path_name()
516 while ((s = strchr(pathname, '/'))) in rnbd_clt_get_path_name()
519 ret = snprintf(buf, len, "%s@%s", pathname, dev->sess->sessname); in rnbd_clt_get_path_name()
531 len = strlen(dev->pathname) + strlen(dev->sess->sessname) + 2; in rnbd_clt_add_dev_symlink()
569 char pathname[NAME_MAX]; in rnbd_clt_map_device_store() local
582 opt.pathname = pathname; in rnbd_clt_map_device_store()
600 pathname, sessname, 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()