Lines Matching refs:lruvec
229 struct lruvec *lruvec; in workingset_eviction() local
236 lruvec = mem_cgroup_lruvec(pgdat, memcg); in workingset_eviction()
237 eviction = atomic_long_inc_return(&lruvec->inactive_age); in workingset_eviction()
256 struct lruvec *lruvec; in workingset_refault() local
283 lruvec = mem_cgroup_lruvec(pgdat, memcg); in workingset_refault()
284 refault = atomic_long_read(&lruvec->inactive_age); in workingset_refault()
285 active_file = lruvec_lru_size(lruvec, LRU_ACTIVE_FILE, MAX_NR_ZONES); in workingset_refault()
305 inc_lruvec_state(lruvec, WORKINGSET_REFAULT); in workingset_refault()
316 atomic_long_inc(&lruvec->inactive_age); in workingset_refault()
317 inc_lruvec_state(lruvec, WORKINGSET_ACTIVATE); in workingset_refault()
322 inc_lruvec_state(lruvec, WORKINGSET_RESTORE); in workingset_refault()
335 struct lruvec *lruvec; in workingset_activation() local
348 lruvec = mem_cgroup_lruvec(page_pgdat(page), memcg); in workingset_activation()
349 atomic_long_inc(&lruvec->inactive_age); in workingset_activation()
426 struct lruvec *lruvec; in count_shadow_nodes() local
429 lruvec = mem_cgroup_lruvec(NODE_DATA(sc->nid), sc->memcg); in count_shadow_nodes()
431 pages += lruvec_page_state_local(lruvec, in count_shadow_nodes()
433 pages += lruvec_page_state_local(lruvec, NR_SLAB_RECLAIMABLE); in count_shadow_nodes()
434 pages += lruvec_page_state_local(lruvec, NR_SLAB_UNRECLAIMABLE); in count_shadow_nodes()