H A D | smbios.c | 60 oprintf(FILE *fp, const char *format, ...) argument 65 (void) vfprintf(fp, format, ap); 71 desc_printf(const char *d, FILE *fp, const char *format, ...) argument 76 (void) vfprintf(fp, format, ap); 80 (void) fprintf(fp, " (%s)\n", d); 82 (void) fprintf(fp, "\n"); 86 flag_printf(FILE *fp, const char *s, uint_t flags, size_t bits, argument 91 oprintf(fp, " %s: 0x%x\n", s, flags); 101 desc_printf(flag_desc(f), fp, "\t%s", n); local 103 desc_printf(flag_desc(f), fp, "\t0 local 108 flag64_printf(FILE *fp, const char *s, uint64_t flags, size_t bits, const char *(*flag_name)(uint64_t), const char *(*flag_desc)(uint64_t)) argument 123 desc_printf(flag_desc(f), fp, "\\t%s", n); local 125 desc_printf(flag_desc(f), fp, "\\t0x%llx", f); local 130 id_printf(FILE *fp, const char *s, id_t id) argument 178 print_smbios(smbios_hdl_t *shp, FILE *fp) argument 213 print_common(const smbios_info_t *ip, FILE *fp) argument 232 print_bios(smbios_hdl_t *shp, FILE *fp) argument 275 print_system(smbios_hdl_t *shp, FILE *fp) argument 291 fp, " Wake-Up Event: 0x%x", s.smbs_wakeup); local 298 print_bboard(smbios_hdl_t *shp, id_t id, FILE *fp) argument 311 fp, " Board Type: 0x%x", b.smbb_type); local 334 print_chassis(smbios_hdl_t *shp, id_t id, FILE *fp) argument 347 fp, " Chassis Type: 0x%x", c.smbc_type); local 350 fp, " Boot-Up State: 0x%x", c.smbc_bustate); local 353 fp, " Power Supply State: 0x%x", c.smbc_psstate); local 356 fp, " Thermal State: 0x%x", c.smbc_thstate); local 385 desc_printf(smbios_bboard_type_desc(type), fp, local 394 print_processor(smbios_hdl_t *shp, id_t id, FILE *fp) argument 403 fp, " Family: %u", p.smbp_family); local 407 fp, " Family Ext: %u", p.smbp_family2); local 412 fp, " Type: %u", p.smbp_type); local 415 fp, " Socket Upgrade: %u", p.smbp_upgrade); local 422 fp, " Processor Status: %u", status); local 504 print_cache(smbios_hdl_t *shp, id_t id, FILE *fp) argument 528 fp, " Current SRAM Type: 0x%x", c.smba_ctype); local 531 fp, " Error Correction Type: %u", c.smba_etype); local 534 fp, " Logical Cache Type: %u", c.smba_ltype); local 537 fp, " Associativity: %u", c.smba_assoc); local 540 fp, " Mode: %u", c.smba_mode); local 543 fp, " Location: %u", c.smba_location); local 550 print_port(smbios_hdl_t *shp, id_t id, FILE *fp) argument 560 fp, " Internal Connector Type: %u", p.smbo_itype); local 563 fp, " External Connector Type: %u", p.smbo_etype); local 566 fp, " Port Type: %u", p.smbo_ptype); local 570 print_slot(smbios_hdl_t *shp, id_t id, FILE *fp) argument 582 fp, " Type: 0x%x", s.smbl_type); local 585 fp, " Width: 0x%x", s.smbl_width); local 588 fp, " Usage: 0x%x", s.smbl_usage); local 591 fp, " Length: 0x%x", s.smbl_length); local 610 print_obdevs_ext(smbios_hdl_t *shp, id_t id, FILE *fp) argument 636 print_obdevs(smbios_hdl_t *shp, id_t id, FILE *fp) argument 650 print_strtab(smbios_hdl_t *shp, id_t id, FILE *fp) argument 664 print_lang(smbios_hdl_t *shp, id_t id, FILE *fp) argument 680 print_evlog(smbios_hdl_t *shp, id_t id, FILE *fp) argument 692 fp, " Data Access Method: %u", ev.smbev_method); local 699 fp, " Log Header Format: %u", ev.smbev_format); local 729 print_bytes(const uint8_t *data, size_t size, FILE *fp) argument 767 print_memarray(smbios_hdl_t *shp, id_t id, FILE *fp) argument 774 fp, " Location: %u", ma.smbma_location); local 777 fp, " Use: %u", ma.smbma_use); local 780 fp, " ECC: %u", ma.smbma_ecc); local 789 print_memdevice(smbios_hdl_t *shp, id_t id, FILE *fp) argument 821 fp, " Form Factor: %u", md.smbmd_form); local 832 fp, " Rank: %u", md.smbmd_rank); local 838 fp, " Memory Type: %u", md.smbmd_type); local 879 print_memarrmap(smbios_hdl_t *shp, id_t id, FILE *fp) argument 893 print_memdevmap(smbios_hdl_t *shp, id_t id, FILE *fp) argument 911 print_hwsec(smbios_hdl_t *shp, FILE *fp) argument 918 fp, " Power-On Password Status: %u", h.smbh_pwr_ps); local 920 fp, " Keyboard Password Status: %u", h.smbh_kbd_ps); local 922 fp, " Administrator Password Status: %u", h.smbh_adm_ps); local 924 fp, " Front Panel Reset Status: %u", h.smbh_pan_ps); local 928 print_boot(smbios_hdl_t *shp, FILE *fp) argument 935 fp, " Boot Status Code: 0x%x", b.smbt_status); local 944 print_ipmi(smbios_hdl_t *shp, FILE *fp) argument 951 fp, " Type: %u", i.smbip_type); local 967 print_extprocessor(smbios_hdl_t *shp, id_t id, FILE *fp) argument 988 print_extport(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1005 print_pciexrc(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1019 print_extmemarray(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1034 print_extmemdevice(smbios_hdl_t *shp, id_t id, FILE *fp) argument 1054 print_struct(smbios_hdl_t *shp, const smbios_struct_t *sp, void *fp) argument 1246 usage(FILE *fp) argument [all...] |