Searched refs:lruvec (Results 1 – 8 of 8) sorted by relevance
/mm/ |
D | swap.c | 55 struct lruvec *lruvec; in __page_cache_release() local 59 lruvec = mem_cgroup_page_lruvec(page, zone); in __page_cache_release() 62 del_page_from_lru_list(page, lruvec, page_off_lru(page)); in __page_cache_release() 411 void (*move_fn)(struct page *page, struct lruvec *lruvec, void *arg), in pagevec_lru_move_fn() argument 416 struct lruvec *lruvec; in pagevec_lru_move_fn() local 430 lruvec = mem_cgroup_page_lruvec(page, zone); in pagevec_lru_move_fn() 431 (*move_fn)(page, lruvec, arg); in pagevec_lru_move_fn() 439 static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec, in pagevec_move_tail_fn() argument 446 list_move_tail(&page->lru, &lruvec->lists[lru]); in pagevec_move_tail_fn() 484 static void update_page_reclaim_stat(struct lruvec *lruvec, in update_page_reclaim_stat() argument [all …]
|
D | vmscan.c | 182 static unsigned long get_lru_size(struct lruvec *lruvec, enum lru_list lru) in get_lru_size() argument 185 return mem_cgroup_get_lru_size(lruvec, lru); in get_lru_size() 187 return zone_page_state(lruvec_zone(lruvec), NR_LRU_BASE + lru); in get_lru_size() 1311 struct lruvec *lruvec, struct list_head *dst, in isolate_lru_pages() argument 1315 struct list_head *src = &lruvec->lists[lru]; in isolate_lru_pages() 1331 mem_cgroup_update_lru_size(lruvec, lru, -nr_pages); in isolate_lru_pages() 1385 struct lruvec *lruvec; in isolate_lru_page() local 1388 lruvec = mem_cgroup_page_lruvec(page, zone); in isolate_lru_page() 1393 del_page_from_lru_list(page, lruvec, lru); in isolate_lru_page() 1439 putback_inactive_pages(struct lruvec *lruvec, struct list_head *page_list) in putback_inactive_pages() argument [all …]
|
D | mmzone.c | 90 void lruvec_init(struct lruvec *lruvec) in lruvec_init() argument 94 memset(lruvec, 0, sizeof(struct lruvec)); in lruvec_init() 97 INIT_LIST_HEAD(&lruvec->lists[lru]); in lruvec_init()
|
D | memcontrol.c | 162 struct lruvec lruvec; member 931 unsigned long mem_cgroup_get_lru_size(struct lruvec *lruvec, enum lru_list lru) in mem_cgroup_get_lru_size() argument 935 mz = container_of(lruvec, struct mem_cgroup_per_zone, lruvec); in mem_cgroup_get_lru_size() 1324 struct lruvec *mem_cgroup_zone_lruvec(struct zone *zone, in mem_cgroup_zone_lruvec() 1328 struct lruvec *lruvec; in mem_cgroup_zone_lruvec() local 1331 lruvec = &zone->lruvec; in mem_cgroup_zone_lruvec() 1336 lruvec = &mz->lruvec; in mem_cgroup_zone_lruvec() 1343 if (unlikely(lruvec->zone != zone)) in mem_cgroup_zone_lruvec() 1344 lruvec->zone = zone; in mem_cgroup_zone_lruvec() 1345 return lruvec; in mem_cgroup_zone_lruvec() [all …]
|
D | mlock.c | 101 struct lruvec *lruvec; in __munlock_isolate_lru_page() local 103 lruvec = mem_cgroup_page_lruvec(page, page_zone(page)); in __munlock_isolate_lru_page() 107 del_page_from_lru_list(page, lruvec, page_lru(page)); in __munlock_isolate_lru_page()
|
D | compaction.c | 612 struct lruvec *lruvec; in isolate_migratepages_block() local 736 lruvec = mem_cgroup_page_lruvec(page, zone); in isolate_migratepages_block() 745 del_page_from_lru_list(page, lruvec, page_lru(page)); in isolate_migratepages_block()
|
D | huge_memory.c | 1671 struct lruvec *lruvec; in __split_huge_page_refcount() local 1676 lruvec = mem_cgroup_page_lruvec(page, zone); in __split_huge_page_refcount() 1755 lru_add_page_tail(page, page_tail, lruvec, list); in __split_huge_page_refcount()
|
D | page_alloc.c | 4944 lruvec_init(&zone->lruvec); in free_area_init_core()
|