Home
last modified time | relevance | path

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

/mm/
Dpgtable-generic.c153 pgtable_t pgtable) in pgtable_trans_huge_deposit() argument
159 INIT_LIST_HEAD(&pgtable->lru); in pgtable_trans_huge_deposit()
161 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit()
162 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
172 pgtable_t pgtable; in pgtable_trans_huge_withdraw() local
177 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
178 if (list_empty(&pgtable->lru)) in pgtable_trans_huge_withdraw()
181 pmd_huge_pte(mm, pmdp) = list_entry(pgtable->lru.next, in pgtable_trans_huge_withdraw()
183 list_del(&pgtable->lru); in pgtable_trans_huge_withdraw()
185 return pgtable; in pgtable_trans_huge_withdraw()
Dhuge_memory.c719 pgtable_t pgtable; in __do_huge_pmd_anonymous_page() local
727 pgtable = pte_alloc_one(mm, haddr); in __do_huge_pmd_anonymous_page()
728 if (unlikely(!pgtable)) { in __do_huge_pmd_anonymous_page()
746 pte_free(mm, pgtable); in __do_huge_pmd_anonymous_page()
754 pgtable_trans_huge_deposit(mm, pmd, pgtable); in __do_huge_pmd_anonymous_page()
779 static bool set_huge_zero_page(pgtable_t pgtable, struct mm_struct *mm, in set_huge_zero_page() argument
789 pgtable_trans_huge_deposit(mm, pmd, pgtable); in set_huge_zero_page()
811 pgtable_t pgtable; in do_huge_pmd_anonymous_page() local
814 pgtable = pte_alloc_one(mm, haddr); in do_huge_pmd_anonymous_page()
815 if (unlikely(!pgtable)) in do_huge_pmd_anonymous_page()
[all …]
DMakefile29 vmalloc.o pagewalk.o pgtable-generic.o