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.c223 if (einfo->str_off + einfo->str_size > bufsize) { in print_einfo()
229 version = (char *)einfo + einfo->str_off; in print_einfo()
232 if (einfo->hash_off + einfo->hash_size > bufsize) { in print_einfo()
238 hash = (unsigned char *)einfo + einfo->hash_off; in print_einfo()
330 einfo->flags = 0; in prepare_and_write_einfo()
333 einfo->str_off = einfo->hash_off + einfo->hash_size + 1; in prepare_and_write_einfo()
342 if (einfo->str_off + einfo->str_size > maxsize) { in prepare_and_write_einfo()
350 *used_space = einfo->str_off + einfo->str_size; in prepare_and_write_einfo()
430 if (einfo == NULL) in einfo_get_string()
433 return ((char *)einfo + einfo->str_off); in einfo_get_string()
[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.c1836 if (einfo != NULL) in tmpl_errors_add_im()
2097 error_info_t einfo; in gather_pattern() local
2588 error_info_t einfo; in include_values_support() local
2777 error_info_t einfo; in tmpl_scan_general() local
3289 error_info_t einfo; in tmpl_validate_cardinality() local
3336 error_info_t einfo; in tmpl_required_pg_present() local
3401 error_info_t einfo; in tmpl_required_props_present() local
3502 error_info_t einfo; in tmpl_validate_value_range() local
3697 error_info_t einfo; in tmpl_validate_prop() local
3772 error_info_t einfo; in tmpl_validate_pg() local
[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.c1583 tf_edata_t *einfo; in enum_attributes_process() local
1587 if ((einfo = topo_mod_zalloc(mp, sizeof (tf_edata_t))) == NULL) { in enum_attributes_process()
1591 einfo->te_name = (char *)xmlGetProp(en, (xmlChar *)Name); in enum_attributes_process()
1592 if (einfo->te_name == NULL) { in enum_attributes_process()
1602 if (strcmp(einfo->te_name, mp->tm_name) == 0) { in enum_attributes_process()
1605 einfo->te_name); in enum_attributes_process()
1611 einfo->te_vers = (int)ui; in enum_attributes_process()
1613 return (einfo); in enum_attributes_process()
1616 if (einfo->te_name != NULL) in enum_attributes_process()
1617 xmlFree(einfo->te_name); in enum_attributes_process()
[all …]
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c469 bblk_einfo_t *einfo, *einfo_file; in compare_einfo_cb() local
486 einfo = find_einfo(bblock->extra, bblock->extra_size); in compare_einfo_cb()
487 if (einfo == NULL) { in compare_einfo_cb()
534 rv = einfo_should_update(einfo, &bblock_hs, update_str); in compare_einfo_cb()
918 bblk_einfo_t *einfo = NULL; in print_einfo_cb() local
934 einfo = find_einfo(bblock->extra, bblock->extra_size); in print_einfo_cb()
936 if (einfo == NULL) { in print_einfo_cb()
948 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()