Home
last modified time | relevance | path

Searched refs:s_chksum_driver (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/f2fs/
Dsuper.c1349 if (sbi->s_chksum_driver) in f2fs_put_super()
1350 crypto_free_shash(sbi->s_chksum_driver); in f2fs_put_super()
3616 sbi->s_chksum_driver = crypto_alloc_shash("crc32", 0, 0); in f2fs_fill_super()
3617 if (IS_ERR(sbi->s_chksum_driver)) { in f2fs_fill_super()
3619 err = PTR_ERR(sbi->s_chksum_driver); in f2fs_fill_super()
3620 sbi->s_chksum_driver = NULL; in f2fs_fill_super()
4075 if (sbi->s_chksum_driver) in f2fs_fill_super()
4076 crypto_free_shash(sbi->s_chksum_driver); in f2fs_fill_super()
Df2fs.h1578 struct crypto_shash *s_chksum_driver; member
1700 BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver) != sizeof(desc.ctx)); in __f2fs_crc32()
1702 desc.shash.tfm = sbi->s_chksum_driver; in __f2fs_crc32()
/kernel/linux/linux-5.10/fs/ext4/
Dext4.h1581 struct crypto_shash *s_chksum_driver; member
2313 BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver)!=sizeof(desc.ctx)); in ext4_chksum()
2315 desc.shash.tfm = sbi->s_chksum_driver; in ext4_chksum()
3144 !EXT4_SB(sb)->s_chksum_driver); in ext4_has_metadata_csum()
3147 (EXT4_SB(sb)->s_chksum_driver != NULL); in ext4_has_metadata_csum()
Dsuper.c1263 if (sbi->s_chksum_driver) in ext4_put_super()
1264 crypto_free_shash(sbi->s_chksum_driver); in ext4_put_super()
4094 sbi->s_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in ext4_fill_super()
4095 if (IS_ERR(sbi->s_chksum_driver)) { in ext4_fill_super()
4097 ret = PTR_ERR(sbi->s_chksum_driver); in ext4_fill_super()
4098 sbi->s_chksum_driver = NULL; in ext4_fill_super()
5186 if (sbi->s_chksum_driver) in ext4_fill_super()
5187 crypto_free_shash(sbi->s_chksum_driver); in ext4_fill_super()