Home
last modified time | relevance | path

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

/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()
Dorphan.c544 calculated = ext4_chksum(EXT4_SB(sb), oi->of_csum_seed, in ext4_orphan_file_block_csum_verify()
546 calculated = ext4_chksum(EXT4_SB(sb), calculated, (__u8 *)bh->b_data, in ext4_orphan_file_block_csum_verify()
563 csum = ext4_chksum(EXT4_SB(sb), oi->of_csum_seed, in ext4_orphan_file_block_trigger()
565 csum = ext4_chksum(EXT4_SB(sb), csum, (__u8 *)data, in ext4_orphan_file_block_trigger()
Dfast_commit.c612 *crc = ext4_chksum(EXT4_SB(sb), *crc, src, len); in ext4_fc_memcpy()
624 *crc = ext4_chksum(EXT4_SB(sb), *crc, dst, len); in ext4_fc_memzero()
2044 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
2050 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
2077 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.c144 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&dsk_block_nr, in ext4_xattr_block_csum()
146 csum = ext4_chksum(sbi, csum, (__u8 *)hdr, offset); in ext4_xattr_block_csum()
147 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, sizeof(dummy_csum)); in ext4_xattr_block_csum()
149 csum = ext4_chksum(sbi, csum, (__u8 *)hdr + offset, in ext4_xattr_block_csum()
318 return ext4_chksum(sbi, sbi->s_csum_seed, buffer, size); in ext4_xattr_inode_hash()
Dinode.c62 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, offset); in ext4_inode_csum()
63 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, csum_size); in ext4_inode_csum()
65 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum()
70 csum = ext4_chksum(sbi, csum, (__u8 *)raw + in ext4_inode_csum()
74 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, in ext4_inode_csum()
78 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum()
4716 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, in __ext4_iget()
4718 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_iget()
Dioctl.c101 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, sizeof(inum)); in ext4_reset_inode_seed()
102 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, sizeof(gen)); in ext4_reset_inode_seed()
Dialloc.c1294 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, in __ext4_new_inode()
1296 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_new_inode()
Dsuper.c263 csum = ext4_chksum(sbi, ~0, (char *)es, offset); in ext4_superblock_csum()
2817 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum()
2819 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum()
2820 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum()
2824 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum()
4006 sbi->s_csum_seed = ext4_chksum(sbi, ~0, es->s_uuid, in ext4_fill_super()
Dnamei.c382 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dirblock_csum()
482 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dx_csum()
483 csum = ext4_chksum(sbi, csum, (__u8 *)t, offset); in ext4_dx_csum()
484 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, sizeof(dummy_csum)); in ext4_dx_csum()
Dext4.h2436 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()