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.h626 static inline void mod_memcg_state(struct mem_cgroup *memcg, in mod_memcg_state() function
664 mod_memcg_state(page->mem_cgroup, idx, val); in mod_memcg_page_state()
1069 static inline void mod_memcg_state(struct mem_cgroup *memcg, in mod_memcg_state() function
1232 mod_memcg_state(memcg, idx, 1); in inc_memcg_state()
1239 mod_memcg_state(memcg, idx, -1); in dec_memcg_state()
/Linux-v5.4/mm/
Dmemcontrol.c3088 mod_memcg_state(from, MEMCG_SWAP, -1); in mem_cgroup_move_swap_account()
3089 mod_memcg_state(to, MEMCG_SWAP, 1); in mem_cgroup_move_swap_account()
6890 mod_memcg_state(memcg, MEMCG_SOCK, nr_pages); in mem_cgroup_charge_skmem()
6911 mod_memcg_state(memcg, MEMCG_SOCK, -nr_pages); in mem_cgroup_uncharge_skmem()
7035 mod_memcg_state(swap_memcg, MEMCG_SWAP, nr_entries); in mem_cgroup_swapout()
7108 mod_memcg_state(memcg, MEMCG_SWAP, nr_pages); in mem_cgroup_try_charge_swap()
7136 mod_memcg_state(memcg, MEMCG_SWAP, -nr_pages); in mem_cgroup_uncharge_swap()