Lines Matching refs:commit_start
999 static void write_journal(struct dm_integrity_c *ic, unsigned commit_start, unsigned commit_section… in write_journal() argument
1009 if (commit_start + commit_sections <= ic->journal_sections) { in write_journal()
1015 encrypt_journal(ic, true, commit_start, commit_sections, &crypt_comp_1); in write_journal()
1019 rw_section_mac(ic, commit_start + i, true); in write_journal()
1021 rw_journal(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, commit_start, in write_journal()
1026 to_end = ic->journal_sections - commit_start; in write_journal()
1031 encrypt_journal(ic, true, commit_start, to_end, &crypt_comp_1); in write_journal()
1033 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1044 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1049 rw_section_mac(ic, commit_start + i, true); in write_journal()
1050 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
2188 unsigned commit_start, commit_sections; in integrity_commit() local
2203 commit_start = ic->uncommitted_section; in integrity_commit()
2210 i = commit_start; in integrity_commit()
2229 write_journal(ic, commit_start, commit_sections); in integrity_commit()