Home
last modified time | relevance | path

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

123

/linux-6.15/include/linux/
H A Dshrinker.h34 struct shrink_control { struct
84 struct shrink_control *sc);
86 struct shrink_control *sc);
H A Dlist_lru.h188 struct shrink_control *sc) in list_lru_shrink_count()
259 list_lru_shrink_walk(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk()
267 list_lru_shrink_walk_irq(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk_irq()
/linux-6.15/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c27 static bool can_block(struct shrink_control *sc) in can_block()
35 msm_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_count()
100 msm_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_scan()
146 struct shrink_control sc = { in msm_gem_shrinker_shrink()
/linux-6.15/fs/nfs/
H A Dnfs42xattr.c791 struct shrink_control *sc);
793 struct shrink_control *sc);
795 struct shrink_control *sc);
797 struct shrink_control *sc);
839 nfs4_xattr_cache_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_scan()
860 nfs4_xattr_cache_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_cache_count()
920 nfs4_xattr_entry_scan(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_scan()
950 nfs4_xattr_entry_count(struct shrinker *shrink, struct shrink_control *sc) in nfs4_xattr_entry_count()
976 struct shrink_control *sc);
978 struct shrink_control *sc);
H A Dinternal.h396 struct shrink_control *sc);
398 struct shrink_control *sc);
/linux-6.15/drivers/gpu/drm/panfrost/
H A Dpanfrost_gem_shrinker.c19 panfrost_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in panfrost_gem_shrinker_count()
65 panfrost_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in panfrost_gem_shrinker_scan()
/linux-6.15/mm/
H A Dshrinker.c337 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 Dshrinker_debug.c27 struct shrink_control sc = { in shrinker_count_objects()
110 struct shrink_control sc = { in shrinker_debugfs_scan_write()
H A Dworkingset.c643 struct shrink_control *sc) in count_shadow_nodes()
770 struct shrink_control *sc) in scan_shadow_nodes()
/linux-6.15/fs/ubifs/
H A Dshrinker.c268 struct shrink_control *sc) in ubifs_shrink_count()
280 struct shrink_control *sc) in ubifs_shrink_scan()
/linux-6.15/fs/
H A Dinternal.h15 struct shrink_control;
204 extern long prune_icache_sb(struct super_block *sb, struct shrink_control *sc);
218 extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
H A Dmbcache.c294 struct shrink_control *sc) in mb_cache_count()
333 struct shrink_control *sc) in mb_cache_scan()
/linux-6.15/fs/f2fs/
H A Dshrinker.c41 struct shrink_control *sc) in f2fs_shrink_count()
80 struct shrink_control *sc) in f2fs_shrink_scan()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_shrinker.c90 xe_shrinker_count(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_count()
152 static unsigned long xe_shrinker_scan(struct shrinker *shrink, struct shrink_control *sc) in xe_shrinker_scan()
/linux-6.15/fs/nfsd/
H A Dnfscache.c42 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 Dfilecache.c590 nfsd_file_lru_count(struct shrinker *s, struct shrink_control *sc) in nfsd_file_lru_count()
596 nfsd_file_lru_scan(struct shrinker *s, struct shrink_control *sc) in nfsd_file_lru_scan()
/linux-6.15/fs/erofs/
H A Dzutil.c244 struct shrink_control *sc) in erofs_shrink_count()
250 struct shrink_control *sc) in erofs_shrink_scan()
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_shrinker.c289 i915_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_count()
317 i915_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_scan()
/linux-6.15/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c280 struct shrink_control *sc) in backend_shrink_memory_count()
/linux-6.15/drivers/gpu/drm/ttm/
H A Dttm_pool.c1137 struct shrink_control *sc) in ttm_pool_shrinker_scan()
1150 struct shrink_control *sc) in ttm_pool_shrinker_count()
1269 struct shrink_control sc = { .gfp_mask = GFP_NOFS }; in ttm_pool_debugfs_shrink_show()
/linux-6.15/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-6.15/fs/bcachefs/
H A Dsysfs.c413 struct shrink_control sc; in STORE()
421 struct shrink_control sc; in STORE()
H A Dbtree_key_cache.c646 struct shrink_control *sc) in bch2_btree_key_cache_scan()
725 struct shrink_control *sc) in bch2_btree_key_cache_count()
/linux-6.15/drivers/virtio/
H A Dvirtio_balloon.c898 struct shrink_control *sc) in virtio_balloon_shrinker_scan()
906 struct shrink_control *sc) in virtio_balloon_shrinker_count()
/linux-6.15/drivers/misc/
H A Dvmw_balloon.c1511 struct shrink_control *sc) in vmballoon_shrinker_scan()
1553 struct shrink_control *sc) in vmballoon_shrinker_count()

123