/linux-6.6.21/mm/ |
D | list_lru.c | 22 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware() 27 static void list_lru_register(struct list_lru *lru) in list_lru_register() 37 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister() 47 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id() 53 list_lru_from_memcg_idx(struct list_lru *lru, int nid, int idx) in list_lru_from_memcg_idx() 64 list_lru_from_kmem(struct list_lru *lru, int nid, void *ptr, in list_lru_from_kmem() 85 static void list_lru_register(struct list_lru *lru) in list_lru_register() 89 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister() 93 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id() 98 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware() [all …]
|
D | mmzone.c | 77 enum lru_list lru; in lruvec_init() local
|
D | show_mem.c | 40 int lru; in si_mem_available() local
|
D | slab.h | 475 struct list_lru *lru, in memcg_slab_pre_alloc_hook() 601 struct list_lru *lru, in memcg_slab_pre_alloc_hook() 703 struct list_lru *lru, in slab_pre_alloc_hook()
|
D | vmscan.c | 654 static unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, in lruvec_lru_size() 2251 enum lru_list lru, unsigned long *nr_zone_taken) in update_lru_sizes() 2307 enum lru_list lru) in isolate_lru_folios() 2570 enum lru_list lru) in shrink_inactive_list() 2691 enum lru_list lru) in shrink_active_list() 2844 static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, in shrink_list() 3036 enum lru_list lru; in get_scan_count() local 3849 enum lru_list lru = type * LRU_INACTIVE_FILE; in reset_batch_size() local 4473 enum lru_list lru = type * LRU_INACTIVE_FILE; in inc_max_seq() local 5643 enum lru_list lru; in state_is_valid() local [all …]
|
/linux-6.6.21/kernel/bpf/ |
D | bpf_lru_list.c | 144 static void __bpf_lru_list_rotate_active(struct bpf_lru *lru, in __bpf_lru_list_rotate_active() 171 static void __bpf_lru_list_rotate_inactive(struct bpf_lru *lru, in __bpf_lru_list_rotate_inactive() 211 __bpf_lru_list_shrink_inactive(struct bpf_lru *lru, in __bpf_lru_list_shrink_inactive() 242 static void __bpf_lru_list_rotate(struct bpf_lru *lru, struct bpf_lru_list *l) in __bpf_lru_list_rotate() 260 static unsigned int __bpf_lru_list_shrink(struct bpf_lru *lru, in __bpf_lru_list_shrink() 323 static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, in bpf_lru_list_pop_free_to_local() 352 static void __local_list_add_pending(struct bpf_lru *lru, in __local_list_add_pending() 380 __local_list_pop_pending(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l) in __local_list_pop_pending() 404 static struct bpf_lru_node *bpf_percpu_lru_pop_free(struct bpf_lru *lru, in bpf_percpu_lru_pop_free() 436 static struct bpf_lru_node *bpf_common_lru_pop_free(struct bpf_lru *lru, in bpf_common_lru_pop_free() [all …]
|
/linux-6.6.21/include/linux/ |
D | list_lru.h | 45 struct list_lru_one lru; member 63 #define list_lru_init(lru) \ argument 65 #define list_lru_init_key(lru, key) \ argument 67 #define list_lru_init_memcg(lru, shrinker) \ argument 119 static inline unsigned long list_lru_shrink_count(struct list_lru *lru, in list_lru_shrink_count() 125 static inline unsigned long list_lru_count(struct list_lru *lru) in list_lru_count() 191 list_lru_shrink_walk(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk() 199 list_lru_shrink_walk_irq(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk_irq() 207 list_lru_walk(struct list_lru *lru, list_lru_walk_cb isolate, in list_lru_walk()
|
D | mm_inline.h | 38 enum lru_list lru, enum zone_type zid, in __update_lru_size() 52 enum lru_list lru, enum zone_type zid, in update_lru_size() 88 enum lru_list lru; in folio_lru_list() local 180 enum lru_list lru = type * LRU_INACTIVE_FILE; in lru_gen_update_size() local 320 enum lru_list lru = folio_lru_list(folio); in lruvec_add_folio() local 334 enum lru_list lru = folio_lru_list(folio); in lruvec_add_folio_tail() local 348 enum lru_list lru = folio_lru_list(folio); in lruvec_del_folio() local
|
D | lru_cache.h | 166 struct list_head lru; member
|
/linux-6.6.21/fs/nfs/ |
D | nfs42xattr.c | 71 struct list_head lru; member 82 struct list_head lru; member 130 struct list_lru *lru; in nfs4_xattr_entry_lru_add() local 141 struct list_lru *lru; in nfs4_xattr_entry_lru_del() local 824 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate() 889 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate() 944 struct list_lru *lru; in nfs4_xattr_entry_scan() local 972 struct list_lru *lru; in nfs4_xattr_entry_count() local 995 struct list_lru *lru, const char *name) in nfs4_xattr_shrinker_init() 1011 struct list_lru *lru) in nfs4_xattr_shrinker_destroy()
|
/linux-6.6.21/drivers/md/ |
D | dm-bufio.c | 86 struct lru *lru; member 92 struct lru { struct 101 static void lru_init(struct lru *lru) in lru_init() 108 static void lru_destroy(struct lru *lru) in lru_destroy() 117 static void lru_insert(struct lru *lru, struct lru_entry *le) in lru_insert() 147 static void lru_iter_begin(struct lru *lru, struct lru_iter *it) in lru_iter_begin() 196 static void lru_iter_invalidate(struct lru *lru, struct lru_entry *e) in lru_iter_invalidate() 222 static void lru_remove(struct lru *lru, struct lru_entry *le) in lru_remove() 257 static struct lru_entry *lru_evict(struct lru *lru, le_predicate pred, void *context, bool no_sleep) in lru_evict() 347 struct lru_entry lru; member [all …]
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_gem.c | 1317 drm_gem_lru_init(struct drm_gem_lru *lru, struct mutex *lock) in drm_gem_lru_init() 1344 struct drm_gem_lru *lru = obj->lru; in drm_gem_lru_remove() local 1364 drm_gem_lru_move_tail_locked(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail_locked() 1388 drm_gem_lru_move_tail(struct drm_gem_lru *lru, struct drm_gem_object *obj) in drm_gem_lru_move_tail() 1412 drm_gem_lru_scan(struct drm_gem_lru *lru, in drm_gem_lru_scan()
|
/linux-6.6.21/samples/bpf/ |
D | test_lru_dist.c | 99 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init() 117 static void pfect_lru_destroy(struct pfect_lru *lru) in pfect_lru_destroy() 123 static int pfect_lru_lookup_or_insert(struct pfect_lru *lru, in pfect_lru_lookup_or_insert()
|
/linux-6.6.21/fs/proc/ |
D | meminfo.c | 42 int lru; in meminfo_proc_show() local
|
/linux-6.6.21/include/drm/ttm/ |
D | ttm_resource.h | 170 struct list_head lru[TTM_MAX_BO_PRIORITY]; member 220 struct list_head lru; member
|
/linux-6.6.21/arch/mips/mm/ |
D | cerr-sb1.c | 326 uint8_t lru; in extract_ic() local 481 uint8_t ecc, lru; in extract_dc() local
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 37 struct list_head lru; member 52 struct list_head lru; member
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_gem_shrinker.c | 106 struct drm_gem_lru *lru; in msm_gem_shrinker_scan() member
|
/linux-6.6.21/drivers/android/ |
D | binder_alloc.h | 70 struct list_head lru; member
|
D | binder_alloc.c | 911 int lru = 0; in binder_alloc_print_pages() local 977 struct list_lru_one *lru, in binder_alloc_free_page()
|
/linux-6.6.21/kernel/power/ |
D | wakelock.c | 32 struct list_head lru; member
|
/linux-6.6.21/tools/testing/radix-tree/ |
D | linux.c | 56 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *lru, in kmem_cache_alloc_lru()
|
/linux-6.6.21/fs/nfsd/ |
D | filecache.c | 441 nfsd_file_lru_cb(struct list_head *item, struct list_lru_one *lru, in nfsd_file_lru_cb() 1210 unsigned long lru = 0, total_age = 0; in nfsd_file_cache_stats_show() local
|
/linux-6.6.21/fs/ |
D | dcache.c | 466 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate() 476 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move() 1207 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate() 1288 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink()
|
/linux-6.6.21/include/drm/ |
D | drm_gem.h | 423 struct drm_gem_lru *lru; member
|