Lines Matching refs:smbh_len
253 if (offset >= hp->smbh_len) { in smb_info_bcopy_offset()
255 } else if (offset + dstlen > hp->smbh_len) { in smb_info_bcopy_offset()
256 size_t nvalid = MIN(hp->smbh_len - offset, dstlen); in smb_info_bcopy_offset()
397 if (stp->smbst_hdr->smbh_len < sizeof (smb_bios_t) - sizeof (uint8_t)) in smbios_info_bios()
418 if (stp->smbst_hdr->smbh_len >= sizeof (smb_bios_t)) { in smbios_info_bios()
420 bp->smbb_nxcflags = stp->smbst_hdr->smbh_len - in smbios_info_bios()
547 if (stp->smbst_hdr->smbh_len < offsetof(smb_chassis_t, smbch_oemdata)) { in smbios_info_chassis()
587 stp->smbst_hdr->smbh_len < skuoff + 1) { in smbios_info_chassis()
645 if (stp->smbst_hdr->smbh_len < sizeof (ch) + entlen) { in smbios_info_chassis_elts()
924 if (stp->smbst_hdr->smbh_len <= offsetof(smb_slot_t, smbsl_npeers) || in smbios_info_slot_peers()
937 if (stp->smbst_hdr->smbh_len < minlen) { in smbios_info_slot_peers()
999 m = (stp->smbst_hdr->smbh_len - sizeof (smb_header_t)) / sizeof (*op); in smbios_info_obdevs()
1070 if (stp->smbst_hdr->smbh_len < sizeof (smb_sel_t) - sizeof (uint8_t)) in smbios_info_eventlog()
1074 len = stp->smbst_hdr->smbh_len - sizeof (smb_sel_t) + sizeof (uint8_t); in smbios_info_eventlog()
1332 bp->smbt_size = stp->smbst_hdr->smbh_len - sizeof (smb_boot_t); in smbios_info_boot()
1630 if (stp->smbst_hdr->smbh_len < sizeof (exmd) + size) in smbios_info_extmemdevice_cs()
1669 if (stp->smbst_hdr->smbh_len < 0x10) in smbios_info_powersup()
1688 if (stp->smbst_hdr->smbh_len >= 0x12) { in smbios_info_powersup()
1694 if (stp->smbst_hdr->smbh_len >= 0x14) { in smbios_info_powersup()
1700 if (stp->smbst_hdr->smbh_len >= 0x16) { in smbios_info_powersup()
1721 if (stp->smbst_hdr->smbh_len < SMB_VPROBE_MINLEN) in smbios_info_vprobe()
1735 if (stp->smbst_hdr->smbh_len >= SMB_VPROBE_NOMINAL_MINLEN) { in smbios_info_vprobe()
1756 if (stp->smbst_hdr->smbh_len < SMB_COOLDEV_MINLEN) in smbios_info_cooldev()
1767 if (stp->smbst_hdr->smbh_len >= SMB_COOLDEV_NOMINAL_MINLEN) { in smbios_info_cooldev()
1782 stp->smbst_hdr->smbh_len >= SMB_COOLDEV_DESCR_MINLEN) { in smbios_info_cooldev()
1803 if (stp->smbst_hdr->smbh_len < SMB_TPROBE_MINLEN) in smbios_info_tprobe()
1817 if (stp->smbst_hdr->smbh_len >= SMB_TPROBE_NOMINAL_MINLEN) { in smbios_info_tprobe()
1838 if (sip->smbst_hdr->smbh_len < SMB_IPROBE_MINLEN) in smbios_info_iprobe()
1852 if (sip->smbst_hdr->smbh_len >= SMB_IPROBE_NOMINAL_MINLEN) { in smbios_info_iprobe()
1874 if (stp->smbst_hdr->smbh_len < sizeof (pi)) in smbios_info_processor_info()
1880 if (sizeof (pi) + pi.smbpai_len > stp->smbst_hdr->smbh_len) in smbios_info_processor_info()
1905 if (stp->smbst_hdr->smbh_len < sizeof (*proc)) { in smbios_info_processor_riscv()
1910 if (sizeof (*proc) + proc->smbpai_len > stp->smbst_hdr->smbh_len) { in smbios_info_processor_riscv()
1923 if (stp->smbst_hdr->smbh_len < sizeof (*proc) + sizeof (*rv)) { in smbios_info_processor_riscv()
1968 if (stp->smbst_hdr->smbh_len < sizeof (point)) { in smbios_info_pointdev()
1996 if (stp->smbst_hdr->smbh_len < sizeof (bat)) { in smbios_info_battery()
2053 if (stp->smbst_hdr->smbh_len < sizeof (prop)) { in smbios_info_strprop()
2057 if (stp->smbst_hdr->smbh_len > sizeof (prop)) { in smbios_info_strprop()
2085 if (stp->smbst_hdr->smbh_len < sizeof (fw)) { in smbios_info_fwinfo()
2126 if (stp->smbst_hdr->smbh_len < sizeof (fw)) { in smbios_info_fwinfo_comps()
2138 if (stp->smbst_hdr->smbh_len < need) { in smbios_info_fwinfo_comps()
2188 if (stp->smbst_hdr->smbh_len < sizeof (add)) { in smbios_info_addinfo_nents()
2228 if (stp->smbst_hdr->smbh_len < sizeof (add)) { in smbios_info_addinfo_ent()
2239 if (off + sizeof (ent) > stp->smbst_hdr->smbh_len) { in smbios_info_addinfo_ent()
2248 if (ent.smbaie_len + off > stp->smbst_hdr->smbh_len) { in smbios_info_addinfo_ent()