Home
last modified time | relevance | path

Searched refs:calculated (Results 1 – 5 of 5) sorted by relevance

/fs/ext4/
Dbitmap.c24 __u32 provided, calculated; in ext4_inode_bitmap_csum_verify() local
31 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_inode_bitmap_csum_verify()
36 calculated &= 0xFFFF; in ext4_inode_bitmap_csum_verify()
38 return provided == calculated; in ext4_inode_bitmap_csum_verify()
62 __u32 provided, calculated; in ext4_block_bitmap_csum_verify() local
70 calculated = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)bh->b_data, sz); in ext4_block_bitmap_csum_verify()
75 calculated &= 0xFFFF; in ext4_block_bitmap_csum_verify()
77 if (provided == calculated) in ext4_block_bitmap_csum_verify()
Dinode.c89 __u32 provided, calculated; in ext4_inode_csum_verify() local
97 calculated = ext4_inode_csum(inode, raw, ei); in ext4_inode_csum_verify()
102 calculated &= 0xFFFF; in ext4_inode_csum_verify()
104 return provided == calculated; in ext4_inode_csum_verify()
/fs/jbd2/
Drecovery.c178 __u32 calculated; in jbd2_descriptor_block_csum_verify() local
187 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descriptor_block_csum_verify()
190 return provided == cpu_to_be32(calculated); in jbd2_descriptor_block_csum_verify()
390 __u32 calculated; in jbd2_commit_block_csum_verify() local
398 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify()
401 return provided == cpu_to_be32(calculated); in jbd2_commit_block_csum_verify()
/fs/f2fs/
Dinode.c165 __u32 provided, calculated; in f2fs_inode_chksum_verify() local
180 calculated = f2fs_inode_chksum(sbi, page); in f2fs_inode_chksum_verify()
182 if (provided != calculated) in f2fs_inode_chksum_verify()
184 page->index, ino_of_node(page), provided, calculated); in f2fs_inode_chksum_verify()
186 return provided == calculated; in f2fs_inode_chksum_verify()
/fs/affs/
DChanges303 was calculated and in the one following. This
307 - The number of used blocks is now also calculated