Lines Matching refs:j
174 static int jbd2_descriptor_block_csum_verify(journal_t *j, void *buf) in jbd2_descriptor_block_csum_verify() argument
180 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_descriptor_block_csum_verify()
183 tail = (struct jbd2_journal_block_tail *)(buf + j->j_blocksize - in jbd2_descriptor_block_csum_verify()
187 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descriptor_block_csum_verify()
378 static int jbd2_commit_block_csum_verify(journal_t *j, void *buf) in jbd2_commit_block_csum_verify() argument
384 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_commit_block_csum_verify()
390 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify()
396 static int jbd2_block_tag_csum_verify(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_verify() argument
403 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_block_tag_csum_verify()
407 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify()
408 csum32 = jbd2_chksum(j, csum32, buf, j->j_blocksize); in jbd2_block_tag_csum_verify()
410 if (jbd2_has_feature_csum3(j)) in jbd2_block_tag_csum_verify()