Home
last modified time | relevance | path

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

/fs/jbd2/
Drecovery.c408 __u32 csum32; in jbd2_block_tag_csum_verify() local
415 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify()
416 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
419 return tag3->t_checksum == cpu_to_be32(csum32); in jbd2_block_tag_csum_verify()
421 return tag->t_checksum == cpu_to_be16(csum32); in jbd2_block_tag_csum_verify()
Dcommit.c331 __u32 csum32; in jbd2_block_tag_csum_set() local
339 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_set()
340 csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), in jbd2_block_tag_csum_set()
345 tag3->t_checksum = cpu_to_be32(csum32); in jbd2_block_tag_csum_set()
347 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set()
/fs/ext4/
Dsuper.c2518 __u32 csum32; in ext4_group_desc_csum() local
2521 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum()
2523 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum()
2524 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum()
2528 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum()
2531 crc = csum32 & 0xFFFF; in ext4_group_desc_csum()