Home
last modified time | relevance | path

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

/fs/udf/
Dmisc.c206 u8 checksum; in udf_read_tagged() local
230 checksum = udf_tag_checksum(tag_p); in udf_read_tagged()
231 if (checksum != tag_p->tagChecksum) { in udf_read_tagged()
233 block, checksum, tag_p->tagChecksum); in udf_read_tagged()
292 u8 checksum = 0; in udf_tag_checksum() local
296 checksum += data[i]; in udf_tag_checksum()
297 return checksum; in udf_tag_checksum()
/fs/affs/
Damigaffs.c359 u32 checksum; in affs_fix_checksum() local
364 for (checksum = 0; cnt > 0; ptr++, cnt--) in affs_fix_checksum()
365 checksum += be32_to_cpu(*ptr); in affs_fix_checksum()
366 *checksumptr = cpu_to_be32(-checksum); in affs_fix_checksum()
/fs/ecryptfs/
Dkeystore.c221 u16 checksum = 0; in parse_tag_65_packet() local
286 checksum += session_key->decrypted_key[i]; in parse_tag_65_packet()
287 if (expected_checksum != checksum) { in parse_tag_65_packet()
290 "[%x]\n", expected_checksum, checksum); in parse_tag_65_packet()
306 size_t checksum = 0; in write_tag_66_packet() local
351 checksum += crypt_stat->key[j]; in write_tag_66_packet()
352 message[i++] = (checksum / 256) % 256; in write_tag_66_packet()
353 message[i++] = (checksum % 256); in write_tag_66_packet()
/fs/jbd2/
Dcommit.c305 __u32 checksum; in jbd2_checksum_data() local
308 checksum = crc32_be(crc32_sum, in jbd2_checksum_data()
312 return checksum; in jbd2_checksum_data()
/fs/ntfs/
Dsuper.c593 if ((void*)b < (void*)&b->checksum && b->checksum && !silent) { in is_boot_sector_ntfs()
597 for (i = 0, u = (le32*)b; u < (le32*)(&b->checksum); ++u) in is_boot_sector_ntfs()
599 if (le32_to_cpu(b->checksum) != i) in is_boot_sector_ntfs()
Dlayout.h93 le32 checksum; /* Boot sector checksum. */ member