Lines Matching defs:journal_section_entries
203 unsigned char journal_section_entries;
720 unsigned int limit = e ? ic->journal_section_entries : ic->journal_section_sectors;
821 for (j = 0; j < ic->journal_section_entries; j++) {
1401 next_section = (unsigned int)(next_node - ic->journal_tree) / ic->journal_section_entries;
2143 if (unlikely(journal_entry == ic->journal_section_entries)) {
2228 ic->free_section_entry = next_entry % ic->journal_section_entries;
2229 ic->free_section += next_entry / ic->journal_section_entries;
2230 ic->n_uncommitted_sections += next_entry / ic->journal_section_entries;
2233 pos = journal_section * ic->journal_section_entries + journal_entry;
2249 if (unlikely(we == ic->journal_section_entries)) {
2329 journal_section = journal_read_pos / ic->journal_section_entries;
2330 journal_entry = journal_read_pos % ic->journal_section_entries;
2418 ic->free_sectors -= ic->journal_section_entries - ic->free_section_entry;
2424 if (WARN_ON(ic->journal_sections * ic->journal_section_entries !=
2426 ic->journal_section_entries + ic->free_sectors)) {
2427 DMCRIT("journal_sections %u, journal_section_entries %u, "
2429 "journal_section_entries %u, free_sectors %u",
2430 ic->journal_sections, ic->journal_section_entries,
2432 ic->journal_section_entries, ic->free_sectors);
2465 for (j = 0; j < ic->journal_section_entries; j++) {
2549 for (j = 0; j < ic->journal_section_entries; j++) {
2573 for (k = j + 1; k < ic->journal_section_entries; k++) {
2599 struct journal_node *section_node = &ic->journal_tree[i * ic->journal_section_entries];
2699 ic->free_sectors += write_sections * ic->journal_section_entries;
2994 for (j = 0; j < ic->journal_section_entries; j++) {
3070 for (j = 0; j < ic->journal_section_entries; j++) {
3519 ic->journal_section_entries = ic->journal_entries_per_sector * JOURNAL_BLOCK_SECTORS;
3520 ic->journal_section_sectors = (ic->journal_section_entries << ic->sb->log2_sectors_per_block) + JOURNAL_BLOCK_SECTORS;
3521 ic->journal_entries = ic->journal_section_entries * ic->journal_sections;
4530 DEBUG_print(" journal_section_entries %u\n", ic->journal_section_entries);