Searched refs:plainsum (Results 1 – 7 of 7) sorted by relevance
258 uint16_t plainsum; in calc_partition_header_checksum() local262 plainsum = nvram_read_byte(offset); in calc_partition_header_checksum()265 plainsum+=nvram_read_byte(offset+i); in calc_partition_header_checksum()267 checksum=(plainsum>>8)+(plainsum&0xff); in calc_partition_header_checksum()