Home
last modified time | relevance | path

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

/linux-4.1.27/fs/jbd2/
Djournal.c1565 journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0); in journal_get_superblock()
1566 if (IS_ERR(journal->j_chksum_driver)) { in journal_get_superblock()
1568 err = PTR_ERR(journal->j_chksum_driver); in journal_get_superblock()
1569 journal->j_chksum_driver = NULL; in journal_get_superblock()
1752 if (journal->j_chksum_driver) in jbd2_journal_destroy()
1753 crypto_free_shash(journal->j_chksum_driver); in jbd2_journal_destroy()
1878 if (journal->j_chksum_driver == NULL) { in jbd2_journal_set_features()
1879 journal->j_chksum_driver = crypto_alloc_shash("crc32c", in jbd2_journal_set_features()
1881 if (IS_ERR(journal->j_chksum_driver)) { in jbd2_journal_set_features()
1884 journal->j_chksum_driver = NULL; in jbd2_journal_set_features()
/linux-4.1.27/include/linux/
Djbd2.h992 struct crypto_shash *j_chksum_driver; member
1372 BUG_ON(crypto_shash_descsize(journal->j_chksum_driver) > in jbd2_chksum()
1375 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()