Home
last modified time | relevance | path

Searched defs:shrinker (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/include/linux/
H A Dshrinker.h63 struct shrinker { struct
64 unsigned long (*count_objects)(struct shrinker *, argument
66 unsigned long (*scan_objects)(struct shrinker *, argument
76 /* ID in shrinker_idr */ argument
94 * It just makes sense when the shrinker is also MEMCG_AWARE for now, argument
117 static inline int shrinker_debugfs_add(struct shrinker *shrinker) in shrinker_debugfs_add()
121 static inline struct dentry *shrinker_debugfs_detach(struct shrinker *shrinker, in shrinker_debugfs_detach()
132 int shrinker_debugfs_rename(struct shrinker *shrinker, const char *fmt, ...) in shrinker_debugfs_rename()
H A Dlist_lru.h67 #define list_lru_init_memcg(lru, shrinker) \ argument
/openbmc/linux/mm/
H A Dshrinker_debug.c16 static unsigned long shrinker_count_objects(struct shrinker *shrinker, in shrinker_count_objects()
47 struct shrinker *shrinker = m->private; in shrinker_debugfs_count_show() local
112 struct shrinker *shrinker = file->private_data; in shrinker_debugfs_scan_write() local
174 int shrinker_debugfs_add(struct shrinker *shrinker) in shrinker_debugfs_add()
208 int shrinker_debugfs_rename(struct shrinker *shrinker, const char *fmt, ...) in shrinker_debugfs_rename()
249 struct dentry *shrinker_debugfs_detach(struct shrinker *shrinker, in shrinker_debugfs_detach()
273 struct shrinker *shrinker; in shrinker_debugfs_init() local
H A Dvmscan.c353 static int prealloc_memcg_shrinker(struct shrinker *shrinker) in prealloc_memcg_shrinker()
471 static int prealloc_memcg_shrinker(struct shrinker *shrinker) in prealloc_memcg_shrinker()
560 static long xchg_nr_deferred(struct shrinker *shrinker, in xchg_nr_deferred()
677 static int __prealloc_shrinker(struct shrinker *shrinker) in __prealloc_shrinker()
728 void free_prealloced_shrinker(struct shrinker *shrinker) in free_prealloced_shrinker()
745 void register_shrinker_prepared(struct shrinker *shrinker) in register_shrinker_prepared()
754 static int __register_shrinker(struct shrinker *shrinker) in __register_shrinker()
794 void unregister_shrinker(struct shrinker *shrinker) in unregister_shrinker()
835 struct shrinker *shrinker, int priority) in do_shrink_slab()
955 struct shrinker *shrinker; in shrink_slab_memcg() local
[all …]
H A Dworkingset.c629 static unsigned long count_shadow_nodes(struct shrinker *shrinker, in count_shadow_nodes()
758 static unsigned long scan_shadow_nodes(struct shrinker *shrinker, in scan_shadow_nodes()
H A Dlist_lru.c560 struct lock_class_key *key, struct shrinker *shrinker) in __list_lru_init()
H A Dzsmalloc.c232 struct shrinker shrinker; member
2085 static unsigned long zs_shrinker_scan(struct shrinker *shrinker, in zs_shrinker_scan()
2102 static unsigned long zs_shrinker_count(struct shrinker *shrinker, in zs_shrinker_count()
/openbmc/linux/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()
66 panfrost_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in panfrost_gem_shrinker_scan()
H A Dpanfrost_device.h121 struct shrinker shrinker; member
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c35 msm_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_count()
101 msm_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_scan()
H A Dmsm_drv.h212 struct shrinker shrinker; member
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shrinker.c285 i915_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_count()
314 i915_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_scan()
/openbmc/linux/drivers/virtio/
H A Dvirtio_balloon.c114 struct shrinker shrinker; member
820 static unsigned long virtio_balloon_shrinker_scan(struct shrinker *shrinker, in virtio_balloon_shrinker_scan()
829 static unsigned long virtio_balloon_shrinker_count(struct shrinker *shrinker, in virtio_balloon_shrinker_count()
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c279 static unsigned long backend_shrink_memory_count(struct shrinker *shrinker, in backend_shrink_memory_count()
/openbmc/linux/drivers/misc/
H A Dvmw_balloon.c383 struct shrinker shrinker; member
1519 static unsigned long vmballoon_shrinker_scan(struct shrinker *shrinker, in vmballoon_shrinker_scan()
1561 static unsigned long vmballoon_shrinker_count(struct shrinker *shrinker, in vmballoon_shrinker_count()
/openbmc/linux/fs/nfs/
H A Dnfs42xattr.c994 static int nfs4_xattr_shrinker_init(struct shrinker *shrinker, in nfs4_xattr_shrinker_init()
1010 static void nfs4_xattr_shrinker_destroy(struct shrinker *shrinker, in nfs4_xattr_shrinker_destroy()
/openbmc/linux/drivers/md/
H A Draid5.h673 struct shrinker shrinker; member
H A Ddm-bufio.c1004 struct shrinker shrinker; member
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_drv.h166 struct shrinker shrinker; member