Lines Matching +full:page +full:- +full:based
1 // SPDX-License-Identifier: GPL-2.0
3 * PPC64 Huge TLB Page Support for hash based MMUs (POWER4 and later)
7 * Based on the IA-32 version:
32 /* Search the Linux page table for a match with va */
44 * page is currently not DIRTY.
53 /* If PTE permissions don't match, take page fault */
57 * If hash-4k, hugepages use seeral contiguous PxD entries
58 * so bail out and let mm make the page young or dirty
101 mmu_psize, ssize, flags) == -1)
117 * Hypervisor failure. Restore old pte and return -1
120 if (unlikely(slot == -2)) {
124 return -1;
147 pte_val = pte_update(vma->vm_mm, addr, ptep,
163 set_huge_pte_at(vma->vm_mm, addr, ptep, pte, psize);
168 /* Set default large page size. Currently, we pick 16M or 1M