Lines Matching refs:commit_start
992 static void write_journal(struct dm_integrity_c *ic, unsigned commit_start, unsigned commit_section… in write_journal() argument
1002 if (commit_start + commit_sections <= ic->journal_sections) { in write_journal()
1008 encrypt_journal(ic, true, commit_start, commit_sections, &crypt_comp_1); in write_journal()
1012 rw_section_mac(ic, commit_start + i, true); in write_journal()
1014 rw_journal(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, commit_start, in write_journal()
1019 to_end = ic->journal_sections - commit_start; in write_journal()
1024 encrypt_journal(ic, true, commit_start, to_end, &crypt_comp_1); in write_journal()
1026 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1037 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
1042 rw_section_mac(ic, commit_start + i, true); in write_journal()
1043 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
2082 unsigned commit_start, commit_sections; in integrity_commit() local
2097 commit_start = ic->uncommitted_section; in integrity_commit()
2104 i = commit_start; in integrity_commit()
2123 write_journal(ic, commit_start, commit_sections); in integrity_commit()