Home
last modified time | relevance | path

Searched refs:__mod_memcg_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/include/linux/
Dmemcontrol.h623 void __mod_memcg_state(struct mem_cgroup *memcg, int idx, int val);
632 __mod_memcg_state(memcg, idx, val); in mod_memcg_state()
657 __mod_memcg_state(page->mem_cgroup, idx, val); in __mod_memcg_page_state()
1063 static inline void __mod_memcg_state(struct mem_cgroup *memcg, in __mod_memcg_state() function
1170 __mod_memcg_state(memcg, idx, 1); in __inc_memcg_state()
1177 __mod_memcg_state(memcg, idx, -1); in __dec_memcg_state()
/Linux-v5.4/mm/
Dmemcontrol.c689 void __mod_memcg_state(struct mem_cgroup *memcg, int idx, int val) in __mod_memcg_state() function
751 __mod_memcg_state(memcg, idx, val); in __mod_lruvec_state()
841 __mod_memcg_state(memcg, MEMCG_RSS, nr_pages); in mem_cgroup_charge_statistics()
843 __mod_memcg_state(memcg, MEMCG_CACHE, nr_pages); in mem_cgroup_charge_statistics()
845 __mod_memcg_state(memcg, NR_SHMEM, nr_pages); in mem_cgroup_charge_statistics()
850 __mod_memcg_state(memcg, MEMCG_RSS_HUGE, nr_pages); in mem_cgroup_charge_statistics()
3060 __mod_memcg_state(head->mem_cgroup, MEMCG_RSS_HUGE, -HPAGE_PMD_NR); in mem_cgroup_split_huge_fixup()
6644 __mod_memcg_state(ug->memcg, MEMCG_RSS, -ug->nr_anon); in uncharge_batch()
6645 __mod_memcg_state(ug->memcg, MEMCG_CACHE, -ug->nr_file); in uncharge_batch()
6646 __mod_memcg_state(ug->memcg, MEMCG_RSS_HUGE, -ug->nr_huge); in uncharge_batch()
[all …]