Searched refs:s_chksum_driver (Results 1 – 4 of 4) sorted by relevance
1706 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()
1740 struct crypto_shash *s_chksum_driver; member1895 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()
1650 struct crypto_shash *s_chksum_driver; member2458 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()
1381 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()