Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dmmp.c17 csum = ext4_chksum(sbi, sbi->s_csum_seed, (char *)mmp, offset); in ext4_mmp_csum()
Dfast_commit.c683 *crc = ext4_chksum(EXT4_SB(sb), *crc, src, len); in ext4_fc_memcpy()
695 *crc = ext4_chksum(EXT4_SB(sb), *crc, dst, len); in ext4_fc_memzero()
2111 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
2117 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
2144 state->fc_crc = ext4_chksum(sbi, state->fc_crc, cur, in ext4_fc_replay_scan()
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()
Dinode.c61 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, offset); in ext4_inode_csum()
62 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, csum_size); in ext4_inode_csum()
64 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum()
69 csum = ext4_chksum(sbi, csum, (__u8 *)raw + in ext4_inode_csum()
73 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, in ext4_inode_csum()
77 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum()
4840 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, in __ext4_iget()
4842 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_iget()
Dialloc.c1289 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, in __ext4_new_inode()
1291 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, in __ext4_new_inode()
Dioctl.c351 csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum, sizeof(inum)); in ext4_reset_inode_seed()
352 ei->i_csum_seed = ext4_chksum(sbi, csum, (__u8 *)&gen, sizeof(gen)); in ext4_reset_inode_seed()
Dnamei.c381 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dirblock_csum()
480 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)dirent, size); in ext4_dx_csum()
481 csum = ext4_chksum(sbi, csum, (__u8 *)t, offset); in ext4_dx_csum()
482 csum = ext4_chksum(sbi, csum, (__u8 *)&dummy_csum, sizeof(dummy_csum)); in ext4_dx_csum()
Dsuper.c282 csum = ext4_chksum(sbi, ~0, (char *)es, offset); in ext4_superblock_csum()
3162 csum32 = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&le_group, in ext4_group_desc_csum()
3164 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp, offset); in ext4_group_desc_csum()
3165 csum32 = ext4_chksum(sbi, csum32, (__u8 *)&dummy_csum, in ext4_group_desc_csum()
3169 csum32 = ext4_chksum(sbi, csum32, (__u8 *)gdp + offset, in ext4_group_desc_csum()
4580 sbi->s_csum_seed = ext4_chksum(sbi, ~0, es->s_uuid, in ext4_init_metadata_csum()
Dext4.h2450 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()