Home
last modified time | relevance | path

Searched refs:pmd_huge_pte (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/mm/
Dpgtable-generic.c168 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
171 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit()
172 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
185 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
186 pmd_huge_pte(mm, pmdp) = list_first_entry_or_null(&pgtable->lru, in pgtable_trans_huge_withdraw()
188 if (pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_withdraw()
/linux-6.1.9/arch/sparc/mm/
Dtlb.c272 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
275 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
276 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
287 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
290 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
292 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dradix_pgtable.c971 if (!pmd_huge_pte(mm, pmdp)) in radix__pgtable_trans_huge_deposit()
974 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in radix__pgtable_trans_huge_deposit()
975 pmd_huge_pte(mm, pmdp) = pgtable; in radix__pgtable_trans_huge_deposit()
987 pgtable = pmd_huge_pte(mm, pmdp); in radix__pgtable_trans_huge_withdraw()
990 pmd_huge_pte(mm, pmdp) = NULL; in radix__pgtable_trans_huge_withdraw()
992 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in radix__pgtable_trans_huge_withdraw()
/linux-6.1.9/arch/s390/mm/
Dpgtable.c557 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
560 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
561 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
573 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
576 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
578 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/linux-6.1.9/include/linux/
Dmm_types.h157 pgtable_t pmd_huge_pte; /* protected by page->ptl */ member
653 pgtable_t pmd_huge_pte; /* protected by page_table_lock */ member
Dmm.h2441 page->pmd_huge_pte = NULL; in pmd_ptlock_init()
2449 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pmd_ptlock_free()
2454 #define pmd_huge_pte(mm, pmd) (pmd_to_page(pmd)->pmd_huge_pte) macro
2466 #define pmd_huge_pte(mm, pmd) ((mm)->pmd_huge_pte) macro
/linux-6.1.9/kernel/
Dfork.c771 VM_BUG_ON_MM(mm->pmd_huge_pte, mm); in check_mm()
1135 mm->pmd_huge_pte = NULL; in mm_init()