Lines Matching refs:rootpath
4008 zone_mount_count(const char *rootpath)
4012 size_t rootpathlen = strlen(rootpath);
4021 * The rootpath must end with a '/'
4023 ASSERT(rootpath[rootpathlen - 1] == '/');
4026 * This intentionally does not count the rootpath itself if that
4032 if (strncmp(rootpath, refstr_value(vfsp->vfs_mntpt),
4042 * Helper function to make sure that a zone created on 'rootpath'
4046 zone_is_nested(const char *rootpath)
4049 size_t rootpathlen = strlen(rootpath);
4055 * zone_set_root() appended '/' and '\0' at the end of rootpath
4057 if ((rootpathlen <= 3) && (rootpath[0] == '/') &&
4058 (rootpath[1] == '/') && (rootpath[2] == '\0'))
4066 if (strncmp(rootpath, zone->zone_rootpath,
4456 * Don't allow zone creations which would cause one zone's rootpath to