Home
last modified time | relevance | path

Searched refs:shrink_control (Results 1 – 25 of 47) sorted by relevance

12

/linux/include/linux/
H A Dshrinker.h34 struct shrink_control { struct
84 struct shrink_control *sc);
86 struct shrink_control *sc);
H A Dmemcontrol.h539 static inline bool mem_cgroup_shrink_is_root(struct shrink_control *sc) in mem_cgroup_shrink_is_root()
1097 static inline bool mem_cgroup_shrink_is_root(struct shrink_control *sc) in mem_cgroup_shrink_is_root()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c27 static bool can_block(struct shrink_control *sc) in can_block()
34 msm_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_count()
154 msm_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_scan()
204 struct shrink_control sc = { in msm_gem_shrinker_shrink()
/linux/mm/
H A Dshrinker.c344 struct shrink_control *sc) in xchg_nr_deferred()
361 struct shrink_control *sc) in add_nr_deferred()
378 static unsigned long do_shrink_slab(struct shrink_control *shrinkctl, in do_shrink_slab()
537 struct shrink_control sc = { in shrink_slab_memcg()
665 struct shrink_control sc = { in shrink_slab()
H A Dshrinker_debug.c27 struct shrink_control sc = { in shrinker_count_objects()
107 struct shrink_control sc = { in shrinker_debugfs_scan_write()
H A Dworkingset.c652 struct shrink_control *sc) in count_shadow_nodes()
780 struct shrink_control *sc) in scan_shadow_nodes()
H A Dzswap.c1172 struct shrink_control *sc) in zswap_shrinker_scan()
1193 struct shrink_control *sc) in zswap_shrinker_count()
H A Dhuge_memory.c76 struct shrink_control *sc);
78 struct shrink_control *sc);
355 struct shrink_control *sc) in shrink_huge_zero_folio_count()
362 struct shrink_control *sc) in shrink_huge_zero_folio_scan()
4595 struct shrink_control *sc) in deferred_split_count()
4657 struct shrink_control *sc) in deferred_split_scan()
H A Dslab_common.c2202 kfree_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in kfree_rcu_shrink_count()
2220 kfree_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in kfree_rcu_shrink_scan()
/linux/fs/ubifs/
H A Dshrinker.c268 struct shrink_control *sc) in ubifs_shrink_count()
280 struct shrink_control *sc) in ubifs_shrink_scan()
H A Dubifs.h1913 struct shrink_control *sc);
1915 struct shrink_control *sc);
/linux/fs/nfsd/
H A Dnfscache.c44 struct shrink_control *sc);
46 struct shrink_control *sc);
296 nfsd_reply_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_count()
315 nfsd_reply_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfsd_reply_cache_scan()
H A Dfilecache.c617 nfsd_file_lru_count(struct shrinker *s, struct shrink_control *sc) in nfsd_file_lru_count()
623 nfsd_file_lru_scan(struct shrinker *s, struct shrink_control *sc) in nfsd_file_lru_scan()
/linux/fs/f2fs/
H A Dshrinker.c41 struct shrink_control *sc) in f2fs_shrink_count()
80 struct shrink_control *sc) in f2fs_shrink_scan()
/linux/drivers/gpu/drm/xe/
H A Dxe_shrinker.c174 xe_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_count()
221 static unsigned long xe_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_scan()
/linux/drivers/gpu/drm/
H A Ddrm_pagemap_util.c351 drm_pagemap_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in drm_pagemap_shrinker_count()
360 drm_pagemap_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in drm_pagemap_shrinker_scan()
/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c280 struct shrink_control *sc) in backend_shrink_memory_count()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c1377 static bool can_block(struct shrink_control *sc) in can_block()
1388 panthor_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in panthor_gem_shrinker_count()
1513 panthor_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in panthor_gem_shrinker_scan()
1742 struct shrink_control sc = { in shrink_set()
/linux/net/sunrpc/
H A Dauth.c475 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/nfs/
H A Dinternal.h394 struct shrink_control *sc);
396 struct shrink_control *sc);
/linux/drivers/misc/
H A Dvmw_balloon.c1514 struct shrink_control *sc) in vmballoon_shrinker_scan()
1556 struct shrink_control *sc) in vmballoon_shrinker_count()
/linux/drivers/virtio/
H A Dvirtio_balloon.c876 struct shrink_control *sc) in virtio_balloon_shrinker_scan()
884 struct shrink_control *sc) in virtio_balloon_shrinker_count()
/linux/fs/btrfs/
H A Dcompression.c140 static unsigned long btrfs_compr_pool_count(struct shrinker *sh, struct shrink_control *sc) in btrfs_compr_pool_count()
154 static unsigned long btrfs_compr_pool_scan(struct shrinker *sh, struct shrink_control *sc) in btrfs_compr_pool_scan()
/linux/kernel/rcu/
H A Dtree_nocb.h1263 lazy_rcu_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in lazy_rcu_shrink_count()
1288 lazy_rcu_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in lazy_rcu_shrink_scan()
/linux/fs/xfs/
H A Dxfs_buf.c1607 struct shrink_control *sc) in xfs_buftarg_shrink_scan()
1629 struct shrink_control *sc) in xfs_buftarg_shrink_count()

12