Searched refs:lruvec_page_state (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/mm/ |
H A D | workingset.c | 482 workingset_size = lruvec_page_state(eviction_lruvec, NR_ACTIVE_FILE); in workingset_test_recent() 484 workingset_size += lruvec_page_state(eviction_lruvec, in workingset_test_recent() 488 workingset_size += lruvec_page_state(eviction_lruvec, in workingset_test_recent() 491 workingset_size += lruvec_page_state(eviction_lruvec, in workingset_test_recent()
|
H A D | swap.c | 300 lrusize = lruvec_page_state(lruvec, NR_INACTIVE_ANON) + in lru_note_cost() 301 lruvec_page_state(lruvec, NR_ACTIVE_ANON) + in lru_note_cost() 302 lruvec_page_state(lruvec, NR_INACTIVE_FILE) + in lru_note_cost() 303 lruvec_page_state(lruvec, NR_ACTIVE_FILE); in lru_note_cost()
|
H A D | vmscan.c | 2880 inactive = lruvec_page_state(lruvec, NR_LRU_BASE + inactive_lru); in inactive_is_low() 2881 active = lruvec_page_state(lruvec, NR_LRU_BASE + active_lru); in inactive_is_low() 2935 refaults = lruvec_page_state(target_lruvec, in prepare_scan_count() 2943 refaults = lruvec_page_state(target_lruvec, in prepare_scan_count() 2958 file = lruvec_page_state(target_lruvec, NR_INACTIVE_FILE); in prepare_scan_count() 6822 refaults = lruvec_page_state(target_lruvec, WORKINGSET_ACTIVATE_ANON); in snapshot_refaults() 6824 refaults = lruvec_page_state(target_lruvec, WORKINGSET_ACTIVATE_FILE); in snapshot_refaults()
|
H A D | memcontrol.c | 3987 nr += lruvec_page_state(lruvec, NR_LRU_BASE + lru); in mem_cgroup_node_nr_lru_pages() 6674 return lruvec_page_state(lruvec, item) * memcg_page_state_unit(item); in lruvec_page_state_output()
|
/openbmc/linux/include/linux/ |
H A D | memcontrol.h | 1006 static inline unsigned long lruvec_page_state(struct lruvec *lruvec, in lruvec_page_state() function 1506 static inline unsigned long lruvec_page_state(struct lruvec *lruvec, in lruvec_page_state() function
|