Lines Matching defs:checksum
20 * bad checksum, reads and writes return -EIO. The checksum can be initialized
22 * ioctl(NVRAM_SETCKS) (doesn't change contents, just makes checksum valid
67 * the kernel. It's up to the caller to ensure correct checksum before reading
100 /* This races nicely with trying to read with checksum checking (nvram_read) */
115 /* On PCs, the checksum is built only over bytes 2..31 */
323 /* initialize NVRAM contents and checksum */
334 /* just set checksum, contents unchanged (maybe useful after
335 * checksum garbaged somehow...) */
414 int checksum;
418 checksum = __nvram_check_checksum();
421 seq_printf(seq, "Checksum status: %svalid\n", checksum ? "" : "not ");