Lines Matching full:charge

672 					 bool charge)  in mem_cgroup_swap_statistics()  argument
674 int val = (charge) ? 1 : -1; in mem_cgroup_swap_statistics()
1033 * 1. charge
1035 * In typical case, "charge" is done before add-to-lru. Exception is SwapCache.
1036 * It is added to LRU before charge.
1363 /* moving charge context might have finished. */ in mem_cgroup_wait_acct_move()
1831 * Even if signal_pending(), we can't quit charge() loop without in mem_cgroup_handle_oom()
1874 * Considering "charge", lock_page_cgroup() is not required because all
1876 * are no race with "charge".
1936 * size of first charge trial. "32" comes from vmscan.c's magic value.
1951 * Try to consume stocked charge on this cpu. If success, one page is consumed
2016 * Drains all per-CPU charge caches for given root_memcg resp. subtree
2194 * may have been able to free some pages. Retry the charge in mem_cgroup_do_charge()
2205 * At task move, charge accounts can be doubly counted. So, it's in mem_cgroup_do_charge()
2232 * pointer, that is treated as a charge to root_mem_cgroup.
2236 * -ENOMEM ... charge failure because of resource limits.
2263 * We always charge the cgroup the mm_struct belongs to. in __mem_cgroup_try_charge()
2266 * set, if so charge the init_mm (happens for pagecache usage). in __mem_cgroup_try_charge()
2291 * (*) swapoff at el will charge against mm-struct not against in __mem_cgroup_try_charge()
2324 /* If killed, bypass charge */ in __mem_cgroup_try_charge()
2377 * Somemtimes we have to undo a charge we got by try_charge().
2525 * charge/uncharge will be never happen and move_account() is done under
2558 * This function doesn't do "charge" nor css_get to new cgroup. It should be
2611 * this function is just force_empty() and move charge, so it's in mem_cgroup_move_account()
2679 * Charge the memory controller for page usage.
2681 * 0 if the charge was successful
2778 * KSM case which does need to charge the page. in mem_cgroup_try_charge_swapin()
2843 * At swapin, we may charge account against cgroup which has no tasks. in __mem_cgroup_commit_charge_swapin()
2844 * So, rmdir()->pre_destroy() can be called while we do this charge. in __mem_cgroup_commit_charge_swapin()
2906 /* remember freed charge and uncharge it later */ in mem_cgroup_do_uncharge()
3120 * mem_cgroup_move_swap_account - move swap charge and swap_cgroup's record.
3219 * remaps it. A charge for it is kept by MIGRATION flag even in mem_cgroup_prepare_migration()
3257 * We charge new page before it's used/mapped. So, even if unlock_page() in mem_cgroup_prepare_migration()
3273 /* remove redundant charge if migration failed*/
3314 * At migration, we may charge account against cgroup which has no in mem_cgroup_end_migration()
3316 * So, rmdir()->pre_destroy() can be called while we do this charge. in mem_cgroup_end_migration()
3675 * make mem_cgroup's charge to be 0 if there is no task.
5028 /* Handlers for move charge at task migration. */
5041 /* try to charge at once */ in mem_cgroup_do_precharge()
5061 /* fall back to one by one charge */ in mem_cgroup_do_precharge()
5082 * is_target_pte_for_mc - check a pte whether it is valid for move charge
5089 * 0(MC_TARGET_NONE): if the pte is not a target for move charge.
5091 * move charge. if @target is not NULL, the page is stored in target->page
5094 * target for charge migration. if @target is not NULL, the entry is stored
5448 * We try charge one by one, but don't do any additional in mem_cgroup_move_charge_pte_range()
5449 * charges to mc.to if we have failed in charge once in attach() in mem_cgroup_move_charge_pte_range()
5471 * to move enough charges, but moving charge is a best-effort in mem_cgroup_move_charge()
5492 * doing additional charge. Just abandon here. in mem_cgroup_move_charge()