Lines Matching refs:do_swap_account
48 int do_swap_account __read_mostly;
51 #define do_swap_account (0) macro
731 if (do_swap_account) { in mem_cgroup_check_under_limit()
858 if (!do_swap_account) in __mem_cgroup_try_charge()
943 if (do_swap_account) in __mem_cgroup_commit_charge()
999 if (do_swap_account) in mem_cgroup_move_account()
1065 if (do_swap_account) in mem_cgroup_move_parent()
1157 if (do_swap_account && PageSwapCache(page)) { in mem_cgroup_cache_charge()
1181 if (do_swap_account && !ret && PageSwapCache(page)) { in mem_cgroup_cache_charge()
1209 if (!do_swap_account) in mem_cgroup_try_charge_swapin()
1251 if (do_swap_account && PageSwapCache(page)) { in mem_cgroup_commit_charge_swapin()
1272 if (do_swap_account) in mem_cgroup_cancel_charge_swapin()
1325 if (do_swap_account && (ctype != MEM_CGROUP_CHARGE_TYPE_SWAPOUT)) in __mem_cgroup_uncharge_common()
1379 if (do_swap_account && memcg) { in mem_cgroup_uncharge_swapcache()
1396 if (!do_swap_account) in mem_cgroup_uncharge_swap()
1570 if (!do_swap_account) in mem_cgroup_resize_memsw_limit()
1802 if (do_swap_account) in mem_cgroup_read()
1948 if (do_swap_account) in mem_control_stat_show()
2097 if (!do_swap_account) in register_memsw_files()
2219 do_swap_account = 1; in enable_swap_cgroup()