/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test.h | 66 typedef boolean_t (*smbios_test_verify_f)(smbios_hdl_t *); 85 extern boolean_t smbios_test_slot_verify(smbios_hdl_t *); 86 extern boolean_t smbios_test_slot_verify_34_nopeers(smbios_hdl_t *); 87 extern boolean_t smbios_test_slot_verify_34_peers(smbios_hdl_t *); 88 extern boolean_t smbios_test_slot_verify_34_overrun(smbios_hdl_t *); 89 extern boolean_t smbios_test_slot_verify_35(smbios_hdl_t *); 92 extern boolean_t smbios_test_verify_badids(smbios_hdl_t *); 98 extern boolean_t smbios_test_memdevice_verify_32(smbios_hdl_t *); 99 extern boolean_t smbios_test_memdevice_verify_32_33(smbios_hdl_t *); 100 extern boolean_t smbios_test_memdevice_verify_32_37(smbios_hdl_t *); [all …]
|
H A D | smbios_test_strprop.c | 105 smbios_test_strprop_verify_badtable(smbios_hdl_t *hdl, int smberr) in smbios_test_strprop_verify_badtable() 132 smbios_test_strprop_verify_invlen1(smbios_hdl_t *hdl) in smbios_test_strprop_verify_invlen1() 138 smbios_test_strprop_verify_invlen2(smbios_hdl_t *hdl) in smbios_test_strprop_verify_invlen2() 144 smbios_test_strprop_verify_badtype(smbios_hdl_t *hdl) in smbios_test_strprop_verify_badtype() 176 smbios_test_strprop_verify_basic(smbios_hdl_t *hdl) in smbios_test_strprop_verify_basic() 217 smbios_test_strprop_verify_badstr(smbios_hdl_t *hdl) in smbios_test_strprop_verify_badstr()
|
H A D | smbios_test_pinfo.c | 51 smbios_test_pinfo_verify_amd64(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_amd64() 170 smbios_test_pinfo_verify_riscv(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_riscv() 473 smbios_test_pinfo_verify_badtable(smbios_hdl_t *hdl, int smberr, in smbios_test_pinfo_verify_badtable() 525 smbios_test_pinfo_verify_invlen1(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_invlen1() 531 smbios_test_pinfo_verify_invlen2(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_invlen2() 537 smbios_test_pinfo_verify_invlen3(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_invlen3() 543 smbios_test_pinfo_verify_invlen4(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_invlen4() 549 smbios_test_pinfo_verify_badtype(smbios_hdl_t *hdl) in smbios_test_pinfo_verify_badtype()
|
H A D | smbios_test_fwinfo.c | 132 smbios_test_fwinfo_verify_badtype(smbios_hdl_t *hdl) in smbios_test_fwinfo_verify_badtype() 159 smbios_test_fwinfo_verify_invlen_base(smbios_hdl_t *hdl) in smbios_test_fwinfo_verify_invlen_base() 186 smbios_test_fwinfo_verify_common(smbios_hdl_t *hdl, smbios_struct_t *sp, in smbios_test_fwinfo_verify_common() 268 smbios_test_fwinfo_verify_nocomps(smbios_hdl_t *hdl) in smbios_test_fwinfo_verify_nocomps() 322 smbios_test_fwinfo_verify_invlen_comps(smbios_hdl_t *hdl) in smbios_test_fwinfo_verify_invlen_comps() 371 smbios_test_fwinfo_verify_comps(smbios_hdl_t *hdl) in smbios_test_fwinfo_verify_comps()
|
H A D | smbios_test_addinfo.c | 38 smbios_test_addinfo_verify_base(smbios_hdl_t *hdl, smbios_struct_t *sp, in smbios_test_addinfo_verify_base() 96 smbios_test_addinfo_verify_noent(smbios_hdl_t *hdl) in smbios_test_addinfo_verify_noent() 155 smbios_test_addinfo_verify_ents(smbios_hdl_t *hdl) in smbios_test_addinfo_verify_ents() 269 smbios_test_addinfo_verify_invlen_base(smbios_hdl_t *hdl) in smbios_test_addinfo_verify_invlen_base() 318 smbios_test_addinfo_verify_invlen_ent(smbios_hdl_t *hdl) in smbios_test_addinfo_verify_invlen_ent() 385 smbios_test_addinfo_verify_invlen_multient(smbios_hdl_t *hdl) in smbios_test_addinfo_verify_invlen_multient() 461 smbios_test_addinfo_verify_invlen_entdata(smbios_hdl_t *hdl) in smbios_test_addinfo_verify_invlen_entdata()
|
H A D | smbios_test_chassis.c | 182 smbios_test_chassis_verify_invlen(smbios_hdl_t *hdl) in smbios_test_chassis_verify_invlen() 208 smbios_test_chassis_verify_common(smbios_hdl_t *hdl, smbios_struct_t *sp, in smbios_test_chassis_verify_common() 302 smbios_test_chassis_verify_base(smbios_hdl_t *hdl) in smbios_test_chassis_verify_base() 360 smbios_test_chassis_verify_sku_nocomps(smbios_hdl_t *hdl) in smbios_test_chassis_verify_sku_nocomps() 425 smbios_test_chassis_verify_common_comps(smbios_hdl_t *hdl, smbios_struct_t *sp) in smbios_test_chassis_verify_common_comps() 494 smbios_test_chassis_verify_comps(smbios_hdl_t *hdl) in smbios_test_chassis_verify_comps() 543 smbios_test_chassis_verify_sku(smbios_hdl_t *hdl) in smbios_test_chassis_verify_sku()
|
H A D | smbios_test_memdevice.c | 199 smbios_test_memdevice_verify_32(smbios_hdl_t *hdl) in smbios_test_memdevice_verify_32() 255 smbios_test_memdevice_verify_32_33(smbios_hdl_t *hdl) in smbios_test_memdevice_verify_32_33() 306 smbios_test_memdevice_verify_32_37(smbios_hdl_t *hdl) in smbios_test_memdevice_verify_32_37() 352 smbios_test_memdevice_verify_33(smbios_hdl_t *hdl) in smbios_test_memdevice_verify_33() 399 smbios_test_memdevice_verify_33ext(smbios_hdl_t *hdl) in smbios_test_memdevice_verify_33ext() 450 smbios_test_memdevice_verify_37(smbios_hdl_t *hdl) in smbios_test_memdevice_verify_37()
|
H A D | smbios_test_slot.c | 205 smbios_test_slot_verify(smbios_hdl_t *hdl) in smbios_test_slot_verify() 318 smbios_test_slot_common_nopeers(smbios_hdl_t *hdl, smbios_struct_t *sp, in smbios_test_slot_common_nopeers() 371 smbios_test_slot_verify_34_nopeers(smbios_hdl_t *hdl) in smbios_test_slot_verify_34_nopeers() 410 smbios_test_slot_verify_34_overrun(smbios_hdl_t *hdl) in smbios_test_slot_verify_34_overrun() 456 smbios_test_slot_verify_35(smbios_hdl_t *hdl) in smbios_test_slot_verify_35() 496 smbios_test_slot_verify_34_peers(smbios_hdl_t *hdl) in smbios_test_slot_verify_34_peers()
|
H A D | smbios_test_errors.c | 30 typedef int (*smbios_lookup_f)(smbios_hdl_t *, id_t, void *); 74 smbios_test_verify_badids(smbios_hdl_t *hdl) in smbios_test_verify_badids()
|
H A D | smbios_test_proc.c | 180 smbios_test_proc_verify_common(smbios_hdl_t *hdl, smbios_struct_t *sp, in smbios_test_proc_verify_common() 307 smbios_test_proc_verify_25(smbios_hdl_t *hdl) in smbios_test_proc_verify_25() 361 smbios_test_proc_verify_36(smbios_hdl_t *hdl) in smbios_test_proc_verify_36() 422 smbios_test_proc_verify_36_25(smbios_hdl_t *hdl) in smbios_test_proc_verify_36_25() 473 smbios_test_proc_verify_38(smbios_hdl_t *hdl) in smbios_test_proc_verify_38()
|
H A D | smbios_test_extmemdevice.c | 114 smbios_test_extmem_verify_invlen_cs(smbios_hdl_t *hdl) in smbios_test_extmem_verify_invlen_cs() 153 smbios_test_extmem_verify_nocs(smbios_hdl_t *hdl) in smbios_test_extmem_verify_nocs() 192 smbios_test_extmem_verify_cs(smbios_hdl_t *hdl) in smbios_test_extmem_verify_cs()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | smbios.h | 2075 typedef struct smbios_hdl smbios_hdl_t; typedef 2084 typedef int smbios_struct_f(smbios_hdl_t *, 2087 extern smbios_hdl_t *smbios_open(const char *, int, int, int *); 2088 extern smbios_hdl_t *smbios_fdopen(int, int, int, int *); 2089 extern smbios_hdl_t *smbios_bufopen(const smbios_entry_t *, 2092 extern const void *smbios_buf(smbios_hdl_t *); 2093 extern size_t smbios_buflen(smbios_hdl_t *); 2095 extern void smbios_checksum(smbios_hdl_t *, smbios_entry_t *); 2096 extern int smbios_write(smbios_hdl_t *, int); 2097 extern void smbios_close(smbios_hdl_t *); [all …]
|
H A D | smbios_impl.h | 842 extern const smb_struct_t *smb_lookup_type(smbios_hdl_t *, uint_t); 843 extern const smb_struct_t *smb_lookup_id(smbios_hdl_t *, uint_t); 845 extern boolean_t smb_gteq(smbios_hdl_t *, int); 846 extern boolean_t smb_libgteq(smbios_hdl_t *, int); 848 extern int smb_set_errno(smbios_hdl_t *, int); 849 extern smbios_hdl_t *smb_open_error(smbios_hdl_t *, int *, int); 856 extern void smb_dprintf(smbios_hdl_t *, const char *, ...);
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_open.c | 46 smb_strip(smbios_hdl_t *shp) in smb_strip() 77 smbios_bufopen_21(smbios_hdl_t *shp, const smbios_21_entry_t *ep, size_t len, in smbios_bufopen_21() 136 smbios_bufopen_30(smbios_hdl_t *shp, const smbios_30_entry_t *ep, size_t len, in smbios_bufopen_30() 214 smbios_hdl_t * 218 smbios_hdl_t *shp = smb_zalloc(sizeof (smbios_hdl_t)); in smbios_bufopen() 356 smbios_close(smbios_hdl_t *shp) in smbios_close() 371 smb_free(shp, sizeof (smbios_hdl_t)); in smbios_close() 381 smbios_checksum(smbios_hdl_t *shp, smbios_entry_t *ep) in smbios_checksum() 415 smbios_buf(smbios_hdl_t *shp) in smbios_buf() 421 smbios_buflen(smbios_hdl_t *shp) in smbios_buflen() [all …]
|
H A D | smb_info.c | 271 smbios_info_smbios(smbios_hdl_t *shp, smbios_entry_t *ep) in smbios_info_smbios() 278 smbios_info_smbios_version(smbios_hdl_t *shp, smbios_version_t *v) in smbios_info_smbios_version() 290 smbios_info_common(smbios_hdl_t *shp, id_t id, smbios_info_t *ip) in smbios_info_common() 353 smbios_info_contains(smbios_hdl_t *shp, id_t id, uint_t idc, id_t *idv) in smbios_info_contains() 389 smbios_info_bios(smbios_hdl_t *shp, smbios_bios_t *bp) in smbios_info_bios() 484 smbios_info_system(smbios_hdl_t *shp, smbios_system_t *sip) in smbios_info_system() 505 smbios_info_bboard(smbios_hdl_t *shp, id_t id, smbios_bboard_t *bbp) in smbios_info_bboard() 528 smbios_info_chassis(smbios_hdl_t *shp, id_t id, smbios_chassis_t *chp) in smbios_info_chassis() 611 smbios_info_chassis_elts(smbios_hdl_t *shp, id_t id, uint_t *nentsp, in smbios_info_chassis_elts() 676 smbios_info_chassis_elts_free(smbios_hdl_t *shp, uint_t nents, in smbios_info_chassis_elts_free() [all …]
|
H A D | smb_error.c | 70 smbios_errno(smbios_hdl_t *shp) in smbios_errno() 76 smb_set_errno(smbios_hdl_t *shp, int error) in smb_set_errno()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | smb_dev.c | 44 smbios_hdl_t *ksmbios; 47 smbios_hdl_t * 48 smb_open_error(smbios_hdl_t *shp, int *errp, int err) in smb_open_error() 62 smbios_hdl_t * 65 smbios_hdl_t *shp = NULL; in smbios_open() 215 smbios_hdl_t * 223 smbios_write(smbios_hdl_t *shp, int fd) in smbios_write()
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 51 static smbios_hdl_t * 56 smbios_hdl_t *shp = NULL; in smb_fileopen() 107 static smbios_hdl_t * 112 smbios_hdl_t *shp = NULL; in smb_biosopen() 237 smbios_hdl_t * 249 smbios_hdl_t * 252 smbios_hdl_t *shp; in smbios_open() 268 smbios_xwrite(smbios_hdl_t *shp, int fd, const void *buf, size_t buflen) in smbios_xwrite() 284 smbios_write(smbios_hdl_t *shp, int fd) in smbios_write()
|
H A D | smb_subr.c | 36 smbios_hdl_t * 37 smb_open_error(smbios_hdl_t *shp, int *errp, int err) in smb_open_error() 80 smb_dprintf(smbios_hdl_t *shp, const char *format, ...) in smb_dprintf()
|
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 74 smbios_warn(smbios_hdl_t *shp, const char *format, ...) in smbios_warn() 270 check_oem(smbios_hdl_t *shp) in check_oem() 354 print_smbios(smbios_hdl_t *shp, FILE *fp) in print_smbios() 388 print_bios(smbios_hdl_t *shp, FILE *fp) in print_bios() 440 print_system(smbios_hdl_t *shp, FILE *fp) in print_system() 466 print_bboard(smbios_hdl_t *shp, id_t id, FILE *fp) in print_bboard() 505 print_chassis(smbios_hdl_t *shp, id_t id, FILE *fp) in print_chassis() 572 print_processor(smbios_hdl_t *shp, id_t id, FILE *fp) in print_processor() 680 print_cache(smbios_hdl_t *shp, id_t id, FILE *fp) in print_cache() 732 print_port(smbios_hdl_t *shp, id_t id, FILE *fp) in print_port() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_impl.h | 161 smbios_hdl_t *x86pi_smb_open(topo_mod_t *); 169 int x86pi_gen_cmp(topo_mod_t *, tnode_t *, smbios_hdl_t *, int, int, int); 172 int x86pi_gen_memarray(topo_mod_t *, tnode_t *, smbios_hdl_t *, int, int); 173 void x86pi_gen_memdev(topo_mod_t *, tnode_t *, smbios_hdl_t *, int, int, int);
|
H A D | x86pi_bboard.c | 73 smbios_hdl_t *shp; in x86pi_gen_bboard() 206 smbios_hdl_t *shp; in x86pi_bb_getchips() 256 smbios_hdl_t *shp; in x86pi_bb_topparent() 308 smbios_hdl_t *shp; in x86pi_bb_chassis() 331 smbios_hdl_t *shp; in x86pi_bb_contains()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | fmsmb.c | 182 smb_cnttypes(smbios_hdl_t *shp, int type) in smb_cnttypes() 197 smb_strcnt(smbios_hdl_t *shp, smbs_cnt_t *stype) in smb_strcnt() 264 smb_bb_contains(smbios_hdl_t *shp, smbs_cnt_t *stype) in smb_bb_contains() 332 fm_smb_check(smbios_hdl_t *shp) in fm_smb_check() 536 smbios_hdl_t *shp; in fm_smb_fmacompat() 597 find_matching_apic(smbios_hdl_t *shp, uint16_t proc_id, uint_t strand_apicid) in find_matching_apic() 636 find_matching_proc(smbios_hdl_t *shp, uint_t strand_apicid, in find_matching_proc() 725 get_chassis_inst(smbios_hdl_t *shp, uint16_t *chassis_inst, in get_chassis_inst() 772 smb_get_bb_fmri(smbios_hdl_t *shp, nvlist_t *fmri, uint_t parent, in smb_get_bb_fmri() 902 smbios_hdl_t *shp; in smb_bboard() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_smbios.c | 103 smbios_hdl_t *shp; in extdimmslot_to_dimmslot() 253 smbios_hdl_t *shp; in chip_get_smbstruct() 380 smbios_hdl_t *shp; in chip_smbios_iterate() 542 smbios_hdl_t *shp; in chip_label_smbios_get() 629 smbios_hdl_t *shp; in chip_serial_smbios_get() 649 smbios_hdl_t *shp; in chip_part_smbios_get() 668 smbios_hdl_t *shp; in chip_rev_smbios_get()
|
/illumos-gate/usr/src/cmd/prtdiag/i386/ |
H A D | smbios.c | 78 do_procs(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_procs() 129 do_memdevs(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_memdevs() 155 do_obdevs(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_obdevs() 270 do_slots(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_slots() 304 smbios_hdl_t *shp; in do_prominfo()
|