Lines Matching refs:n_sections
800 unsigned n_sections, struct journal_completion *comp) in xor_journal() argument
803 size_t n_bytes = (size_t)(n_sections * ic->journal_section_sectors) << SECTOR_SHIFT; in xor_journal()
833 n_sections--; in xor_journal()
834 if (!n_sections) in xor_journal()
851 BUG_ON(n_sections); in xor_journal()
892 unsigned n_sections, struct journal_completion *comp) in crypt_journal() argument
928 n_sections--; in crypt_journal()
929 } while (n_sections); in crypt_journal()
936 unsigned n_sections, struct journal_completion *comp) in encrypt_journal() argument
939 return xor_journal(ic, encrypt, section, n_sections, comp); in encrypt_journal()
941 return crypt_journal(ic, encrypt, section, n_sections, comp); in encrypt_journal()
999 unsigned n_sections, struct journal_completion *comp) in rw_journal() argument
1004 n_sectors = n_sections * ic->journal_section_sectors; in rw_journal()
2743 unsigned n_sections, unsigned char commit_seq) in init_journal() argument
2747 if (!n_sections) in init_journal()
2750 for (n = 0; n < n_sections; n++) { in init_journal()
2764 write_journal(ic, start_section, n_sections); in init_journal()