Home
last modified time | relevance | path

Searched refs:commit_sections (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-integrity.c1009 static void write_journal(struct dm_integrity_c *ic, unsigned commit_start, unsigned commit_sections) in write_journal() argument
1019 if (commit_start + commit_sections <= ic->journal_sections) { in write_journal()
1025 encrypt_journal(ic, true, commit_start, commit_sections, &crypt_comp_1); in write_journal()
1028 for (i = 0; i < commit_sections; i++) in write_journal()
1032 commit_sections, &io_comp); in write_journal()
1046 encrypt_journal(ic, true, 0, commit_sections - to_end, &crypt_comp_1); in write_journal()
1052 encrypt_journal(ic, true, 0, commit_sections - to_end, &crypt_comp_2); in write_journal()
1061 for (i = 0; i < commit_sections - to_end; i++) in write_journal()
1064 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal()
2239 unsigned commit_start, commit_sections; in integrity_commit() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-integrity.c1109 static void write_journal(struct dm_integrity_c *ic, unsigned int commit_start, unsigned int commit_sections) in write_journal() argument
1119 if (commit_start + commit_sections <= ic->journal_sections) { in write_journal()
1125 encrypt_journal(ic, true, commit_start, commit_sections, &crypt_comp_1); in write_journal()
1128 for (i = 0; i < commit_sections; i++) in write_journal()
1132 commit_sections, &io_comp); in write_journal()
1148 encrypt_journal(ic, true, 0, commit_sections - to_end, &crypt_comp_1); in write_journal()
1154 encrypt_journal(ic, true, 0, commit_sections - to_end, &crypt_comp_2); in write_journal()
1163 for (i = 0; i < commit_sections - to_end; i++) in write_journal()
1166 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal()
2439 unsigned int commit_start, commit_sections; in integrity_commit() local
[all...]

Completed in 10 milliseconds