Lines Matching refs:n_sections
607 unsigned n_sections, struct journal_completion *comp) in xor_journal() argument
610 size_t n_bytes = (size_t)(n_sections * ic->journal_section_sectors) << SECTOR_SHIFT; in xor_journal()
640 n_sections--; in xor_journal()
641 if (!n_sections) in xor_journal()
658 BUG_ON(n_sections); in xor_journal()
699 unsigned n_sections, struct journal_completion *comp) in crypt_journal() argument
735 n_sections--; in crypt_journal()
736 } while (n_sections); in crypt_journal()
743 unsigned n_sections, struct journal_completion *comp) in encrypt_journal() argument
746 return xor_journal(ic, encrypt, section, n_sections, comp); in encrypt_journal()
748 return crypt_journal(ic, encrypt, section, n_sections, comp); in encrypt_journal()
760 unsigned n_sections, struct journal_completion *comp) in rw_journal() argument
774 n_sectors = n_sections * ic->journal_section_sectors; in rw_journal()
2200 unsigned n_sections, unsigned char commit_seq) in init_journal() argument
2204 if (!n_sections) in init_journal()
2207 for (n = 0; n < n_sections; n++) { in init_journal()
2221 write_journal(ic, start_section, n_sections); in init_journal()