Home
last modified time | relevance | path

Searched refs:chksump (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_nvram.c455 uint8_t *bufp, kv_len, *chksump, chksum = 0; in pmcs_validate_vpd() local
529 chksump = (uint8_t *)&vpd_header->vpd_start_byte; in pmcs_validate_vpd()
530 ASSERT (*chksump == PMCS_VPD_START); in pmcs_validate_vpd()
531 for (idx = 0; idx < chksum_len; idx++, chksump++) { in pmcs_validate_vpd()
532 chksum += *chksump; in pmcs_validate_vpd()
534 ASSERT (*chksump == PMCS_VPD_END); in pmcs_validate_vpd()