Lines Matching refs:commit_start
1113 static void write_journal(struct dm_integrity_c *ic, unsigned commit_start, unsigned commit_section… in write_journal() argument
1123 if (commit_start + commit_sections <= ic->journal_sections) { in write_journal()
1129 encrypt_journal(ic, true, commit_start, commit_sections, &crypt_comp_1); in write_journal()
1133 rw_section_mac(ic, commit_start + i, true); in write_journal()
1135 rw_journal(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, commit_start, in write_journal()
1140 to_end = ic->journal_sections - commit_start; in write_journal()
1145 encrypt_journal(ic, true, commit_start, to_end, &crypt_comp_1); in write_journal()
1148 commit_start, to_end, &io_comp); in write_journal()
1159 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1164 rw_section_mac(ic, commit_start + i, true); in write_journal()
1165 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
2357 unsigned commit_start, commit_sections; in integrity_commit() local
2372 commit_start = ic->uncommitted_section; in integrity_commit()
2381 i = commit_start; in integrity_commit()
2400 write_journal(ic, commit_start, commit_sections); in integrity_commit()