Home
last modified time | relevance | path

Searched refs:pgtable (Results 1 – 5 of 5) sorted by relevance

/mm/
Dpgtable-generic.c162 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument
168 INIT_LIST_HEAD(&pgtable->lru); in pgtable_trans_huge_deposit()
170 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit()
171 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
179 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local
184 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
185 pmd_huge_pte(mm, pmdp) = list_first_entry_or_null(&pgtable->lru, in pgtable_trans_huge_withdraw()
188 list_del(&pgtable->lru); in pgtable_trans_huge_withdraw()
189 return pgtable; in pgtable_trans_huge_withdraw()
Dhuge_memory.c600 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() local
614 pgtable = pte_alloc_one(vma->vm_mm); in __do_huge_pmd_anonymous_page()
615 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page()
642 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page()
652 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in __do_huge_pmd_anonymous_page()
666 if (pgtable) in __do_huge_pmd_anonymous_page()
667 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page()
709 static void set_huge_zero_page(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_page() argument
718 if (pgtable) in set_huge_zero_page()
719 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_page()
[all …]
Dsparse-vmemmap.c63 pte_t *pgtable = pte_alloc_one_kernel(&init_mm); in split_vmemmap_huge_pmd() local
65 if (!pgtable) in split_vmemmap_huge_pmd()
68 pmd_populate_kernel(&init_mm, &__pmd, pgtable); in split_vmemmap_huge_pmd()
81 pmd_populate_kernel(&init_mm, pmd, pgtable); in split_vmemmap_huge_pmd()
DMakefile41 pgtable-generic.o rmap.o vmalloc.o
Dkhugepaged.c1071 pgtable_t pgtable; in collapse_huge_page() local
1202 pgtable = pmd_pgtable(_pmd); in collapse_huge_page()
1211 pgtable_trans_huge_deposit(mm, pmd, pgtable); in collapse_huge_page()