Searched refs:j_shrinker (Results 1 – 2 of 2) sorted by relevance
1302 journal_t *journal = container_of(shrink, journal_t, j_shrinker); in jbd2_journal_shrink_scan()1328 journal_t *journal = container_of(shrink, journal_t, j_shrinker); in jbd2_journal_shrink_count()1416 journal->j_shrinker.scan_objects = jbd2_journal_shrink_scan; in journal_init_common()1417 journal->j_shrinker.count_objects = jbd2_journal_shrink_count; in journal_init_common()1418 journal->j_shrinker.seeks = DEFAULT_SEEKS; in journal_init_common()1419 journal->j_shrinker.batch = journal->j_max_transaction_buffers; in journal_init_common()1424 if (register_shrinker(&journal->j_shrinker, "jbd2-journal:(%u:%u)", in journal_init_common()2187 if (journal->j_shrinker.flags & SHRINKER_REGISTERED) { in jbd2_journal_destroy()2189 unregister_shrinker(&journal->j_shrinker); in jbd2_journal_destroy()
914 struct shrinker j_shrinker; member