Lines Matching refs:zonepath

567 	 * for the current BE since the zone's zonepath is loopback mounted
1665 * Description: This function loopback mounts a zonepath into the altroot
1671 * zonepath - pointer to zone path in the current BE
1680 loopback_mount_zonepath(const char *zonepath, be_mount_data_t *md)
1707 * before attempting the loopback mount of zonepath under altroot,
1712 /* get the parent directory for zonepath */
1713 p = strrchr(zonepath, '/');
1714 if (p != NULL && p != zonepath) {
1716 p - zonepath + 1)) == NULL) {
1720 (void) strlcpy(parent_dir, zonepath, p - zonepath + 1);
1786 md->altroot, zonepath);
1792 if (mount(zonepath, altzonepath, mflag, MNTTYPE_LOFS,
1797 zonepath, altzonepath, strerror(err));
2302 char *zonepath = NULL;
2324 zonepath = z_zlist_get_zonepath(zlst, k);
2327 * Get the dataset of this zonepath in current BE.
2330 if ((zonepath_ds = be_get_ds_from_dir(zonepath))
2336 * the dataset of its zonepath
2351 ret = loopback_mount_zonepath(zonepath, md);
2359 zonepath, zonepath_ds);
2408 char *zonepath = NULL;
2431 zonepath = z_zlist_get_zonepath(zlst, k);
2433 /* Build zone's zonepath wrt the global BE altroot */
2435 "%s%s", ud->altroot, zonepath);
2438 * Get the dataset of this zonepath. If its not
2447 * dataset of its zonepath.
2456 ret = be_unmount_one_zone(ud, zonename, zonepath,
2486 * zonepath - zonepath of zone to mount
2487 * zonepath_ds - dataset for the zonepath
2496 char *zonepath, char *zonepath_ds)
2528 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));
2566 * zonepath - zonepath of the zone to unmount
2567 * zonepath_ds - dataset for the zonepath
2575 be_unmount_one_zone(be_unmount_data_t *ud, char *zonename, char *zonepath,
2586 be_make_zoneroot(zonepath, zoneroot, sizeof (zoneroot));