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.c585 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() local
599 pgtable = pte_alloc_one(vma->vm_mm); in __do_huge_pmd_anonymous_page()
600 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page()
629 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page()
639 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in __do_huge_pmd_anonymous_page()
652 if (pgtable) in __do_huge_pmd_anonymous_page()
653 pte_free(vma->vm_mm, pgtable); in __do_huge_pmd_anonymous_page()
695 static bool set_huge_zero_page(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_page() argument
704 if (pgtable) in set_huge_zero_page()
705 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_page()
[all …]
Ddebug_vm_pgtable.c189 pgprot_t prot, pgtable_t pgtable) in pmd_advanced_tests() argument
200 pgtable_trans_huge_deposit(mm, pmdp, pgtable); in pmd_advanced_tests()
233 pgtable = pgtable_trans_huge_withdraw(mm, pmdp); in pmd_advanced_tests()
443 pgprot_t prot, pgtable_t pgtable) in pmd_advanced_tests() argument
635 pgtable_t pgtable) in pmd_populate_tests() argument
644 pmd_populate(mm, pmdp, pgtable); in pmd_populate_tests()
DMakefile41 pgtable-generic.o rmap.o vmalloc.o ioremap.o
Dkhugepaged.c1071 pgtable_t pgtable; in collapse_huge_page() local
1198 pgtable = pmd_pgtable(_pmd); in collapse_huge_page()
1214 pgtable_trans_huge_deposit(mm, pmd, pgtable); in collapse_huge_page()