Searched refs:smbe_stlen (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 57 uint32_t smbe_stlen; in smb_fileopen() local 81 smbe_stlen = ep->ep21.smbe_stlen; in smb_fileopen() 84 smbe_stlen = ep->ep30.smbe_stlen; in smb_fileopen() 87 stbuf = smb_alloc(smbe_stlen); in smb_fileopen() 92 if ((n = pread64(fd, stbuf, smbe_stlen, smbe_staddr)) != smbe_stlen) { in smb_fileopen() 93 smb_free(stbuf, smbe_stlen); in smb_fileopen() 97 shp = smbios_bufopen(ep, stbuf, smbe_stlen, version, flags, errp); in smb_fileopen() 102 smb_free(stbuf, smbe_stlen); in smb_fileopen() 118 uint32_t smbe_stlen; in smb_biosopen() local 195 smbe_stlen = ep->ep21.smbe_stlen; in smb_biosopen() [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | smb_dev.c | 71 uint_t smbe_stlen; in smbios_open() local 169 smbe_stlen = ep->ep21.smbe_stlen; in smbios_open() 170 bios = psm_map_phys(ep->ep21.smbe_staddr, smbe_stlen, in smbios_open() 176 smbe_stlen = ep->ep30.smbe_stlen; in smbios_open() 177 bios = psm_map_phys_new(ep->ep30.smbe_staddr, smbe_stlen, in smbios_open() 190 stbuf = smb_alloc(smbe_stlen); in smbios_open() 191 bcopy(bios, stbuf, smbe_stlen); in smbios_open() 192 psm_unmap_phys(bios, smbe_stlen); in smbios_open() 193 shp = smbios_bufopen(ep, stbuf, smbe_stlen, version, flags, &err); in smbios_open() 196 smb_free(stbuf, smbe_stlen); in smbios_open() [all …]
|
/illumos-gate/usr/src/common/smbios/ |
H A D | smb_open.c | 100 ep->smbe_stlen < sizeof (smb_header_t) || len < ep->smbe_stlen) in smbios_bufopen_21() 157 ep->smbe_stlen < sizeof (smb_header_t) || len < ep->smbe_stlen) in smbios_bufopen_30() 190 smbios_table_nentries(const char *smbe_staddr, uint32_t smbe_stlen) in smbios_table_nentries() argument 199 for (dmi = (char *)smbe_staddr; dmi < smbe_staddr + smbe_stlen; i++) { in smbios_table_nentries() 205 while (dmi + 1 < smbe_staddr + smbe_stlen && in smbios_table_nentries() 260 smbios_table_nentries(buf, ep->ep30.smbe_stlen); in smbios_bufopen() 277 q = (const uchar_t *)buf + MIN(ep->ep21.smbe_stlen, len); in smbios_bufopen() 280 q = (const uchar_t *)buf + MIN(ep->ep30.smbe_stlen, len); in smbios_bufopen()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | smbios.h | 72 uint16_t smbe_stlen; /* length in bytes of structure table */ member 92 uint32_t smbe_stlen; /* length in bytes of structure table */ member
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios.c | 201 ent30->smbe_stlen = htole32(table->stt_offset); in smbios_test_table_snapshot()
|
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 330 oprintf(fp, "Structure Table Length: %u\n", ep->smbe_stlen); in print_smbios_21() 350 oprintf(fp, "Structure Table Length: %u\n", ep->smbe_stlen); in print_smbios_30()
|