Searched refs:do_swap_account (Results 1 – 2 of 2) sorted by relevance
174 if (!do_swap_account) in swap_cgroup_swapon()212 if (!do_swap_account) in swap_cgroup_swapoff()
86 int do_swap_account __read_mostly;88 #define do_swap_account 0 macro98 return !cgroup_subsys_on_dfl(memory_cgrp_subsys) && do_swap_account; in do_memsw_account()6479 if (do_swap_account) { in mem_cgroup_try_charge()7060 if (!cgroup_subsys_on_dfl(memory_cgrp_subsys) || !do_swap_account) in mem_cgroup_try_charge_swap()7104 if (!do_swap_account) in mem_cgroup_uncharge_swap()7127 if (!do_swap_account || !cgroup_subsys_on_dfl(memory_cgrp_subsys)) in mem_cgroup_get_nr_swap_pages()7144 if (!do_swap_account || !cgroup_subsys_on_dfl(memory_cgrp_subsys)) in mem_cgroup_swap_full()7269 do_swap_account = 1; in mem_cgroup_swap_init()