Searched refs:csum32 (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/fs/jbd2/ |
D | recovery.c | 455 __u32 csum32; in jbd2_block_tag_csum_verify() local 462 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify() 463 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify() 466 return tag3->t_checksum == cpu_to_be32(csum32); in jbd2_block_tag_csum_verify() 468 return tag->t_checksum == cpu_to_be16(csum32); in jbd2_block_tag_csum_verify()
|
D | commit.c | 325 __u32 csum32; in jbd2_block_tag_csum_set() local 333 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_set() 334 csum32 = jbd2_chksum(j, csum32, addr, bh->b_size); in jbd2_block_tag_csum_set() 338 tag3->t_checksum = cpu_to_be32(csum32); in jbd2_block_tag_csum_set() 340 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set()
|
/linux-6.6.21/fs/ext4/ |
D | super.c | 3235 __u32 csum32; in ext4_group_desc_csum() local 3238 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum() 3240 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum() 3241 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum() 3245 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum() 3248 crc = csum32 & 0xFFFF; in ext4_group_desc_csum()
|