Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/uts/common/sys/
H A Dsmbios.h1692 typedef struct smbios_hdl smbios_hdl_t; typedef
1701 typedef int smbios_struct_f(smbios_hdl_t *,
1704 extern smbios_hdl_t *smbios_open(const char *, int, int, int *);
1705 extern smbios_hdl_t *smbios_fdopen(int, int, int, int *);
1706 extern smbios_hdl_t *smbios_bufopen(const smbios_entry_t *,
1709 extern const void *smbios_buf(smbios_hdl_t *);
1710 extern size_t smbios_buflen(smbios_hdl_t *);
1712 extern void smbios_checksum(smbios_hdl_t *, smbios_entry_t *);
1713 extern int smbios_write(smbios_hdl_t *, int);
1714 extern void smbios_close(smbios_hdl_t *);
[all …]
H A Dsmbios_impl.h712 extern const smb_struct_t *smb_lookup_type(smbios_hdl_t *, uint_t);
713 extern const smb_struct_t *smb_lookup_id(smbios_hdl_t *, uint_t);
715 extern int smb_gteq(smbios_hdl_t *, int);
716 extern int smb_libgteq(smbios_hdl_t *, int);
718 extern int smb_set_errno(smbios_hdl_t *, int);
719 extern smbios_hdl_t *smb_open_error(smbios_hdl_t *, int *, int);
726 extern void smb_dprintf(smbios_hdl_t *, const char *, ...);
/titanic_44/usr/src/common/smbios/
H A Dsmb_open.c45 smb_strip(smbios_hdl_t *shp) in smb_strip()
76 smbios_bufopen_21(smbios_hdl_t *shp, const smbios_21_entry_t *ep, size_t len, in smbios_bufopen_21()
135 smbios_bufopen_30(smbios_hdl_t *shp, const smbios_30_entry_t *ep, size_t len, in smbios_bufopen_30()
213 smbios_hdl_t *
217 smbios_hdl_t *shp = smb_zalloc(sizeof (smbios_hdl_t)); in smbios_bufopen()
349 smbios_close(smbios_hdl_t *shp) in smbios_close()
364 smb_free(shp, sizeof (smbios_hdl_t)); in smbios_close()
374 smbios_checksum(smbios_hdl_t *shp, smbios_entry_t *ep) in smbios_checksum()
408 smbios_buf(smbios_hdl_t *shp) in smbios_buf()
414 smbios_buflen(smbios_hdl_t *shp) in smbios_buflen()
[all …]
H A Dsmb_info.c228 smbios_info_smbios(smbios_hdl_t *shp, smbios_entry_t *ep) in smbios_info_smbios()
235 smbios_info_smbios_version(smbios_hdl_t *shp, smbios_version_t *v) in smbios_info_smbios_version()
247 smbios_info_common(smbios_hdl_t *shp, id_t id, smbios_info_t *ip) in smbios_info_common()
310 smbios_info_contains(smbios_hdl_t *shp, id_t id, uint_t idc, id_t *idv) in smbios_info_contains()
348 smbios_info_bios(smbios_hdl_t *shp, smbios_bios_t *bp) in smbios_info_bios()
443 smbios_info_system(smbios_hdl_t *shp, smbios_system_t *sip) in smbios_info_system()
464 smbios_info_bboard(smbios_hdl_t *shp, id_t id, smbios_bboard_t *bbp) in smbios_info_bboard()
487 smbios_info_chassis(smbios_hdl_t *shp, id_t id, smbios_chassis_t *chp) in smbios_info_chassis()
527 smbios_info_processor(smbios_hdl_t *shp, id_t id, smbios_processor_t *pp) in smbios_info_processor()
574 smbios_info_cache(smbios_hdl_t *shp, id_t id, smbios_cache_t *cap) in smbios_info_cache()
[all …]
H A Dsmb_error.c69 smbios_errno(smbios_hdl_t *shp) in smbios_errno()
75 smb_set_errno(smbios_hdl_t *shp, int error) in smb_set_errno()
/titanic_44/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()
/titanic_44/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.c38 smbios_hdl_t *
39 smb_open_error(smbios_hdl_t *shp, int *errp, int err) in smb_open_error()
82 smb_dprintf(smbios_hdl_t *shp, const char *format, ...) in smb_dprintf()
/titanic_44/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()
H A Dx86pi_subr.c115 smbios_hdl_t *
118 smbios_hdl_t *smb_hdl; in x86pi_smb_open()
143 smbios_hdl_t *shp; in x86pi_smb_strcnt()
570 smbios_hdl_t *shp; in x86pi_check_comp()
H A Dx86pi_bay.c70 smbios_hdl_t *shp; in bay_bdf()
272 smbios_hdl_t *shp; in x86pi_gen_bay()
H A Dx86pi_chassis.c48 smbios_hdl_t *shp; in x86pi_gen_chassis()
H A Dx86pi.c170 smbios_hdl_t *shp; in x86pi_enum_start()
267 smbios_hdl_t *shp; in x86pi_enum_gentopo()
/titanic_44/usr/src/cmd/smbios/
H A Dsmbios.c72 smbios_warn(smbios_hdl_t *shp, const char *format, ...) in smbios_warn()
191 check_oem(smbios_hdl_t *shp) in check_oem()
275 print_smbios(smbios_hdl_t *shp, FILE *fp) in print_smbios()
309 print_bios(smbios_hdl_t *shp, FILE *fp) in print_bios()
358 print_system(smbios_hdl_t *shp, FILE *fp) in print_system()
381 print_bboard(smbios_hdl_t *shp, id_t id, FILE *fp) in print_bboard()
417 print_chassis(smbios_hdl_t *shp, id_t id, FILE *fp) in print_chassis()
477 print_processor(smbios_hdl_t *shp, id_t id, FILE *fp) in print_processor()
587 print_cache(smbios_hdl_t *shp, id_t id, FILE *fp) in print_cache()
636 print_port(smbios_hdl_t *shp, id_t id, FILE *fp) in print_port()
[all …]
/titanic_44/usr/src/cmd/prtdiag/i386/
H A Dsmbios.c71 do_procs(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_procs()
122 do_memdevs(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_memdevs()
148 do_obdevs(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_obdevs()
166 do_slots(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in do_slots()
188 smbios_hdl_t *shp; in do_prominfo()
/titanic_44/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c103 smbios_hdl_t *shp; in extdimmslot_to_dimmslot()
212 smbios_hdl_t *shp; in chip_get_smbstruct()
339 smbios_hdl_t *shp; in chip_smbios_iterate()
501 smbios_hdl_t *shp; in chip_label_smbios_get()
588 smbios_hdl_t *shp; in chip_serial_smbios_get()
608 smbios_hdl_t *shp; in chip_part_smbios_get()
627 smbios_hdl_t *shp; in chip_rev_smbios_get()
/titanic_44/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()
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 …]
/titanic_44/usr/src/uts/common/os/
H A Dsmb_subr.c63 smb_dprintf(smbios_hdl_t *shp, const char *format, ...) in smb_dprintf()
/titanic_44/usr/src/uts/intel/io/intel_nhm/
H A Dnhm_init.c98 dimm_manufacture_data(smbios_hdl_t *shp, id_t id, nhm_dimm_t *dimmp) in dimm_manufacture_data()
131 dimm_label(smbios_hdl_t *shp, const smbios_struct_t *sp, void *arg) in dimm_label()
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_tree.h124 smbios_hdl_t *th_smbios; /* SMBIOS handle */
H A Dtopo_mod.c718 smbios_hdl_t *
774 smbios_hdl_t *shp; in topo_mod_psn()
788 smbios_hdl_t *shp; in topo_mod_csn()
H A Dtopo_mod.h126 extern smbios_hdl_t *topo_mod_smbios(topo_mod_t *);
/titanic_44/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c270 smbios_test_verify_table(smbios_hdl_t *hdl) in smbios_test_verify_table()
393 smbios_hdl_t *hdl; in main()
/titanic_44/usr/src/lib/libscf/common/
H A Dhighlevel.c51 smbios_hdl_t *shp; in scf_is_fb_blacklisted()

12