Searched refs:lruvec (Results 1 – 4 of 4) sorted by relevance
/include/linux/ |
D | mm_inline.h | 26 struct lruvec *lruvec, enum lru_list lru) in add_page_to_lru_list() argument 29 mem_cgroup_update_lru_size(lruvec, lru, nr_pages); in add_page_to_lru_list() 30 list_add(&page->lru, &lruvec->lists[lru]); in add_page_to_lru_list() 31 __mod_zone_page_state(lruvec_zone(lruvec), NR_LRU_BASE + lru, nr_pages); in add_page_to_lru_list() 35 struct lruvec *lruvec, enum lru_list lru) in del_page_from_lru_list() argument 38 mem_cgroup_update_lru_size(lruvec, lru, -nr_pages); in del_page_from_lru_list() 40 __mod_zone_page_state(lruvec_zone(lruvec), NR_LRU_BASE + lru, -nr_pages); in del_page_from_lru_list()
|
D | memcontrol.h | 68 struct lruvec *mem_cgroup_zone_lruvec(struct zone *, struct mem_cgroup *); 69 struct lruvec *mem_cgroup_page_lruvec(struct page *, struct zone *); 105 int mem_cgroup_inactive_anon_is_low(struct lruvec *lruvec); 107 unsigned long mem_cgroup_get_lru_size(struct lruvec *lruvec, enum lru_list); 108 void mem_cgroup_update_lru_size(struct lruvec *, enum lru_list, int); 217 static inline struct lruvec *mem_cgroup_zone_lruvec(struct zone *zone, in mem_cgroup_zone_lruvec() 220 return &zone->lruvec; in mem_cgroup_zone_lruvec() 223 static inline struct lruvec *mem_cgroup_page_lruvec(struct page *page, in mem_cgroup_page_lruvec() 226 return &zone->lruvec; in mem_cgroup_page_lruvec() 271 mem_cgroup_inactive_anon_is_low(struct lruvec *lruvec) in mem_cgroup_inactive_anon_is_low() argument [all …]
|
D | mmzone.h | 218 struct lruvec { struct 495 struct lruvec lruvec; member 809 extern void lruvec_init(struct lruvec *lruvec); 811 static inline struct zone *lruvec_zone(struct lruvec *lruvec) in lruvec_zone() argument 814 return lruvec->zone; in lruvec_zone() 816 return container_of(lruvec, struct zone, lruvec); in lruvec_zone()
|
D | swap.h | 311 struct lruvec *lruvec, struct list_head *head);
|