Lines Matching defs:new
439 pgtable_t new = pte_alloc_one(mm);
440 if (!new)
443 pmd_install(mm, pmd, &new);
444 if (new)
445 pte_free(mm, new);
451 pte_t *new = pte_alloc_one_kernel(&init_mm);
452 if (!new)
458 pmd_populate_kernel(&init_mm, pmd, new);
459 new = NULL;
462 if (new)
463 pte_free_kernel(&init_mm, new);
763 * already present in the new task to be cleared in the whole range
825 * We will likely want to have some new rss counters
910 /* All done, just insert the new page copy in the child */
2196 * Also when new page-table entries are created, this is only done using the
3046 * Handle the case of a page which we actually need to copy to a new page,
3054 * - Allocate a page, copy the content of the old page to the new one.
3149 * pte with the new entry, to keep TLBs on different CPUs in
3150 * sync. This code used to set the new PTE then flush TLBs, but
3151 * that left a window where the new PTE could be loaded into
3158 pr_info("set wp new folio %lx purgeable\n", folio_pfn(new_folio));
3167 * new page to be mapped directly into the secondary page table.
3174 * Only after switching the pte to the new page may
3177 * before the pte is switched to the new page, and
3338 * It is done by copying the page to a new address and decrementing the
4034 /* ksm created a completely new copy */
5542 p4d_t *new = p4d_alloc_one(mm, address);
5543 if (!new)
5548 p4d_free(mm, new);
5551 pgd_populate(mm, pgd, new);
5565 pud_t *new = pud_alloc_one(mm, address);
5566 if (!new)
5573 p4d_populate(mm, p4d, new);
5575 pud_free(mm, new);
5589 pmd_t *new = pmd_alloc_one(mm, address);
5590 if (!new)
5597 pud_populate(mm, pud, new);
5599 pmd_free(mm, new);