Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/jbd2/
Drecovery.c440 __u32 csum32; in jbd2_block_tag_csum_verify() local
447 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify()
448 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
451 return tag3->t_checksum == cpu_to_be32(csum32); in jbd2_block_tag_csum_verify()
453 return tag->t_checksum == cpu_to_be16(csum32); in jbd2_block_tag_csum_verify()
Dcommit.c357 __u32 csum32; in jbd2_block_tag_csum_set() local
365 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_set()
366 csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), in jbd2_block_tag_csum_set()
371 tag3->t_checksum = cpu_to_be32(csum32); in jbd2_block_tag_csum_set()
373 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set()
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c2796 __u32 csum32; in ext4_group_desc_csum() local
2799 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum()
2801 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum()
2802 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum()
2806 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum()
2809 crc = csum32 & 0xFFFF; in ext4_group_desc_csum()