Home
last modified time | relevance | path

Searched refs:j_shrinker (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/jbd2/
Djournal.c1309 journal_t *journal = container_of(shrink, journal_t, j_shrinker); in jbd2_journal_shrink_scan()
1333 journal_t *journal = container_of(shrink, journal_t, j_shrinker); in jbd2_journal_shrink_count()
1421 journal->j_shrinker.scan_objects = jbd2_journal_shrink_scan; in journal_init_common()
1422 journal->j_shrinker.count_objects = jbd2_journal_shrink_count; in journal_init_common()
1423 journal->j_shrinker.seeks = DEFAULT_SEEKS; in journal_init_common()
1424 journal->j_shrinker.batch = journal->j_max_transaction_buffers; in journal_init_common()
1429 if (register_shrinker(&journal->j_shrinker)) { in journal_init_common()
2093 if (journal->j_shrinker.flags & SHRINKER_REGISTERED) { in jbd2_journal_destroy()
2095 unregister_shrinker(&journal->j_shrinker); in jbd2_journal_destroy()
/kernel/linux/linux-5.10/include/linux/
Djbd2.h908 struct shrinker j_shrinker; member