Lines Matching defs:ze
348 struct zoneent ze;
387 bzero(&ze, sizeof (ze));
388 (void) strlcpy(ze.zone_name, zonename, sizeof (ze.zone_name));
389 if ((err = putzoneent(&ze, PZE_REMOVE)) != Z_OK)
1108 struct zoneent ze;
1113 bzero(&ze, sizeof (ze));
1114 ze.zone_state = -1; /* Preserve existing state in index */
1118 (void) strlcpy(ze.zone_name, name, sizeof (ze.zone_name));
1123 (void) strlcpy(ze.zone_path, zonepath + strlen(zonecfg_root),
1124 sizeof (ze.zone_path));
1128 (void) strlcpy(ze.zone_name, handle->zone_dh_delete_name,
1129 sizeof (ze.zone_name));
1130 (void) strlcpy(ze.zone_newname, name, sizeof (ze.zone_newname));
1150 ze.zone_state = ZONE_STATE_CONFIGURED;
1155 if ((err = putzoneent(&ze, opcode)) != Z_OK)
5437 struct zoneent *ze;
5462 while ((ze = getzoneent_private(cookie)) != NULL) {
5463 if (strcmp(ze->zone_name, zone_name) == 0) {
5465 if (ze->zone_path[0] != '\0')
5466 (void) strlcpy(cp, ze->zone_path,
5469 free(ze);
5630 struct zoneent *ze;
5664 while ((ze = getzoneent_private(cookie)) != NULL) {
5665 if (strcmp(ze->zone_name, zone_name) == 0) {
5667 *state_num = ze->zone_state;
5669 free(ze);
5680 struct zoneent ze;
5686 bzero(&ze, sizeof (ze));
5687 (void) strlcpy(ze.zone_name, zone, sizeof (ze.zone_name));
5688 ze.zone_state = state;
5689 (void) strlcpy(ze.zone_path, "", sizeof (ze.zone_path));
5690 return (putzoneent(&ze, PZE_MODIFY));
5783 struct zoneent *ze;
5796 while ((ze = getzoneent_private(fp)) != NULL) {
5797 if (uuid_compare(uuid, ze->zone_uuid) == 0)
5799 free(ze);
5802 if (ze != NULL) {
5803 (void) strlcpy(zonename, ze->zone_name, namelen);
5804 free(ze);
5820 struct zoneent *ze;
5824 while ((ze = getzoneent_private(fp)) != NULL) {
5825 if (strcmp(ze->zone_name, zonename) == 0)
5827 free(ze);
5830 if (ze != NULL) {
5831 uuid_copy(uuid, ze->zone_uuid);
5832 free(ze);