Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dshrinker.h60 struct shrinker { struct
61 unsigned long (*count_objects)(struct shrinker *, argument
63 unsigned long (*scan_objects)(struct shrinker *, argument
86 * It just makes sense when the shrinker is also MEMCG_AWARE for now, argument
Dlist_lru.h69 #define list_lru_init_memcg(lru, shrinker) \ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
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()
Dpanfrost_device.h117 struct shrinker shrinker; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c42 msm_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_count()
66 msm_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in msm_gem_shrinker_scan()
Dmsm_drv.h219 struct shrinker shrinker; member
/kernel/linux/linux-5.10/mm/
Dreclaim_acct.c32 enum reclaimacct_stubs stub, const struct shrinker *shrinker) in __reclaimacct_end()
76 const struct shrinker *shrinker) in reclaimacct_substage_end()
Dvmscan.c117 static int prealloc_memcg_shrinker(struct shrinker *shrinker) in prealloc_memcg_shrinker()
142 static void unregister_memcg_shrinker(struct shrinker *shrinker) in unregister_memcg_shrinker()
182 static int prealloc_memcg_shrinker(struct shrinker *shrinker) in prealloc_memcg_shrinker()
187 static void unregister_memcg_shrinker(struct shrinker *shrinker) in unregister_memcg_shrinker()
262 int prealloc_shrinker(struct shrinker *shrinker) in prealloc_shrinker()
286 void free_prealloced_shrinker(struct shrinker *shrinker) in free_prealloced_shrinker()
301 void register_shrinker_prepared(struct shrinker *shrinker) in register_shrinker_prepared()
309 int register_shrinker(struct shrinker *shrinker) in register_shrinker()
323 void unregister_shrinker(struct shrinker *shrinker) in unregister_shrinker()
343 struct shrinker *shrinker, int priority) in do_shrink_slab()
[all …]
Dworkingset.c520 static unsigned long count_shadow_nodes(struct shrinker *shrinker, in count_shadow_nodes()
637 static unsigned long scan_shadow_nodes(struct shrinker *shrinker, in scan_shadow_nodes()
Dlist_lru.c591 struct lock_class_key *key, struct shrinker *shrinker) in __list_lru_init()
Dzsmalloc.c264 struct shrinker shrinker; member
2329 static unsigned long zs_shrinker_scan(struct shrinker *shrinker, in zs_shrinker_scan()
2346 static unsigned long zs_shrinker_count(struct shrinker *shrinker, in zs_shrinker_count()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_heap.c234 static unsigned long ion_heap_shrink_count(struct shrinker *shrinker, in ion_heap_shrink_count()
249 static unsigned long ion_heap_shrink_scan(struct shrinker *shrinker, in ion_heap_shrink_scan()
Dion.h149 struct shrinker shrinker; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c258 i915_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_count()
287 i915_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc) in i915_gem_shrinker_scan()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_balloon.c121 struct shrinker shrinker; member
835 static unsigned long virtio_balloon_shrinker_scan(struct shrinker *shrinker, in virtio_balloon_shrinker_scan()
844 static unsigned long virtio_balloon_shrinker_count(struct shrinker *shrinker, in virtio_balloon_shrinker_count()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_probe_backend.c279 static unsigned long backend_shrink_memory_count(struct shrinker *shrinker, in backend_shrink_memory_count()
/kernel/linux/linux-5.10/drivers/misc/
Dvmw_balloon.c390 struct shrinker shrinker; member
1526 static unsigned long vmballoon_shrinker_scan(struct shrinker *shrinker, in vmballoon_shrinker_scan()
1568 static unsigned long vmballoon_shrinker_count(struct shrinker *shrinker, in vmballoon_shrinker_count()
/kernel/linux/linux-5.10/drivers/md/
Ddm-bufio.c112 struct shrinker shrinker; member
Draid5.h668 struct shrinker shrinker; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_drv.h592 struct shrinker shrinker; member