Lines Matching defs:rootpath
4138 zone_mount_count(const char *rootpath)
4142 size_t rootpathlen = strlen(rootpath);
4151 * The rootpath must end with a '/'
4153 ASSERT(rootpath[rootpathlen - 1] == '/');
4156 * This intentionally does not count the rootpath itself if that
4162 if (strncmp(rootpath, refstr_value(vfsp->vfs_mntpt),
4172 * Helper function to make sure that a zone created on 'rootpath'
4176 zone_is_nested(const char *rootpath)
4179 size_t rootpathlen = strlen(rootpath);
4185 * zone_set_root() appended '/' and '\0' at the end of rootpath
4187 if ((rootpathlen <= 3) && (rootpath[0] == '/') &&
4188 (rootpath[1] == '/') && (rootpath[2] == '\0'))
4196 if (strncmp(rootpath, zone->zone_rootpath,
4642 * Don't allow zone creations which would cause one zone's rootpath to