Lines Matching full:precharge
58 unsigned long precharge; member
638 mc.precharge += count; in mem_cgroup_do_precharge()
647 mc.precharge++; in mem_cgroup_do_precharge()
1030 mc.precharge += HPAGE_PMD_NR; in mem_cgroup_count_precharge_pte_range()
1040 mc.precharge++; /* increment precharge temporarily */ in mem_cgroup_count_precharge_pte_range()
1054 unsigned long precharge; in mem_cgroup_count_precharge() local
1060 precharge = mc.precharge; in mem_cgroup_count_precharge()
1061 mc.precharge = 0; in mem_cgroup_count_precharge()
1063 return precharge; in mem_cgroup_count_precharge()
1068 unsigned long precharge = mem_cgroup_count_precharge(mm); in mem_cgroup_precharge_mc() local
1072 return mem_cgroup_do_precharge(precharge); in mem_cgroup_precharge_mc()
1082 if (mc.precharge) { in __mem_cgroup_clear_mc()
1083 mem_cgroup_cancel_charge(mc.to, mc.precharge); in __mem_cgroup_clear_mc()
1084 mc.precharge = 0; in __mem_cgroup_clear_mc()
1184 VM_BUG_ON(mc.precharge); in memcg1_can_attach()
1227 if (mc.precharge < HPAGE_PMD_NR) { in mem_cgroup_move_charge_pte_range()
1258 mc.precharge -= HPAGE_PMD_NR; in mem_cgroup_move_charge_pte_range()
1269 mc.precharge -= HPAGE_PMD_NR; in mem_cgroup_move_charge_pte_range()
1288 if (!mc.precharge) in mem_cgroup_move_charge_pte_range()
1309 mc.precharge--; in mem_cgroup_move_charge_pte_range()
1322 mc.precharge--; in mem_cgroup_move_charge_pte_range()