Lines Matching refs:esum
103 uint8_t esum = 0, isum = 0; in smbios_bufopen_21() local
108 esum += *p; in smbios_bufopen_21()
113 if (esum != 0 || isum != 0) { in smbios_bufopen_21()
114 smb_dprintf(shp, "bad cksum: e=%x i=%x\n", esum, isum); in smbios_bufopen_21()
160 uint8_t esum = 0; in smbios_bufopen_30() local
165 esum += *p; in smbios_bufopen_30()
167 if (esum != 0) { in smbios_bufopen_30()
168 smb_dprintf(shp, "bad cksum: e=%x\n", esum); in smbios_bufopen_30()
376 uint8_t esum = 0, isum = 0; in smbios_checksum() local
390 esum += *p; in smbios_checksum()
392 ep->ep21.smbe_ecksum = -esum; in smbios_checksum()
397 esum += *p; in smbios_checksum()
399 ep->ep30.smbe_ecksum = -esum; in smbios_checksum()