Home
last modified time | relevance | path

Searched refs:zlst (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_states.c554 zoneList_t zlst; in UmountAllZones() local
562 zlst = z_get_nonglobal_zone_list(); in UmountAllZones()
563 if (zlst == (zoneList_t)NULL) { in UmountAllZones()
567 for (k = 0; z_zlist_get_zonename(zlst, k) != (char *)NULL; in UmountAllZones()
569 if (z_zlist_get_current_state(zlst, k) > in UmountAllZones()
571 if (!z_zlist_change_zone_state(zlst, k, in UmountAllZones()
580 z_free_zone_list(zlst); in UmountAllZones()
H A Dzones.c451 zoneList_t zlst = NULL; in z_get_nonglobal_zone_list_by_brand() local
509 zlst = (zoneList_t)_z_calloc( in z_get_nonglobal_zone_list_by_brand()
512 zlst = (zoneList_t)_z_realloc(zlst, in z_get_nonglobal_zone_list_by_brand()
514 (void) memset(&zlst[numzones], 0L, in z_get_nonglobal_zone_list_by_brand()
522 zlst[numzones]._zlName = _z_strdup(ze->zone_name); in z_get_nonglobal_zone_list_by_brand()
523 zlst[numzones]._zlPath = _z_strdup(ze->zone_path); in z_get_nonglobal_zone_list_by_brand()
524 zlst[numzones]._zlOrigInstallState = ze->zone_state; in z_get_nonglobal_zone_list_by_brand()
525 zlst[numzones]._zlCurrInstallState = ze->zone_state; in z_get_nonglobal_zone_list_by_brand()
542 free(zlst[numzones]._zlScratchName); in z_get_nonglobal_zone_list_by_brand()
543 zlst[numzones]._zlScratchName = _z_strdup(zonename); in z_get_nonglobal_zone_list_by_brand()
[all …]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_mount.c2300 zoneList_t zlst = NULL; in be_mount_zones() local
2315 zlst = z_get_nonglobal_zone_list_by_brand(brands); in be_mount_zones()
2316 if (zlst == NULL) { in be_mount_zones()
2321 for (k = 0; (zonename = z_zlist_get_zonename(zlst, k)) != NULL; k++) { in be_mount_zones()
2322 if (z_zlist_get_current_state(zlst, k) == in be_mount_zones()
2324 zonepath = z_zlist_get_zonepath(zlst, k); in be_mount_zones()
2375 z_free_zone_list(zlst); in be_mount_zones()
2406 zoneList_t zlst = NULL; in be_unmount_zones() local
2422 zlst = z_get_nonglobal_zone_list_by_brand(brands); in be_unmount_zones()
2423 if (zlst == NULL) { in be_unmount_zones()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/
H A Dmain.c182 char *a_zoneAdminFile, zoneList_t zlst);
2525 zoneList_t zlst; in remove_packages() local
2593 zlst = z_get_nonglobal_zone_list(); in remove_packages()
2594 if (zlst == (zoneList_t)NULL) { in remove_packages()
2601 quitSetZonelist(zlst); in remove_packages()
2602 b = z_lock_zones(zlst, ZLOCKS_PKG_ADMIN); in remove_packages()
2604 z_free_zone_list(zlst); in remove_packages()
2614 a_longestPkg, a_repeat, a_altBinDir, a_pkgdir, zlst); in remove_packages()
2618 (void) z_unlock_zones(zlst, ZLOCKS_ALL); in remove_packages()
2623 z_free_zone_list(zlst); in remove_packages()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c4111 zoneList_t zlst; in add_packages() local
4165 zlst = z_get_nonglobal_zone_list(); in add_packages()
4166 if (zlst == (zoneList_t)NULL) { in add_packages()
4173 quitSetZonelist(zlst); in add_packages()
4174 b = z_lock_zones(zlst, ZLOCKS_PKG_ADMIN); in add_packages()
4176 z_free_zone_list(zlst); in add_packages()
4186 a_idsName, a_repeat, a_altBinDir, a_device, zlst); in add_packages()
4190 (void) z_unlock_zones(zlst, ZLOCKS_ALL); in add_packages()
4195 z_free_zone_list(zlst); in add_packages()