Searched refs:csum32 (Results 1 – 3 of 3) sorted by relevance
/fs/jbd2/ |
D | recovery.c | 448 __u32 csum32; in jbd2_block_tag_csum_verify() local 455 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify() 456 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify() 459 return tag3->t_checksum == cpu_to_be32(csum32); in jbd2_block_tag_csum_verify() 461 return tag->t_checksum == cpu_to_be16(csum32); in jbd2_block_tag_csum_verify()
|
D | commit.c | 358 __u32 csum32; in jbd2_block_tag_csum_set() local 366 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_set() 367 csum32 = jbd2_chksum(j, csum32, addr + offset_in_page(bh->b_data), in jbd2_block_tag_csum_set() 372 tag3->t_checksum = cpu_to_be32(csum32); in jbd2_block_tag_csum_set() 374 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set()
|
/fs/ext4/ |
D | super.c | 2810 __u32 csum32; in ext4_group_desc_csum() local 2813 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum() 2815 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum() 2816 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum() 2820 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum() 2823 crc = csum32 & 0xFFFF; in ext4_group_desc_csum()
|