Home
last modified time | relevance | path

Searched refs:ext4_chksum (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/fs/ext4/
Dbitmap.c31 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_verify()
51 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_set()
70 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_verify()
94 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_set()
Dfast_commit.c585 *crc = ext4_chksum(EXT4_SB(sb), *crc, dst, len); in ext4_fc_memzero()
636 *crc = ext4_chksum(sbi, *crc, tl, sizeof(*tl)); in ext4_fc_reserve_space()
657 *crc = ext4_chksum(EXT4_SB(sb), *crc, src, len); in ext4_fc_memcpy()
1995 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
2001 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
2028 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
Dmmp.c17 csum = ext4_chksum(sbi, sbi->s_csum_seed, (char *)mmp, offset); in ext4_mmp_csum()
Dxattr.c140 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&dsk_block_nr, in ext4_xattr_block_csum()
142 csum = ext4_chksum(sbi, csum, (__u8 *)hdr, offset); in ext4_xattr_block_csum()
143 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, sizeof(dummy_csum)); in ext4_xattr_block_csum()
145 csum = ext4_chksum(sbi, csum, (__u8 *)hdr + offset, in ext4_xattr_block_csum()
314 return ext4_chksum(sbi, sbi->s_csum_seed, buffer, size); in ext4_xattr_inode_hash()
Dioctl.c100 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, sizeof(inum)); in ext4_reset_inode_seed()
101 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, sizeof(gen)); in ext4_reset_inode_seed()
Dinode.c60 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, offset); in ext4_inode_csum()
61 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, csum_size); in ext4_inode_csum()
63 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum()
68 csum = ext4_chksum(sbi, csum, (__u8 *)raw + in ext4_inode_csum()
72 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, in ext4_inode_csum()
76 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum()
4845 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, in __ext4_iget()
4847 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_iget()
Dialloc.c1284 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, in __ext4_new_inode()
1286 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_new_inode()
Dsuper.c266 csum = ext4_chksum(sbi, ~0, (char *)es, offset); in ext4_superblock_csum()
2796 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum()
2798 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum()
2799 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum()
2803 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum()
4115 sbi->s_csum_seed = ext4_chksum(sbi, ~0, es->s_uuid, in ext4_fill_super()
Dnamei.c377 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dirblock_csum()
476 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dx_csum()
477 csum = ext4_chksum(sbi, csum, (__u8 *)t, offset); in ext4_dx_csum()
478 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, sizeof(dummy_csum)); in ext4_dx_csum()
Dext4.h2305 static inline u32 ext4_chksum(struct ext4_sb_info *sbi, u32 crc, in ext4_chksum() function
Dextents.c56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()