Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Djbd2.h1034 struct crypto_shash *j_chksum_driver; member
1416 journal->j_chksum_driver == NULL); in jbd2_journal_has_csum_v2or3()
1418 return journal->j_chksum_driver != NULL; in jbd2_journal_has_csum_v2or3()
1481 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
1484 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
/linux-4.4.14/fs/jbd2/
Djournal.c1550 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_get_superblock()
1551 if (IS_ERR(journal->j_chksum_driver)) { in journal_get_superblock()
1553 err = PTR_ERR(journal->j_chksum_driver); in journal_get_superblock()
1554 journal->j_chksum_driver = NULL; in journal_get_superblock()
1738 if (journal->j_chksum_driver) in jbd2_journal_destroy()
1739 crypto_free_shash(journal->j_chksum_driver); in jbd2_journal_destroy()
1864 if (journal->j_chksum_driver == NULL) { in jbd2_journal_set_features()
1865 journal->j_chksum_driver = crypto_alloc_shash("crc32c", in jbd2_journal_set_features()
1867 if (IS_ERR(journal->j_chksum_driver)) { in jbd2_journal_set_features()
1870 journal->j_chksum_driver = NULL; in jbd2_journal_set_features()