/linux/include/linux/ |
H A D | shrinker.h | 34 struct shrink_control { struct 84 struct shrink_control *sc); 86 struct shrink_control *sc);
|
/linux/mm/ |
H A D | shrinker.c | 337 struct shrink_control *sc) in xchg_nr_deferred() 354 struct shrink_control *sc) in add_nr_deferred() 371 static unsigned long do_shrink_slab(struct shrink_control *shrinkctl, in do_shrink_slab() 528 struct shrink_control sc = { in shrink_slab_memcg() 653 struct shrink_control sc = { in shrink_slab()
|
H A D | workingset.c | 641 struct shrink_control *sc) in count_shadow_nodes() 768 struct shrink_control *sc) in scan_shadow_nodes()
|
H A D | huge_memory.c | 72 struct shrink_control *sc); 74 struct shrink_control *sc); 270 struct shrink_control *sc) in shrink_huge_zero_page_count() 277 struct shrink_control *sc) in shrink_huge_zero_page_scan() 4103 struct shrink_control *sc) in deferred_split_folio() 4149 struct shrink_control *sc) in thp_underused()
|
H A D | zswap.c | 1252 struct shrink_control *sc) in shrink_memcg_cb() 1273 struct shrink_control *sc) in zswap_shrinker_scan()
|
H A D | slab_common.c | 2090 kfree_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in kfree_rcu_shrink_count() 2108 kfree_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in kfree_rcu_shrink_scan()
|
/linux/fs/ |
H A D | internal.h | 15 struct shrink_control; 206 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc); 220 extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
|
H A D | mbcache.c | 294 struct shrink_control *sc) in mb_cache_count() 333 struct shrink_control *sc) in mb_cache_scan()
|
/linux/fs/ubifs/ |
H A D | shrinker.c | 268 struct shrink_control *sc) in ubifs_shrink_count() 280 struct shrink_control *sc) in ubifs_shrink_scan()
|
H A D | ubifs.h | 1905 struct shrink_control *sc); 1907 struct shrink_control *sc);
|
/linux/fs/f2fs/ |
H A D | shrinker.c | 41 struct shrink_control *sc) in f2fs_shrink_count() 80 struct shrink_control *sc) in f2fs_shrink_scan()
|
/linux/fs/nfsd/ |
H A D | nfscache.c | 42 struct shrink_control *sc); 44 struct shrink_control *sc); 305 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count() 324 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan()
|
H A D | filecache.c | 616 nfsd_file_lru_count(struct shrinker *s, struct shrink_control *sc) in nfsd_file_lru_count() 622 nfsd_file_lru_scan(struct shrinker *s, struct shrink_control *sc) in nfsd_file_lru_scan()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_shrinker.c | 139 xe_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_count() 201 static unsigned long xe_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_scan()
|
/linux/fs/erofs/ |
H A D | zutil.c | 244 struct shrink_control *sc) in erofs_shrink_count() 250 struct shrink_control *sc) in erofs_shrink_scan()
|
/linux/drivers/xen/xenbus/ |
H A D | xenbus_probe_backend.c | 280 struct shrink_control *sc) in backend_shrink_memory_count()
|
/linux/net/sunrpc/ |
H A D | auth.c | 475 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_scan() 489 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_count()
|
/linux/fs/bcachefs/ |
H A D | sysfs.c | 415 struct shrink_control sc; in STORE() 423 struct shrink_control sc; in STORE()
|
H A D | btree_key_cache.c | 662 struct shrink_control *sc) in bch2_btree_key_cache_scan() 741 struct shrink_control *sc) in bch2_btree_key_cache_count()
|
/linux/fs/nfs/ |
H A D | internal.h | 395 struct shrink_control *sc); 397 struct shrink_control *sc);
|
/linux/drivers/android/ |
H A D | binder_alloc.c | 1219 binder_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in binder_shrink_count() 1225 binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in binder_shrink_scan()
|
/linux/fs/btrfs/ |
H A D | compression.c | 181 static unsigned long btrfs_compr_pool_count(struct shrinker *sh, struct shrink_control *sc) in btrfs_compr_pool_count() 195 static unsigned long btrfs_compr_pool_scan(struct shrinker *sh, struct shrink_control *sc) in btrfs_compr_pool_scan()
|
/linux/kernel/rcu/ |
H A D | tree_nocb.h | 1204 lazy_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in lazy_rcu_shrink_count() 1229 lazy_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in lazy_rcu_shrink_scan()
|
/linux/fs/xfs/ |
H A D | xfs_buf.c | 1640 struct shrink_control *sc) in xfs_buftarg_shrink_scan() 1662 struct shrink_control *sc) in xfs_buftarg_shrink_count()
|
H A D | xfs_icache.c | 2278 struct shrink_control *sc) in xfs_inodegc_shrinker_count() 2299 struct shrink_control *sc) in xfs_inodegc_shrinker_scan()
|