Home
last modified time | relevance | path

Searched defs:lru (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/mm/
Dlist_lru.c21 static void list_lru_register(struct list_lru *lru) in list_lru_register()
28 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister()
35 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id()
40 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware()
81 static void list_lru_register(struct list_lru *lru) in list_lru_register()
85 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister()
89 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id()
94 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware()
115 bool list_lru_add(struct list_lru *lru, struct list_head *item) in list_lru_add()
139 bool list_lru_del(struct list_lru *lru, struct list_head *item) in list_lru_del()
[all …]
Dmemcg_reclaim.c41 enum lru_list lru; in get_scan_count_hyperhold() local
192 enum lru_list lru; in shrink_anon_memcg() local
318 enum lru_list lru; in shrink_file() local
Dvmscan.c226 unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, int zone_idx) in lruvec_lru_size()
1561 enum lru_list lru, unsigned long *nr_zone_taken) in update_lru_sizes()
1596 enum lru_list lru) in isolate_lru_pages()
1720 int lru = page_lru(page); in isolate_lru_page() local
1794 enum lru_list lru; in move_pages_to_lru() local
1878 struct scan_control *sc, enum lru_list lru) in shrink_inactive_list()
1984 enum lru_list lru) in shrink_active_list()
2130 unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, in shrink_list()
2227 enum lru_list lru; in get_scan_count() local
2418 enum lru_list lru; in shrink_lruvec() local
[all …]
Dswap.c328 int lru = page_lru_base_type(page); in __activate_page() local
537 int lru; in lru_deactivate_file_fn() local
586 int lru = page_lru_base_type(page); in lru_deactivate_fn() local
1019 enum lru_list lru; in __pagevec_lru_add_fn() local
Dmmzone.c91 enum lru_list lru; in lruvec_init() local
Dzswapd.c480 struct lruvec *lruvec, struct scan_control *sc, enum lru_list lru) in zswapd_shrink_active_list()
531 static unsigned long zswapd_shrink_list(enum lru_list lru, in zswapd_shrink_list()
567 enum lru_list lru; in zswapd_shrink_anon_memcg() local
Dzbud.c98 struct list_head lru; member
117 struct list_head lru; member
Dworkingset.c581 struct list_lru_one *lru, in shadow_lru_isolate()
Dmemcg_control.c164 static unsigned long move_pages_to_page_list(struct lruvec *lruvec, enum lru_list lru, in move_pages_to_page_list()
/kernel/linux/linux-5.10/include/linux/
Dlist_lru.h37 struct list_lru_one *lru[]; member
44 struct list_lru_one lru; member
65 #define list_lru_init(lru) \ argument
67 #define list_lru_init_key(lru, key) \ argument
69 #define list_lru_init_memcg(lru, shrinker) \ argument
120 static inline unsigned long list_lru_shrink_count(struct list_lru *lru, in list_lru_shrink_count()
126 static inline unsigned long list_lru_count(struct list_lru *lru) in list_lru_count()
192 list_lru_shrink_walk(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk()
200 list_lru_shrink_walk_irq(struct list_lru *lru, struct shrink_control *sc, in list_lru_shrink_walk_irq()
208 list_lru_walk(struct list_lru *lru, list_lru_walk_cb isolate, in list_lru_walk()
Dmm_inline.h29 enum lru_list lru, enum zone_type zid, in __update_lru_size()
40 enum lru_list lru, enum zone_type zid, in update_lru_size()
50 struct lruvec *lruvec, enum lru_list lru) in add_page_to_lru_list()
57 struct lruvec *lruvec, enum lru_list lru) in add_page_to_lru_list_tail()
64 struct lruvec *lruvec, enum lru_list lru) in del_page_from_lru_list()
99 enum lru_list lru; in page_off_lru() local
123 enum lru_list lru; in page_lru() local
Dlru_cache.h166 struct list_head lru; member
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_lru_list.c139 static void __bpf_lru_list_rotate_active(struct bpf_lru *lru, in __bpf_lru_list_rotate_active()
166 static void __bpf_lru_list_rotate_inactive(struct bpf_lru *lru, in __bpf_lru_list_rotate_inactive()
206 __bpf_lru_list_shrink_inactive(struct bpf_lru *lru, in __bpf_lru_list_shrink_inactive()
237 static void __bpf_lru_list_rotate(struct bpf_lru *lru, struct bpf_lru_list *l) in __bpf_lru_list_rotate()
255 static unsigned int __bpf_lru_list_shrink(struct bpf_lru *lru, in __bpf_lru_list_shrink()
318 static void bpf_lru_list_pop_free_to_local(struct bpf_lru *lru, in bpf_lru_list_pop_free_to_local()
347 static void __local_list_add_pending(struct bpf_lru *lru, in __local_list_add_pending()
375 __local_list_pop_pending(struct bpf_lru *lru, struct bpf_lru_locallist *loc_l) in __local_list_pop_pending()
399 static struct bpf_lru_node *bpf_percpu_lru_pop_free(struct bpf_lru *lru, in bpf_percpu_lru_pop_free()
431 static struct bpf_lru_node *bpf_common_lru_pop_free(struct bpf_lru *lru, in bpf_common_lru_pop_free()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dnfs42xattr.c71 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
825 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in cache_lru_isolate()
890 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in entry_lru_isolate()
945 struct list_lru *lru; in nfs4_xattr_entry_scan() local
973 struct list_lru *lru; in nfs4_xattr_entry_count() local
/kernel/linux/linux-5.10/fs/proc/
Dmeminfo.c43 int lru; in meminfo_proc_show() local
/kernel/linux/linux-5.10/samples/bpf/
Dtest_lru_dist.c105 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init()
123 static void pfect_lru_destroy(struct pfect_lru *lru) in pfect_lru_destroy()
129 static int pfect_lru_lookup_or_insert(struct pfect_lru *lru, in pfect_lru_lookup_or_insert()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c37 struct list_head lru; member
52 struct list_head lru; member
/kernel/linux/linux-5.10/arch/mips/mm/
Dcerr-sb1.c326 uint8_t lru; in extract_ic() local
481 uint8_t ecc, lru; in extract_dc() local
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_resource.h133 struct list_head lru[TTM_MAX_BO_PRIORITY]; member
Dttm_bo_api.h150 struct list_head lru; member
/kernel/linux/linux-5.10/drivers/android/
Dbinder_alloc.h67 struct list_head lru; member
Dbinder_alloc.c910 int lru = 0; in binder_alloc_print_pages() local
976 struct list_lru_one *lru, in binder_alloc_free_page()
/kernel/linux/linux-5.10/kernel/power/
Dwakelock.c32 struct list_head lru; member
/kernel/liteos_a/kernel/base/include/
Dlos_vm_filemap.h56 LOS_DL_LIST lru; member
/kernel/linux/linux-5.10/fs/
Ddcache.c439 static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) in d_lru_isolate()
449 static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, in d_lru_shrink_move()
1146 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate()
1227 struct list_lru_one *lru, spinlock_t *lru_lock, void *arg) in dentry_lru_isolate_shrink()

12