Lines Matching +full:page +full:- +full:level
1 /* SPDX-License-Identifier: GPL-2.0 */
11 * __pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table
15 * anything beyond simple page allocation.
31 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table
43 * pte_free_kernel - free PTE-level kernel page table memory
45 * @pte: pointer to the memory containing the page table
53 * __pte_alloc_one - allocate memory for a PTE-level user page table
57 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor().
60 * anything beyond simple page allocation or must have custom GFP flags.
62 * Return: `struct page` referencing the ptdesc or %NULL on error
81 * pte_alloc_one - allocate a page for PTE-level user page table
84 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor().
86 * Return: `struct page` referencing the ptdesc or %NULL on error
95 * Should really implement gc for free page table pages. This could be
96 * done with a reference count in struct page.
100 * pte_free - free PTE-level user page table memory
102 * @pte_page: the `struct page` referencing the ptdesc
104 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
117 * pmd_alloc_one - allocate memory for a PMD-level page table
120 * Allocate memory for a page table and ptdesc and runs pagetable_pmd_ctor().
150 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free()
179 * pud_alloc_one - allocate memory for a PUD-level page table
182 * Allocate memory for a page table using %GFP_PGTABLE_USER for user context
197 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in __pud_free()