Searched refs:j_chksum_driver (Results 1 – 2 of 2) sorted by relevance
1231 struct crypto_shash *j_chksum_driver; member1689 journal->j_chksum_driver == NULL); in jbd2_journal_has_csum_v2or3()1691 return journal->j_chksum_driver != NULL; in jbd2_journal_has_csum_v2or3()1735 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()1738 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
1814 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_get_superblock()1815 if (IS_ERR(journal->j_chksum_driver)) { in journal_get_superblock()1817 err = PTR_ERR(journal->j_chksum_driver); in journal_get_superblock()1818 journal->j_chksum_driver = NULL; in journal_get_superblock()2022 if (journal->j_chksum_driver) in jbd2_journal_destroy()2023 crypto_free_shash(journal->j_chksum_driver); in jbd2_journal_destroy()2181 if ((journal->j_chksum_driver == NULL) && in jbd2_journal_set_features()2183 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in jbd2_journal_set_features()2184 if (IS_ERR(journal->j_chksum_driver)) { in jbd2_journal_set_features()2186 journal->j_chksum_driver = NULL; in jbd2_journal_set_features()