• Home
  • Raw
  • Download

Lines Matching refs:lruvec

733 void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx,  in __mod_lruvec_state()  argument
736 pg_data_t *pgdat = lruvec_pgdat(lruvec); in __mod_lruvec_state()
747 pn = container_of(lruvec, struct mem_cgroup_per_node, lruvec); in __mod_lruvec_state()
772 struct lruvec *lruvec; in __mod_lruvec_slab_state() local
781 lruvec = mem_cgroup_lruvec(pgdat, memcg); in __mod_lruvec_slab_state()
782 __mod_lruvec_state(lruvec, idx, val); in __mod_lruvec_slab_state()
1234 struct lruvec *mem_cgroup_page_lruvec(struct page *page, struct pglist_data *pgdat) in mem_cgroup_page_lruvec()
1238 struct lruvec *lruvec; in mem_cgroup_page_lruvec() local
1241 lruvec = &pgdat->lruvec; in mem_cgroup_page_lruvec()
1254 lruvec = &mz->lruvec; in mem_cgroup_page_lruvec()
1261 if (unlikely(lruvec->pgdat != pgdat)) in mem_cgroup_page_lruvec()
1262 lruvec->pgdat = pgdat; in mem_cgroup_page_lruvec()
1263 return lruvec; in mem_cgroup_page_lruvec()
1277 void mem_cgroup_update_lru_size(struct lruvec *lruvec, enum lru_list lru, in mem_cgroup_update_lru_size() argument
1287 mz = container_of(lruvec, struct mem_cgroup_per_node, lruvec); in mem_cgroup_update_lru_size()
1296 __func__, lruvec, lru, nr_pages, size)) { in mem_cgroup_update_lru_size()
1613 struct lruvec *lruvec = mem_cgroup_lruvec(NODE_DATA(nid), memcg); in test_mem_cgroup_node_reclaimable() local
1615 if (lruvec_page_state(lruvec, NR_INACTIVE_FILE) || in test_mem_cgroup_node_reclaimable()
1616 lruvec_page_state(lruvec, NR_ACTIVE_FILE)) in test_mem_cgroup_node_reclaimable()
1620 if (lruvec_page_state(lruvec, NR_INACTIVE_ANON) || in test_mem_cgroup_node_reclaimable()
1621 lruvec_page_state(lruvec, NR_ACTIVE_ANON)) in test_mem_cgroup_node_reclaimable()
2696 struct lruvec *lruvec; in lock_page_lru() local
2698 lruvec = mem_cgroup_page_lruvec(page, pgdat); in lock_page_lru()
2700 del_page_from_lru_list(page, lruvec, page_lru(page)); in lock_page_lru()
2711 struct lruvec *lruvec; in unlock_page_lru() local
2713 lruvec = mem_cgroup_page_lruvec(page, pgdat); in unlock_page_lru()
2716 add_page_to_lru_list(page, lruvec, page_lru(page)); in unlock_page_lru()
3734 struct lruvec *lruvec = mem_cgroup_lruvec(NODE_DATA(nid), memcg); in mem_cgroup_node_nr_lru_pages() local
3743 nr += lruvec_page_state_local(lruvec, NR_LRU_BASE + lru); in mem_cgroup_node_nr_lru_pages()
3915 rstat = &mz->lruvec.reclaim_stat; in memcg_stat_show()
4982 lruvec_init(&pn->lruvec); in alloc_mem_cgroup_per_node_info()
5413 struct lruvec *from_vec, *to_vec; in mem_cgroup_move_account()