Home
last modified time | relevance | path

Searched refs:smbios_hdl_t (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test.h66 typedef boolean_t (*smbios_test_verify_f)(smbios_hdl_t *);
85 extern boolean_t smbios_test_slot_verify(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 *);
106 extern boolean_t smbios_test_pinfo_verify_amd64(smbios_hdl_t *);
108 extern boolean_t smbios_test_pinfo_verify_riscv(smbios_hdl_t *);
139 extern boolean_t smbios_test_verify_strings(smbios_hdl_t *);
155 extern boolean_t smbios_test_proc_verify_25(smbios_hdl_t *);
156 extern boolean_t smbios_test_proc_verify_36(smbios_hdl_t *);
157 extern boolean_t smbios_test_proc_verify_36_25(smbios_hdl_t *);
[all …]
H A Dsmbios_test_strprop.c105 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 Dsmbios_test_pinfo.c51 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 Dsmbios_test_fwinfo.c132 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 Dsmbios_test_addinfo.c38 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 Dsmbios_test_chassis.c182 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 Dsmbios_test_memdevice.c199 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 Dsmbios_test_slot.c205 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 Dsmbios_test_errors.c30 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 Dsmbios_test_extmemdevice.c114 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()
H A Dsmbios_test_proc.c145 smbios_test_proc_verify_common(smbios_hdl_t *hdl, smbios_struct_t *sp, in smbios_test_proc_verify_common()
272 smbios_test_proc_verify_25(smbios_hdl_t *hdl) in smbios_test_proc_verify_25()
326 smbios_test_proc_verify_36(smbios_hdl_t *hdl) in smbios_test_proc_verify_36()
387 smbios_test_proc_verify_36_25(smbios_hdl_t *hdl) in smbios_test_proc_verify_36_25()
/illumos-gate/usr/src/uts/common/sys/
H A Dsmbios.h2056 typedef struct smbios_hdl smbios_hdl_t; typedef
2065 typedef int smbios_struct_f(smbios_hdl_t *,
2073 extern const void *smbios_buf(smbios_hdl_t *);
2074 extern size_t smbios_buflen(smbios_hdl_t *);
2077 extern int smbios_write(smbios_hdl_t *, int);
2078 extern void smbios_close(smbios_hdl_t *);
2080 extern boolean_t smbios_truncated(smbios_hdl_t *);
2081 extern int smbios_errno(smbios_hdl_t *);
2155 extern const char *smbios_psn(smbios_hdl_t *);
2156 extern const char *smbios_csn(smbios_hdl_t *);
[all …]
H A Dsmbios_impl.h841 extern const smb_struct_t *smb_lookup_type(smbios_hdl_t *, uint_t);
842 extern const smb_struct_t *smb_lookup_id(smbios_hdl_t *, uint_t);
844 extern boolean_t smb_gteq(smbios_hdl_t *, int);
845 extern boolean_t smb_libgteq(smbios_hdl_t *, int);
847 extern int smb_set_errno(smbios_hdl_t *, int);
848 extern smbios_hdl_t *smb_open_error(smbios_hdl_t *, int *, int);
855 extern void smb_dprintf(smbios_hdl_t *, const char *, ...);
/illumos-gate/usr/src/common/smbios/
H A Dsmb_open.c46 smb_strip(smbios_hdl_t *shp) in smb_strip()
214 smbios_hdl_t *
218 smbios_hdl_t *shp = smb_zalloc(sizeof (smbios_hdl_t)); in smbios_bufopen()
355 smbios_close(smbios_hdl_t *shp) in smbios_close()
370 smb_free(shp, sizeof (smbios_hdl_t)); in smbios_close()
414 smbios_buf(smbios_hdl_t *shp) in smbios_buf()
420 smbios_buflen(smbios_hdl_t *shp) in smbios_buflen()
497 smb_lookup_id(smbios_hdl_t *shp, uint_t id) in smb_lookup_id()
531 smb_libgteq(smbios_hdl_t *shp, int version) in smb_libgteq()
539 smb_gteq(smbios_hdl_t *shp, int version) in smb_gteq()
[all …]
H A Dsmb_info.c271 smbios_info_smbios(smbios_hdl_t *shp, smbios_entry_t *ep) in smbios_info_smbios()
389 smbios_info_bios(smbios_hdl_t *shp, smbios_bios_t *bp) in smbios_info_bios()
1032 smbios_info_lang(smbios_hdl_t *shp, smbios_lang_t *lp) in smbios_info_lang()
1309 smbios_info_boot(smbios_hdl_t *shp, smbios_boot_t *bp) in smbios_info_boot()
1329 smbios_info_ipmi(smbios_hdl_t *shp, smbios_ipmi_t *ip) in smbios_info_ipmi()
1466 smbios_psn(smbios_hdl_t *shp) in smbios_psn()
1474 smbios_csn(smbios_hdl_t *shp) in smbios_csn()
1482 smbios_info_extprocessor(smbios_hdl_t *shp, id_t id, in smbios_info_extprocessor()
1530 smbios_info_pciexrc(smbios_hdl_t *shp, id_t id, in smbios_info_pciexrc()
1574 smbios_info_extmemdevice(smbios_hdl_t *shp, id_t id, in smbios_info_extmemdevice()
[all …]
H A Dsmb_error.c70 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 Dsmb_dev.c44 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 Dsmb_lib.c51 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 Dsmb_subr.c36 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 Dsmbios.c272 check_oem(smbios_hdl_t *shp) in check_oem()
356 print_smbios(smbios_hdl_t *shp, FILE *fp) in print_smbios()
390 print_bios(smbios_hdl_t *shp, FILE *fp) in print_bios()
442 print_system(smbios_hdl_t *shp, FILE *fp) in print_system()
726 print_port(smbios_hdl_t *shp, id_t id, FILE *fp) in print_port()
749 print_slot(smbios_hdl_t *shp, id_t id, FILE *fp) in print_slot()
919 print_lang(smbios_hdl_t *shp, id_t id, FILE *fp) in print_lang()
1266 print_hwsec(smbios_hdl_t *shp, FILE *fp) in print_hwsec()
1507 print_boot(smbios_hdl_t *shp, FILE *fp) in print_boot()
1526 print_ipmi(smbios_hdl_t *shp, FILE *fp) in print_ipmi()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_impl.h161 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 Dx86pi_bboard.c73 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/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c103 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/uts/intel/os/
H A Dfmsmb.c182 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()
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()
902 smbios_hdl_t *shp; in smb_bboard()
988 smbios_hdl_t *shp; in fm_smb_chipinst()
1033 smbios_hdl_t *shp; in fm_smb_mc_bboards()
[all …]
/illumos-gate/usr/src/cmd/prtdiag/i386/
H A Dsmbios.c78 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()

123