Searched refs:MEMCG_SWAP (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/mm/ |
D | memcontrol.c | 3444 mod_memcg_state(from, MEMCG_SWAP, -1); in mem_cgroup_move_swap_account() 3445 mod_memcg_state(to, MEMCG_SWAP, 1); in mem_cgroup_move_swap_account() 3659 val += memcg_page_state(memcg, MEMCG_SWAP); in mem_cgroup_usage() 4035 MEMCG_SWAP, 4075 if (memcg1_stats[i] == MEMCG_SWAP && !do_memsw_account()) in memcg_stat_show() 4106 if (memcg1_stats[i] == MEMCG_SWAP && !do_memsw_account()) in memcg_stat_show() 7364 mod_memcg_state(swap_memcg, MEMCG_SWAP, nr_entries); in mem_cgroup_swapout() 7436 mod_memcg_state(memcg, MEMCG_SWAP, nr_pages); in __mem_cgroup_try_charge_swap() 7464 mod_memcg_state(memcg, MEMCG_SWAP, -nr_pages); in __mem_cgroup_uncharge_swap()
|
/Linux-v6.1/include/linux/ |
D | memcontrol.h | 33 MEMCG_SWAP = NR_VM_NODE_STAT_ITEMS, enumerator
|