Searched refs:memcg_page_state (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/mm/ |
H A D | memcontrol.c | 754 unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) in memcg_page_state() function 1562 return memcg_page_state(memcg, item) * memcg_page_state_unit(item); in memcg_page_state_output() 4005 nr += memcg_page_state(memcg, NR_LRU_BASE + lru); in mem_cgroup_nr_lru_pages() 4142 nr = memcg_page_state(memcg, memcg1_stats[i]); in memcg1_stat_format() 4154 (u64)memcg_page_state(memcg, NR_LRU_BASE + i) * in memcg1_stat_format() 4608 *pdirty = memcg_page_state(memcg, NR_FILE_DIRTY); in mem_cgroup_wb_stats() 4609 *pwriteback = memcg_page_state(memcg, NR_WRITEBACK); in mem_cgroup_wb_stats() 4610 *pfilepages = memcg_page_state(memcg, NR_INACTIVE_FILE) + in mem_cgroup_wb_stats() 4611 memcg_page_state(memcg, NR_ACTIVE_FILE); in mem_cgroup_wb_stats() 7847 pages = memcg_page_state(memcg, MEMCG_ZSWAP_B) / PAGE_SIZE; in obj_cgroup_may_zswap() [all …]
|
/openbmc/linux/include/linux/ |
H A D | memcontrol.h | 1004 unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx); 1501 static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) in memcg_page_state() function
|
/openbmc/linux/fs/ |
H A D | fs-writeback.c | 1083 dirty = memcg_page_state(mem_cgroup_from_css(memcg_css), NR_FILE_DIRTY); in cgroup_writeback_by_id()
|