Lines Matching refs:j_len
992 BUG_ON(jl->j_len <= 0); in flush_commit_list()
1047 write_len = jl->j_len + 1; in flush_commit_list()
1066 for (i = 0; i < (jl->j_len + 1); i++) { in flush_commit_list()
1355 unsigned long j_len_saved = jl->j_len; in flush_journal_list()
1591 (jl->j_start + jl->j_len + in flush_journal_list()
1615 jl->j_len = 0; in flush_journal_list()
1637 if (jl->j_len == 0 || atomic_read(&jl->j_nonzerolen) == 0) { in write_one_transaction()
1742 if (jl->j_len == 0 || (jl->j_state & LIST_TOUCHED) || in kupdate_transactions()
2856 journal->j_len = 0; in journal_init()
3094 ((journal->j_len + nblocks + 2) * 100) < in do_journal_begin_r()
3337 if (journal->j_len >= journal->j_trans_max) { in journal_mark_dirty()
3340 journal->j_len); in journal_mark_dirty()
3349 if (journal->j_len > journal->j_len_alloc) { in journal_mark_dirty()
3350 journal->j_len_alloc = journal->j_len + JOURNAL_PER_BALANCE_CNT; in journal_mark_dirty()
3367 journal->j_len++; in journal_mark_dirty()
3473 journal->j_len--; in remove_from_transaction()
3515 if (cur->jlist && cur->jlist->j_len > 0 && in can_dirty()
3537 if (journal->j_len == 0) { in journal_end_sync()
3588 journal->j_len > 0 && in reiserfs_flush_old_commits()
3651 BUG_ON(journal->j_len == 0); in check_journal_end()
3713 && !flush && !commit_now && (journal->j_len < journal->j_max_batch) in check_journal_end()
4026 if (journal->j_len == 0) { in do_journal_end()
4097 ((journal->j_start + journal->j_len + in do_journal_end()
4123 jl->j_len = journal->j_len; in do_journal_end()
4124 atomic_set(&jl->j_nonzerolen, journal->j_len); in do_journal_end()
4125 atomic_set(&jl->j_commit_left, journal->j_len + 2); in do_journal_end()
4178 set_desc_trans_len(desc, journal->j_len); in do_journal_end()
4181 set_commit_trans_len(commit, journal->j_len); in do_journal_end()
4187 BUG_ON(journal->j_len == 0); in do_journal_end()
4258 (journal->j_start + journal->j_len + in do_journal_end()
4264 journal->j_len = 0; in do_journal_end()