Lines Matching +full:page +full:- +full:table

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.
38 * pte_alloc_one_kernel - allocate memory for a PTE-level kernel page table
51 * pte_free_kernel - free PTE-level kernel page table memory
53 * @pte: pointer to the memory containing the page table
61 * __pte_alloc_one - allocate memory for a PTE-level user page table
65 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor().
68 * anything beyond simple page allocation or must have custom GFP flags.
70 * Return: `struct page` referencing the ptdesc or %NULL on error
90 * pte_alloc_one - allocate a page for PTE-level user page table
93 * Allocate memory for a page table and ptdesc and runs pagetable_pte_ctor().
95 * Return: `struct page` referencing the ptdesc or %NULL on error
105 * Should really implement gc for free page table pages. This could be
106 * done with a reference count in struct page.
110 * pte_free - free PTE-level user page table memory
112 * @pte_page: the `struct page` referencing the ptdesc
114 static inline void pte_free(struct mm_struct *mm, struct page *pte_page) in pte_free()
126 * pmd_alloc_one - allocate memory for a PMD-level page table
129 * Allocate memory for a page table and ptdesc and runs pagetable_pmd_ctor().
164 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free()
196 * pud_alloc_one - allocate memory for a PUD-level page table
199 * Allocate memory for a page table using %GFP_PGTABLE_USER for user context
215 BUG_ON((unsigned long)pud & (PAGE_SIZE-1)); in __pud_free()
263 BUG_ON((unsigned long)p4d & (PAGE_SIZE-1)); in __p4d_free()
302 BUG_ON((unsigned long)pgd & (PAGE_SIZE-1)); in __pgd_free()