Searched refs:lruvec (Results 1 – 5 of 5) sorted by relevance
/include/linux/ |
D | mm_inline.h | 37 static __always_inline void __update_lru_size(struct lruvec *lruvec, in __update_lru_size() argument 41 struct pglist_data *pgdat = lruvec_pgdat(lruvec); in __update_lru_size() 43 lockdep_assert_held(&lruvec->lru_lock); in __update_lru_size() 46 __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); in __update_lru_size() 51 static __always_inline void update_lru_size(struct lruvec *lruvec, in update_lru_size() argument 55 __update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size() 57 mem_cgroup_update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size() 164 static inline bool lru_gen_is_active(struct lruvec *lruvec, int gen) in lru_gen_is_active() argument 166 unsigned long max_seq = lruvec->lrugen.max_seq; in lru_gen_is_active() 174 static inline void lru_gen_update_size(struct lruvec *lruvec, struct folio *folio, in lru_gen_update_size() argument [all …]
|
D | memcontrol.h | 122 struct lruvec lruvec; member 715 static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, in mem_cgroup_lruvec() 719 struct lruvec *lruvec; in mem_cgroup_lruvec() local 722 lruvec = &pgdat->__lruvec; in mem_cgroup_lruvec() 730 lruvec = &mz->lruvec; in mem_cgroup_lruvec() 737 if (unlikely(lruvec->pgdat != pgdat)) in mem_cgroup_lruvec() 738 lruvec->pgdat = pgdat; in mem_cgroup_lruvec() 739 return lruvec; in mem_cgroup_lruvec() 748 static inline struct lruvec *folio_lruvec(struct folio *folio) in folio_lruvec() 760 struct lruvec *folio_lruvec_lock(struct folio *folio); [all …]
|
D | mmzone.h | 368 struct lruvec; 476 struct lruvec *lruvec; member 494 void lru_gen_init_lruvec(struct lruvec *lruvec); 561 void lru_gen_soft_reclaim(struct lruvec *lruvec); 582 static inline void lru_gen_init_lruvec(struct lruvec *lruvec) in lru_gen_init_lruvec() argument 612 static inline void lru_gen_soft_reclaim(struct lruvec *lruvec) in lru_gen_soft_reclaim() argument 620 struct lruvec { struct 1337 struct lruvec __lruvec; 1394 extern void lruvec_init(struct lruvec *lruvec); 1396 static inline struct pglist_data *lruvec_pgdat(struct lruvec *lruvec) in lruvec_pgdat() argument [all …]
|
D | vmstat.h | 546 void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx, 549 static inline void mod_lruvec_state(struct lruvec *lruvec, in mod_lruvec_state() argument 555 __mod_lruvec_state(lruvec, idx, val); in mod_lruvec_state() 574 static inline void __mod_lruvec_state(struct lruvec *lruvec, in __mod_lruvec_state() argument 577 __mod_node_page_state(lruvec_pgdat(lruvec), idx, val); in __mod_lruvec_state() 580 static inline void mod_lruvec_state(struct lruvec *lruvec, in mod_lruvec_state() argument 583 mod_node_page_state(lruvec_pgdat(lruvec), idx, val); in mod_lruvec_state()
|
D | swap.h | 367 void workingset_age_nonresident(struct lruvec *lruvec, unsigned long nr_pages); 390 void lru_note_cost(struct lruvec *lruvec, bool file, unsigned int nr_pages);
|