Lines Matching refs:rootpath
244 zonecfg_set_root(const char *rootpath) in zonecfg_set_root() argument
248 if (rootpath == NULL || rootpath[0] == '\0' || rootpath[1] == '\0' || in zonecfg_set_root()
249 (zonecfg_root = strdup(rootpath)) == NULL) in zonecfg_set_root()
2931 zonecfg_find_mounts(char *rootpath, int (*callback)(const struct mnttab *, in zonecfg_find_mounts() argument
2940 assert(rootpath != NULL); in zonecfg_find_mounts()
2942 if ((zfsl = snprintf(zfs_path, sizeof (zfs_path), "%s/.zfs/", rootpath)) in zonecfg_find_mounts()
2946 l = strlen(rootpath); in zonecfg_find_mounts()
2959 if ((strncmp(rootpath, m.mnt_mountp, l) == 0) && in zonecfg_find_mounts()
5466 zone_get_rootpath(char *zone_name, char *rootpath, size_t rp_sz) in zone_get_rootpath() argument
5473 if ((err = zone_get_zonepath(zone_name, rootpath, rp_sz)) != Z_OK) in zone_get_rootpath()
5475 if (strlcat(rootpath, "/root", rp_sz) >= rp_sz) in zone_get_rootpath()