Searched refs:j_chksum_driver (Results 1 – 2 of 2) sorted by relevance
1146 struct crypto_shash *j_chksum_driver; member1558 journal->j_chksum_driver == NULL); in jbd2_journal_has_csum_v2or3()1560 return journal->j_chksum_driver != NULL; in jbd2_journal_has_csum_v2or3()1623 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()1626 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
1577 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_get_superblock()1578 if (IS_ERR(journal->j_chksum_driver)) { in journal_get_superblock()1580 err = PTR_ERR(journal->j_chksum_driver); in journal_get_superblock()1581 journal->j_chksum_driver = NULL; in journal_get_superblock()1767 if (journal->j_chksum_driver) in jbd2_journal_destroy()1768 crypto_free_shash(journal->j_chksum_driver); in jbd2_journal_destroy()1887 if ((journal->j_chksum_driver == NULL) && in jbd2_journal_set_features()1889 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in jbd2_journal_set_features()1890 if (IS_ERR(journal->j_chksum_driver)) { in jbd2_journal_set_features()1892 journal->j_chksum_driver = NULL; in jbd2_journal_set_features()