Home
last modified time | relevance | path

Searched refs:j_chksum_driver (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Djbd2.h1247 struct crypto_shash *j_chksum_driver; member
1731 journal->j_chksum_driver == NULL); in jbd2_journal_has_csum_v2or3()
1733 return journal->j_chksum_driver != NULL; in jbd2_journal_has_csum_v2or3()
1782 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
1785 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
/openbmc/linux/fs/jbd2/
H A Djournal.c1422 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_check_superblock()
1423 if (IS_ERR(journal->j_chksum_driver)) { in journal_check_superblock()
1425 err = PTR_ERR(journal->j_chksum_driver); in journal_check_superblock()
1426 journal->j_chksum_driver = NULL; in journal_check_superblock()
1646 if (journal->j_chksum_driver) in journal_init_common()
1647 crypto_free_shash(journal->j_chksum_driver); in journal_init_common()
2229 if (journal->j_chksum_driver) in jbd2_journal_destroy()
2230 crypto_free_shash(journal->j_chksum_driver); in jbd2_journal_destroy()
2376 if ((journal->j_chksum_driver == NULL) && in jbd2_journal_set_features()
2378 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in jbd2_journal_set_features()
[all …]