Lines Matching defs:zonepath
615 * for the current BE since the zone's zonepath is loopback mounted
1713 * Description: This function loopback mounts a zonepath into the altroot
1716 * zonepath - pointer to zone path in the current BE
1725 loopback_mount_zonepath(const char *zonepath, be_mount_data_t *md)
1752 * before attempting the loopback mount of zonepath under altroot,
1757 /* get the parent directory for zonepath */
1758 p = strrchr(zonepath, '/');
1759 if (p != NULL && p != zonepath) {
1761 p - zonepath + 1)) == NULL) {
1765 (void) strlcpy(parent_dir, zonepath, p - zonepath + 1);
1831 md->altroot, zonepath);
1837 if (mount(zonepath, altzonepath, mflag, MNTTYPE_LOFS,
1842 zonepath, altzonepath, strerror(err));
2347 char *zonepath = NULL;
2369 zonepath = z_zlist_get_zonepath(zlst, k);
2372 * Get the dataset of this zonepath in current BE.
2375 if ((zonepath_ds = be_get_ds_from_dir(zonepath))
2381 * the dataset of its zonepath
2396 ret = loopback_mount_zonepath(zonepath, md);
2404 zonepath, zonepath_ds);
2453 char *zonepath = NULL;
2476 zonepath = z_zlist_get_zonepath(zlst, k);
2478 /* Build zone's zonepath wrt the global BE altroot */
2480 "%s%s", ud->altroot, zonepath);
2483 * Get the dataset of this zonepath. If its not
2492 * dataset of its zonepath.
2501 ret = be_unmount_one_zone(ud, zonename, zonepath,
2531 * zonepath - zonepath of zone to mount
2532 * zonepath_ds - dataset for the zonepath
2541 char *zonepath, char *zonepath_ds)
2573 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));
2611 * zonepath - zonepath of the zone to unmount
2612 * zonepath_ds - dataset for the zonepath
2620 be_unmount_one_zone(be_unmount_data_t *ud, char *zonename, char *zonepath,
2631 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));