Lines Matching refs:zone

68  * The snapshot is implemented by a "database", unique to each zone, that
183 * Add space for "zone=<zone_name>" if required.
187 size += sizeof ("zone=") - 1;
232 buf += snprintf(buf, MAX_MNTOPT_STR, "zone=%s",
276 * We know the mount point is visible from within the zone,
277 * otherwise it wouldn't be on the zone's vfs list.
307 mntfs_text_len(vfs_t *vfsp, zone_t *zone)
315 mntsize = strlen(ZONE_PATH_TRANSLATE(mntpt, zone)) + 1;
325 } else if (!ZONE_PATH_VISIBLE(resource, zone)) {
327 * Same as the zone's view of the mount point.
331 size += strlen(ZONE_PATH_TRANSLATE(resource, zone)) + 1;
376 * snapshot; return NULL if none exists. The caller must hold the zone's
571 /* Find the first and last vfs_t for the given zone. */
586 * The zone's vfs_ts will have mount points relative to
587 * the zone's root path. The vfs_t for the zone's
589 * equal to the zone's root path. Since the zone's root
591 * zone's root vnode, and provide it with a fake mount
592 * and resource. However, if the zone's root is a
600 * a non-global zone's vfs_t list, where the cloned
602 * therefore unique. The zone's root path must be
603 * available before the zone boots, and so its root
605 * resources subsequently mounted by the zone. The
627 * Now walk through all the vfs_ts for this zone. For each one, find the
1557 zone_t *zone = mntdata->mnt_zone_ref.zref_zone;
1565 if (zone != global_zone) {
1566 (void) strcpy(pbuf, zone->zone_rootpath);
1568 start = zone->zone_rootpathlen - 2;
1863 * same instance of /etc/mnttab if they share the same (zone-specific) vfs.