Lines Matching full:charge

19  * Charge lifetime sanitation
1101 /* Memcg to charge can't be determined. */ in memcg_kmem_bypass()
1511 /* moving charge context might have finished. */ in mem_cgroup_wait_acct_move()
1964 * We are in the middle of the charge context here, so we in mem_cgroup_oom()
1969 * handling until the charge can succeed; remember the context and put in mem_cgroup_oom()
1979 * victim and then we have to bail out from the charge path. in mem_cgroup_oom()
2020 * situation. Sleeping directly in the charge context with all kinds
2192 * When charge migration first begins, we can have locked and in lock_page_memcg()
2268 * consume_stock: Try to consume stocked charge on this cpu.
2270 * @nr_pages: how many pages to charge.
2366 * Drains all per-CPU charge caches for given root_memcg resp. subtree
2622 * larger the current charge patch is than that. in calculate_high_delay()
2791 * may have been able to free some pages. Retry the charge in try_charge()
2801 * At task move, charge accounts can be doubly counted. So, it's in try_charge()
2822 * a forward progress or bypass the charge if the oom killer in try_charge()
3067 * __memcg_kmem_charge: charge a number of kernel pages to a memcg
3068 * @memcg: memory cgroup to charge
3070 * @nr_pages: number of pages to charge
3116 * __memcg_kmem_charge_page: charge a kmem page to the current memory cgroup
3117 * @page: page to charge
3331 * mem_cgroup_move_swap_account - move swap charge and swap_cgroup's record.
5557 /* Handlers for move charge at task migration. */
5562 /* Try a single bulk charge without reclaim first, kswapd may wake */ in mem_cgroup_do_precharge()
5675 * @compound: charge the page as compound or small page
5681 * This function doesn't do "charge" to new cgroup and doesn't do "uncharge"
5794 * get_mctgt_type - get target type of moving charge
5801 * 0(MC_TARGET_NONE): if the pte is not a target for move charge.
5803 * move charge. if @target is not NULL, the page is stored in target->page
5806 * target for charge migration. if @target is not NULL, the entry is stored
5810 * For now we such page is charge like a regular page would be as for all
6032 /* charge immigration isn't supported on the default hierarchy */ in mem_cgroup_can_attach()
6038 * where charge immigration is not used. Perform charge in mem_cgroup_can_attach()
6199 * We try charge one by one, but don't do any additional in mem_cgroup_move_charge_pte_range()
6200 * charges to mc.to if we have failed in charge once in attach() in mem_cgroup_move_charge_pte_range()
6231 * to move enough charges, but moving charge is a best-effort in mem_cgroup_move_charge()
6240 * additional charge, the page walk just aborts. in mem_cgroup_move_charge()
6804 * __mem_cgroup_charge - charge a newly allocated page to a cgroup
6805 * @page: page to charge
6809 * Try to charge @page to the memcg that @mm belongs to, reclaiming
6826 * Every swap fault against a single page tries to charge the in __mem_cgroup_charge()
6867 * so this is a non-issue here. Memory and swap charge lifetimes in __mem_cgroup_charge()
6868 * correspond 1:1 to page and swap slot lifetimes: we charge the in __mem_cgroup_charge()
6876 * memory+swap charge, drop the swap entry duplicate. in __mem_cgroup_charge()
7022 * mem_cgroup_migrate - charge a page's replacement
7026 * Charge @newpage as a replacement page for @oldpage. @oldpage will
7055 /* Force-charge the new page. The old one will be freed soon */ in mem_cgroup_migrate()
7104 * mem_cgroup_charge_skmem - charge socket memory
7105 * @memcg: memcg to charge
7106 * @nr_pages: number of pages to charge
7108 * Charges @nr_pages to @memcg. Returns %true if the charge fit within
7109 * @memcg's configured limit, %false if the charge had to be forced.
7228 * mem_cgroup_swapout - transfer a memsw charge to swap
7229 * @page: page whose memsw charge to transfer
7230 * @entry: swap entry to move the charge to
7232 * Transfer the memsw charge of @page to @entry.
7257 * have an ID allocated to it anymore, charge the closest online in mem_cgroup_swapout()
7258 * ancestor for the swap instead and transfer the memory+swap charge. in mem_cgroup_swapout()
7297 * @entry: swap entry to charge
7299 * Try to charge @page's memcg for the swap space at @entry.