Home
last modified time | relevance | path

Searched refs:ze (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c93 struct zoneent *ze; in getzoneent() local
96 if ((ze = getzoneent_private(cookie)) == NULL) in getzoneent()
98 name = strdup(ze->zone_name); in getzoneent()
99 free(ze); in getzoneent()
107 struct zoneent *ze; in getzoneent_private() local
112 if ((ze = malloc(sizeof (struct zoneent))) == NULL) in getzoneent_private()
117 free(ze); in getzoneent_private()
137 (void) strlcpy(ze->zone_name, p, ZONENAME_MAX); in getzoneent_private()
146 ze->zone_state = ZONE_STATE_CONFIGURED; in getzoneent_private()
148 ze->zone_state = ZONE_STATE_INCOMPLETE; in getzoneent_private()
[all …]
H A Dlibzonecfg.c354 struct zoneent ze; in zonecfg_destroy() local
393 bzero(&ze, sizeof (ze)); in zonecfg_destroy()
394 (void) strlcpy(ze.zone_name, zonename, sizeof (ze.zone_name)); in zonecfg_destroy()
395 if ((err = putzoneent(&ze, PZE_REMOVE)) != Z_OK) in zonecfg_destroy()
1115 struct zoneent ze; in zonecfg_refresh_index_file() local
1120 bzero(&ze, sizeof (ze)); in zonecfg_refresh_index_file()
1121 ze.zone_state = -1; /* Preserve existing state in index */ in zonecfg_refresh_index_file()
1125 (void) strlcpy(ze.zone_name, name, sizeof (ze.zone_name)); in zonecfg_refresh_index_file()
1130 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root), in zonecfg_refresh_index_file()
1131 sizeof (ze.zone_path)); in zonecfg_refresh_index_file()
[all …]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones.c450 struct zoneent *ze; in z_get_nonglobal_zone_list_by_brand() local
472 while ((ze = getzoneent_private(zoneIndexFP)) != NULL) { in z_get_nonglobal_zone_list_by_brand()
477 if (strcmp(ze->zone_name, GLOBAL_ZONENAME) == 0) { in z_get_nonglobal_zone_list_by_brand()
478 free(ze); in z_get_nonglobal_zone_list_by_brand()
485 if (!z_is_zone_brand_in_list(ze->zone_name, brands)) { in z_get_nonglobal_zone_list_by_brand()
486 free(ze); in z_get_nonglobal_zone_list_by_brand()
496 if (strcmp(zent->zl_name, ze->zone_name) == 0) in z_get_nonglobal_zone_list_by_brand()
501 free(ze); 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()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c265 zvol_extent_t *ze; in zvol_map_block() local
284 ze = list_tail(&ma->ma_zv->zv_extents); in zvol_map_block()
285 if (ze && in zvol_map_block()
286 DVA_GET_VDEV(BP_IDENTITY(bp)) == DVA_GET_VDEV(&ze->ze_dva) && in zvol_map_block()
288 DVA_GET_OFFSET(&ze->ze_dva) + ze->ze_nblks * bs) { in zvol_map_block()
289 ze->ze_nblks++; in zvol_map_block()
296 ze = kmem_zalloc(sizeof (zvol_extent_t), KM_SLEEP); in zvol_map_block()
297 ze->ze_dva = bp->blk_dva[0]; /* structure assignment */ in zvol_map_block()
298 ze->ze_nblks = 1; in zvol_map_block()
299 list_insert_tail(&ma->ma_zv->zv_extents, ze); in zvol_map_block()
[all …]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c873 struct zoneent *ze; in crosscheck_zonepaths() local
878 while ((ze = getzoneent_private(cookie)) != NULL) { in crosscheck_zonepaths()
880 if (ze->zone_state < ZONE_STATE_INSTALLED) { in crosscheck_zonepaths()
881 free(ze); in crosscheck_zonepaths()
885 if (strcmp(ze->zone_name, GLOBAL_ZONENAME) == 0 || in crosscheck_zonepaths()
886 strcmp(ze->zone_name, target_zone) == 0) { in crosscheck_zonepaths()
887 free(ze); in crosscheck_zonepaths()
890 if (strlen(ze->zone_path) == 0) { in crosscheck_zonepaths()
892 if ((err = zone_get_zonepath(ze->zone_name, in crosscheck_zonepaths()
893 ze->zone_path, sizeof (ze->zone_path))) != Z_OK) { in crosscheck_zonepaths()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dfunstack.in145 …ding-er Hor-o-witz Hour-vitz Hirsch-berg Ike-da Ka-chi-tvi-chyan-u-kul Kat-ze-nel-son Kitz-miller …