Home
last modified time | relevance | path

Searched defs:lruvec (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/include/linux/
Dmm_inline.h37 static __always_inline void __update_lru_size(struct lruvec *lruvec, in __update_lru_size()
51 static __always_inline void update_lru_size(struct lruvec *lruvec, in update_lru_size()
164 static inline bool lru_gen_is_active(struct lruvec *lruvec, int gen) in lru_gen_is_active()
174 static inline void lru_gen_update_size(struct lruvec *lruvec, struct folio *folio, in lru_gen_update_size()
220 static inline bool lru_gen_add_folio(struct lruvec *lruvec, struct folio *folio, bool reclaiming) in lru_gen_add_folio()
271 static inline bool lru_gen_del_folio(struct lruvec *lruvec, struct folio *folio, bool reclaiming) in lru_gen_del_folio()
305 static inline bool lru_gen_add_folio(struct lruvec *lruvec, struct folio *folio, bool reclaiming) in lru_gen_add_folio()
310 static inline bool lru_gen_del_folio(struct lruvec *lruvec, struct folio *folio, bool reclaiming) in lru_gen_del_folio()
318 void lruvec_add_folio(struct lruvec *lruvec, struct folio *folio) in lruvec_add_folio()
332 void lruvec_add_folio_tail(struct lruvec *lruvec, struct folio *folio) in lruvec_add_folio_tail()
[all …]
Dmemcontrol.h125 struct lruvec lruvec; member
731 struct lruvec *lruvec; in mem_cgroup_lruvec() local
781 void lruvec_memcg_debug(struct lruvec *lruvec, struct folio *folio) in lruvec_memcg_debug()
856 static inline struct mem_cgroup *lruvec_memcg(struct lruvec *lruvec) in lruvec_memcg()
914 unsigned long mem_cgroup_get_zone_lru_size(struct lruvec *lruvec, in mem_cgroup_get_zone_lru_size()
1006 static inline unsigned long lruvec_page_state(struct lruvec *lruvec, in lruvec_page_state()
1024 static inline unsigned long lruvec_page_state_local(struct lruvec *lruvec, in lruvec_page_state_local()
1059 static inline void mod_memcg_lruvec_state(struct lruvec *lruvec, in mod_memcg_lruvec_state()
1293 void lruvec_memcg_debug(struct lruvec *lruvec, struct folio *folio) in lruvec_memcg_debug()
1404 static inline struct mem_cgroup *lruvec_memcg(struct lruvec *lruvec) in lruvec_memcg()
[all …]
Dmmzone.h476 struct lruvec *lruvec; member
580 static inline void lru_gen_init_lruvec(struct lruvec *lruvec) in lru_gen_init_lruvec()
618 struct lruvec { struct
620 /* per lruvec lru_lock for memcg */ argument
633 /* Various lruvec state flags (enum lruvec_flags) */ argument
634 unsigned long flags;
637 struct lru_gen_folio lrugen;
639 struct lru_gen_mm_state mm_state;
642 struct pglist_data *pgdat;
1445 static inline struct pglist_data *lruvec_pgdat(struct lruvec *lruvec) in lruvec_pgdat()
Dvmstat.h549 static inline void mod_lruvec_state(struct lruvec *lruvec, in mod_lruvec_state()
574 static inline void __mod_lruvec_state(struct lruvec *lruvec, in __mod_lruvec_state()
580 static inline void mod_lruvec_state(struct lruvec *lruvec, in mod_lruvec_state()
/linux-6.6.21/mm/
Dvmscan.c654 static unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, in lruvec_lru_size()
2250 static __always_inline void update_lru_sizes(struct lruvec *lruvec, in update_lru_sizes()
2305 struct lruvec *lruvec, struct list_head *dst, in isolate_lru_folios()
2428 struct lruvec *lruvec; in folio_isolate_lru() local
2490 static unsigned int move_folios_to_lru(struct lruvec *lruvec, in move_folios_to_lru()
2569 struct lruvec *lruvec, struct scan_control *sc, in shrink_inactive_list()
2689 struct lruvec *lruvec, in shrink_active_list()
2845 struct lruvec *lruvec, struct scan_control *sc) in shrink_list()
2886 static bool inactive_is_low(struct lruvec *lruvec, enum lru_list inactive_lru) in inactive_is_low()
3025 static void get_scan_count(struct lruvec *lruvec, struct scan_control *sc, in get_scan_count()
[all …]
Dswap.c84 struct lruvec *lruvec; in __page_cache_release() local
163 static void lru_add_fn(struct lruvec *lruvec, struct folio *folio) in lru_add_fn()
206 struct lruvec *lruvec = NULL; in folio_batch_move_lru() local
237 static void lru_move_tail_fn(struct lruvec *lruvec, struct folio *folio) in lru_move_tail_fn()
269 void lru_note_cost(struct lruvec *lruvec, bool file, in lru_note_cost()
327 static void folio_activate_fn(struct lruvec *lruvec, struct folio *folio) in folio_activate_fn()
373 struct lruvec *lruvec; in folio_activate() local
561 static void lru_deactivate_file_fn(struct lruvec *lruvec, struct folio *folio) in lru_deactivate_file_fn()
602 static void lru_deactivate_fn(struct lruvec *lruvec, struct folio *folio) in lru_deactivate_fn()
618 static void lru_lazyfree_fn(struct lruvec *lruvec, struct folio *folio) in lru_lazyfree_fn()
[all …]
Dworkingset.c236 struct lruvec *lruvec; in lru_gen_eviction() local
262 static bool lru_gen_test_recent(void *shadow, bool file, struct lruvec **lruvec, in lru_gen_test_recent()
285 struct lruvec *lruvec; in lru_gen_refault() local
333 static bool lru_gen_test_recent(void *shadow, bool file, struct lruvec **lruvec, in lru_gen_test_recent()
355 void workingset_age_nonresident(struct lruvec *lruvec, unsigned long nr_pages) in workingset_age_nonresident()
385 struct lruvec *lruvec; in workingset_eviction() local
513 struct lruvec *lruvec; in workingset_refault() local
664 struct lruvec *lruvec; in count_shadow_nodes() local
Dmlock.c61 static struct lruvec *__mlock_folio(struct folio *folio, struct lruvec *lruvec) in __mlock_folio()
103 static struct lruvec *__mlock_new_folio(struct folio *folio, struct lruvec *lruvec) in __mlock_new_folio()
122 static struct lruvec *__munlock_folio(struct folio *folio, struct lruvec *lruvec) in __munlock_folio()
188 struct lruvec *lruvec = NULL; in mlock_folio_batch() local
Dmmzone.c75 void lruvec_init(struct lruvec *lruvec) in lruvec_init()
Dmemcontrol.c791 void __mod_memcg_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx, in __mod_memcg_lruvec_state()
841 void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx, in __mod_lruvec_state()
858 struct lruvec *lruvec; in __mod_lruvec_page_state() local
879 struct lruvec *lruvec; in __mod_lruvec_kmem_state() local
1288 void lruvec_memcg_debug(struct lruvec *lruvec, struct folio *folio) in lruvec_memcg_debug()
1318 struct lruvec *lruvec = folio_lruvec(folio); in folio_lruvec_lock() local
1341 struct lruvec *lruvec = folio_lruvec(folio); in folio_lruvec_lock_irq() local
1366 struct lruvec *lruvec = folio_lruvec(folio); in folio_lruvec_lock_irqsave() local
1384 void mem_cgroup_update_lru_size(struct lruvec *lruvec, enum lru_list lru, in mem_cgroup_update_lru_size()
2879 struct lruvec *lruvec; in mod_objcg_mlstate() local
[all …]
Dhuge_memory.c2382 struct lruvec *lruvec, struct list_head *list) in lru_add_page_tail()
2406 struct lruvec *lruvec, struct list_head *list) in __split_huge_page_tail()
2501 struct lruvec *lruvec; in __split_huge_page() local
Dcompaction.c843 struct lruvec *lruvec; in isolate_migratepages_block() local