Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/boot/common/
H A Dbblk_einfo.c216 print_einfo(uint8_t flags, bblk_einfo_t *einfo, unsigned long bufsize) in print_einfo() argument
223 if (einfo->str_off + einfo->str_size > bufsize) { in print_einfo()
225 "buffer size\n"), einfo->str_off); in print_einfo()
229 version = (char *)einfo + einfo->str_off; in print_einfo()
230 if (einfo->hash_type != BBLK_NO_HASH && in print_einfo()
231 einfo->hash_type < BBLK_HASH_TOT) { in print_einfo()
232 if (einfo->hash_off + einfo->hash_size > bufsize) { in print_einfo()
235 "size\n"), einfo->hash_off); in print_einfo()
238 hash = (unsigned char *)einfo + einfo->hash_off; in print_einfo()
247 (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()
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/boot/installboot/sparc/
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()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c372 bblk_einfo_t *einfo; in handle_getinfo() local
416 einfo = find_einfo(stage2->extra, stage2->extra_size); in handle_getinfo()
417 if (einfo == NULL) { in handle_getinfo()
431 print_einfo(flags, einfo, size); in handle_getinfo()
1293 bblk_einfo_t *einfo; in is_update_necessary() local
1317 einfo = find_einfo(stage2_disk.extra, stage2_disk.extra_size); in is_update_necessary()
1318 if (einfo == NULL) { in is_update_necessary()
1339 return (einfo_should_update(einfo, &stage2_hs, updt_str)); in is_update_necessary()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_xml.c1584 tf_edata_t *einfo; in enum_attributes_process() local
1588 if ((einfo = topo_mod_zalloc(mp, sizeof (tf_edata_t))) == NULL) { in enum_attributes_process()
1592 einfo->te_name = (char *)xmlGetProp(en, (xmlChar *)Name); in enum_attributes_process()
1593 if (einfo->te_name == NULL) { in enum_attributes_process()
1603 if (strcmp(einfo->te_name, mp->tm_name) == 0) { in enum_attributes_process()
1606 einfo->te_name); in enum_attributes_process()
1612 einfo->te_vers = (int)ui; in enum_attributes_process()
1614 return (einfo); in enum_attributes_process()
1617 if (einfo->te_name != NULL) in enum_attributes_process()
1618 xmlFree(einfo->te_name); in enum_attributes_process()
[all …]
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c470 bblk_einfo_t *einfo, *einfo_file; in compare_einfo_cb() local
487 einfo = find_einfo(bblock->extra, bblock->extra_size); in compare_einfo_cb()
488 if (einfo == NULL) { in compare_einfo_cb()
535 rv = einfo_should_update(einfo, &bblock_hs, update_str); in compare_einfo_cb()
920 bblk_einfo_t *einfo = NULL; in print_einfo_cb() local
936 einfo = find_einfo(bblock->extra, bblock->extra_size); in print_einfo_cb()
938 if (einfo == NULL) { in print_einfo_cb()
950 print_einfo(flags, einfo, bblock->extra_size); in print_einfo_cb()
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay.c1054 ovep_encap_info_t einfo; in overlay_m_tx() local
1069 bzero(&einfo, sizeof (ovep_encap_info_t)); in overlay_m_tx()
1070 einfo.ovdi_id = odd->odd_vid; in overlay_m_tx()
1093 &einfo, &ep); in overlay_m_tx()