/openbmc/linux/include/linux/ |
H A D | shrinker.h | 63 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 D | list_lru.h | 67 #define list_lru_init_memcg(lru, shrinker) \ argument
|
/openbmc/linux/mm/ |
H A D | shrinker_debug.c | 16 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 D | vmscan.c | 353 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 D | workingset.c | 629 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 D | list_lru.c | 560 struct lock_class_key *key, struct shrinker *shrinker) in __list_lru_init()
|
H A D | zsmalloc.c | 232 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 D | panfrost_gem_shrinker.c | 19 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 D | panfrost_device.h | 121 struct shrinker shrinker; member
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gem_shrinker.c | 35 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 D | msm_drv.h | 212 struct shrinker shrinker; member
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_shrinker.c | 285 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 D | virtio_balloon.c | 114 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 D | xenbus_probe_backend.c | 279 static unsigned long backend_shrink_memory_count(struct shrinker *shrinker, in backend_shrink_memory_count()
|
/openbmc/linux/drivers/misc/ |
H A D | vmw_balloon.c | 383 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 D | nfs42xattr.c | 994 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 D | raid5.h | 673 struct shrinker shrinker; member
|
H A D | dm-bufio.c | 1004 struct shrinker shrinker; member
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_drv.h | 166 struct shrinker shrinker; member
|