Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dsuper.c1706 if (sbi->s_chksum_driver) in f2fs_put_super()
1707 crypto_free_shash(sbi->s_chksum_driver); in f2fs_put_super()
4408 sbi->s_chksum_driver = crypto_alloc_shash("crc32", 0, 0); in f2fs_fill_super()
4409 if (IS_ERR(sbi->s_chksum_driver)) { in f2fs_fill_super()
4411 err = PTR_ERR(sbi->s_chksum_driver); in f2fs_fill_super()
4412 sbi->s_chksum_driver = NULL; in f2fs_fill_super()
4867 if (sbi->s_chksum_driver) in f2fs_fill_super()
4868 crypto_free_shash(sbi->s_chksum_driver); in f2fs_fill_super()
Df2fs.h1740 struct crypto_shash *s_chksum_driver; member
1895 BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver) != sizeof(desc.ctx)); in __f2fs_crc32()
1897 desc.shash.tfm = sbi->s_chksum_driver; in __f2fs_crc32()
/linux-6.6.21/fs/ext4/
Dext4.h1650 struct crypto_shash *s_chksum_driver; member
2458 BUG_ON(crypto_shash_descsize(sbi->s_chksum_driver)!=sizeof(desc.ctx)); in ext4_chksum()
2460 desc.shash.tfm = sbi->s_chksum_driver; in ext4_chksum()
3256 !EXT4_SB(sb)->s_chksum_driver); in ext4_has_metadata_csum()
3259 (EXT4_SB(sb)->s_chksum_driver != NULL); in ext4_has_metadata_csum()
Dsuper.c1381 if (sbi->s_chksum_driver) in ext4_put_super()
1382 crypto_free_shash(sbi->s_chksum_driver); in ext4_put_super()
4631 sbi->s_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in ext4_init_metadata_csum()
4632 if (IS_ERR(sbi->s_chksum_driver)) { in ext4_init_metadata_csum()
4633 int ret = PTR_ERR(sbi->s_chksum_driver); in ext4_init_metadata_csum()
4635 sbi->s_chksum_driver = NULL; in ext4_init_metadata_csum()
5661 if (sbi->s_chksum_driver) in __ext4_fill_super()
5662 crypto_free_shash(sbi->s_chksum_driver); in __ext4_fill_super()