Home
last modified time | relevance | path

Searched refs:einfo (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/cmd/boot/common/
H A Dbblk_einfo.c187 print_einfo(uint8_t flags, bblk_einfo_t *einfo, unsigned long bufsize) in print_einfo() argument
194 if (einfo->str_off + einfo->str_size > bufsize) { in print_einfo()
196 "buffer size\n"), einfo->str_off); in print_einfo()
200 version = (char *)einfo + einfo->str_off; in print_einfo()
201 if (einfo->hash_type != BBLK_NO_HASH && in print_einfo()
202 einfo->hash_type < BBLK_HASH_TOT) { in print_einfo()
203 if (einfo->hash_off + einfo->hash_size > bufsize) { in print_einfo()
206 "size\n"), einfo->hash_off); in print_einfo()
209 hash = (unsigned char *)einfo + einfo->hash_off; in print_einfo()
218 (void) fprintf(stdout, "%c", einfo->magic[i]); in print_einfo()
[all …]
H A Dmboot_extra.c114 bblk_einfo_t *einfo; in find_einfo() local
140 einfo = (bblk_einfo_t *)(extra + sizeof (bb_header_ext_t)); in find_einfo()
141 if (memcmp(einfo->magic, EINFO_MAGIC, EINFO_MAGIC_SIZE) != 0) { in find_einfo()
144 BOOT_DEBUG("Found %s, expected %s\n", einfo->magic, in find_einfo()
149 return (einfo); in find_einfo()
/titanic_44/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c1675 property_t *prop, value_t *val, error_info_t *einfo) in add_scf_error() argument
1729 assert(einfo != NULL); in add_scf_error()
1730 assert(einfo->ei_type == EIT_CARDINALITY); in add_scf_error()
1731 ev1 = uint64_to_str(einfo->ei_u.ei_cardinality.ei_min); in add_scf_error()
1732 ev2 = uint64_to_str(einfo->ei_u.ei_cardinality.ei_max); in add_scf_error()
1733 actual = uint64_to_str(einfo->ei_u.ei_cardinality.ei_count); in add_scf_error()
1752 assert(einfo->ei_type == EIT_PROP_TYPE); in add_scf_error()
1753 prop_type = einfo->ei_u.ei_prop_type.ei_specified; in add_scf_error()
1755 prop_type = einfo->ei_u.ei_prop_type.ei_actual; in add_scf_error()
1762 assert(einfo->ei_type == EIT_MISSING_PG); in add_scf_error()
[all …]
/titanic_44/usr/src/cmd/boot/installboot/
H A Dinstallboot.c264 bblk_einfo_t *einfo; in is_update_necessary() local
285 einfo = find_einfo(bblock_disk.extra, bblock_disk.extra_size); in is_update_necessary()
286 if (einfo == NULL) { in is_update_necessary()
308 return (einfo_should_update(einfo, &bblock_hs, updt_str)); in is_update_necessary()
676 bblk_einfo_t *einfo; in handle_getinfo() local
722 einfo = find_einfo(bblock->extra, bblock->extra_size); in handle_getinfo()
723 if (einfo == NULL) { in handle_getinfo()
738 print_einfo(flags, einfo, size); in handle_getinfo()
/titanic_44/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c367 bblk_einfo_t *einfo; in handle_getinfo() local
411 einfo = find_einfo(stage2->extra, stage2->extra_size); in handle_getinfo()
412 if (einfo == NULL) { in handle_getinfo()
426 print_einfo(flags, einfo, size); in handle_getinfo()
1285 bblk_einfo_t *einfo; in is_update_necessary() local
1309 einfo = find_einfo(stage2_disk.extra, stage2_disk.extra_size); in is_update_necessary()
1310 if (einfo == NULL) { in is_update_necessary()
1331 return (einfo_should_update(einfo, &stage2_hs, updt_str)); in is_update_necessary()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c1566 tf_edata_t *einfo; in enum_attributes_process() local
1570 if ((einfo = topo_mod_zalloc(mp, sizeof (tf_edata_t))) == NULL) { in enum_attributes_process()
1574 einfo->te_name = (char *)xmlGetProp(en, (xmlChar *)Name); in enum_attributes_process()
1575 if (einfo->te_name == NULL) { in enum_attributes_process()
1585 if (strcmp(einfo->te_name, mp->tm_name) == 0) { in enum_attributes_process()
1588 einfo->te_name); in enum_attributes_process()
1594 einfo->te_vers = (int)ui; in enum_attributes_process()
1596 return (einfo); in enum_attributes_process()
1599 if (einfo->te_name != NULL) in enum_attributes_process()
1600 xmlFree(einfo->te_name); in enum_attributes_process()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DuDNS.c2514 uDNS_RegInfo *einfo = &(*e)->r.uDNS_info; in hndlServiceUpdateReply() local
2515 if (einfo->state == regState_ExtraQueued) in hndlServiceUpdateReply()
2520 AssignDomainName(&einfo->zone, &info->zone); in hndlServiceUpdateReply()
2521 einfo->ns = info->ns; in hndlServiceUpdateReply()
2522 einfo->port = info->port; in hndlServiceUpdateReply()
2523 einfo->lease = info->lease; in hndlServiceUpdateReply()
2527 else if (err && einfo->state != regState_Unregistered) in hndlServiceUpdateReply()
2530 einfo->state = regState_Unregistered; in hndlServiceUpdateReply()