Lines Matching refs:n_sections
902 unsigned n_sections, struct journal_completion *comp) in xor_journal() argument
905 size_t n_bytes = (size_t)(n_sections * ic->journal_section_sectors) << SECTOR_SHIFT; in xor_journal()
935 n_sections--; in xor_journal()
936 if (!n_sections) in xor_journal()
953 BUG_ON(n_sections); in xor_journal()
994 unsigned n_sections, struct journal_completion *comp) in crypt_journal() argument
1030 n_sections--; in crypt_journal()
1031 } while (n_sections); in crypt_journal()
1038 unsigned n_sections, struct journal_completion *comp) in encrypt_journal() argument
1041 return xor_journal(ic, encrypt, section, n_sections, comp); in encrypt_journal()
1043 return crypt_journal(ic, encrypt, section, n_sections, comp); in encrypt_journal()
1102 unsigned section, unsigned n_sections, in rw_journal() argument
1108 n_sectors = n_sections * ic->journal_section_sectors; in rw_journal()
2863 unsigned n_sections, unsigned char commit_seq) in init_journal() argument
2867 if (!n_sections) in init_journal()
2870 for (n = 0; n < n_sections; n++) { in init_journal()
2885 write_journal(ic, start_section, n_sections); in init_journal()