Lines Matching defs:rootpath
390 zonecfg_set_root(const char *rootpath)
394 if (rootpath == NULL || rootpath[0] == '\0' || rootpath[1] == '\0' ||
395 (zonecfg_root = strdup(rootpath)) == NULL)
3914 * This function finds everything mounted under a zone's rootpath.
3915 * This returns the number of mounts under rootpath, or -1 on error.
3923 zonecfg_find_mounts(char *rootpath, int (*callback)(const struct mnttab *,
3932 assert(rootpath != NULL);
3934 if ((zfsl = snprintf(zfs_path, sizeof (zfs_path), "%s/.zfs/", rootpath))
3938 l = strlen(rootpath);
3951 if ((strncmp(rootpath, m.mnt_mountp, l) == 0) &&
6721 zone_get_rootpath(char *zone_name, char *rootpath, size_t rp_sz)
6728 if ((err = zone_get_zonepath(zone_name, rootpath, rp_sz)) != Z_OK)
6730 if (strlcat(rootpath, "/root", rp_sz) >= rp_sz)