Searched refs:j_chksum_driver (Results 1 – 2 of 2) sorted by relevance
1269 struct crypto_shash *j_chksum_driver; member1738 journal->j_chksum_driver == NULL); in jbd2_journal_has_csum_v2or3()1740 return journal->j_chksum_driver != NULL; in jbd2_journal_has_csum_v2or3()1791 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()1794 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
1970 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_get_superblock()1971 if (IS_ERR(journal->j_chksum_driver)) { in journal_get_superblock()1973 err = PTR_ERR(journal->j_chksum_driver); in journal_get_superblock()1974 journal->j_chksum_driver = NULL; in journal_get_superblock()2190 if (journal->j_chksum_driver) in jbd2_journal_destroy()2191 crypto_free_shash(journal->j_chksum_driver); in jbd2_journal_destroy()2347 if ((journal->j_chksum_driver == NULL) && in jbd2_journal_set_features()2349 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in jbd2_journal_set_features()2350 if (IS_ERR(journal->j_chksum_driver)) { in jbd2_journal_set_features()2352 journal->j_chksum_driver = NULL; in jbd2_journal_set_features()
Completed in 11 milliseconds