Lines Matching defs:rootpath
250 zonecfg_set_root(const char *rootpath)
254 if (rootpath == NULL || rootpath[0] == '\0' || rootpath[1] == '\0' ||
255 (zonecfg_root = strdup(rootpath)) == NULL)
3082 * This function finds everything mounted under a zone's rootpath.
3083 * This returns the number of mounts under rootpath, or -1 on error.
3091 zonecfg_find_mounts(char *rootpath, int (*callback)(const struct mnttab *,
3101 assert(rootpath != NULL);
3103 if ((zfsl = snprintf(zfs_path, sizeof (zfs_path), "%s/.zfs/", rootpath))
3107 l = strlen(rootpath);
3120 if ((strncmp(rootpath, m.mnt_mountp, l) == 0) &&
5627 zone_get_rootpath(char *zone_name, char *rootpath, size_t rp_sz)
5634 if ((err = zone_get_zonepath(zone_name, rootpath, rp_sz)) != Z_OK)
5636 if (strlcat(rootpath, "/root", rp_sz) >= rp_sz)