Lines Matching refs:nr_to_scan
462 unsigned long *nr_to_scan, in journal_shrink_one_cp_list() argument
470 if (!jh || *nr_to_scan == 0) in journal_shrink_one_cp_list()
478 (*nr_to_scan)--; in journal_shrink_one_cp_list()
491 } while (jh != last_jh && *nr_to_scan); in journal_shrink_one_cp_list()
506 unsigned long *nr_to_scan) in jbd2_journal_shrink_checkpoint_list() argument
513 unsigned long nr_scanned = *nr_to_scan; in jbd2_journal_shrink_checkpoint_list()
545 nr_to_scan, &released); in jbd2_journal_shrink_checkpoint_list()
546 if (*nr_to_scan == 0) in jbd2_journal_shrink_checkpoint_list()
554 nr_to_scan, &released); in jbd2_journal_shrink_checkpoint_list()
555 if (*nr_to_scan == 0) in jbd2_journal_shrink_checkpoint_list()
572 if (*nr_to_scan && next_tid) in jbd2_journal_shrink_checkpoint_list()
575 nr_scanned -= *nr_to_scan; in jbd2_journal_shrink_checkpoint_list()