Lines Matching refs:pathname
59 char *pathname; member
147 strscpy(opt->pathname, p, NAME_MAX); in rnbd_clt_parse_map_options()
268 return sysfs_emit(page, "%s\n", dev->pathname); in mapping_path_show()
511 char pathname[NAME_MAX], *s; in rnbd_clt_get_path_name() local
513 strscpy(pathname, dev->pathname, sizeof(pathname)); in rnbd_clt_get_path_name()
514 while ((s = strchr(pathname, '/'))) in rnbd_clt_get_path_name()
517 ret = snprintf(buf, len, "%s@%s", pathname, dev->sess->sessname); in rnbd_clt_get_path_name()
529 len = strlen(dev->pathname) + strlen(dev->sess->sessname) + 2; in rnbd_clt_add_dev_symlink()
567 char pathname[NAME_MAX]; in rnbd_clt_map_device_store() local
580 opt.pathname = pathname; in rnbd_clt_map_device_store()
598 pathname, sessname, in rnbd_clt_map_device_store()
602 dev = rnbd_clt_map_device(sessname, paths, path_cnt, port_nr, pathname, in rnbd_clt_map_device_store()