Home
last modified time | relevance | path

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

/linux-6.6.21/arch/sparc/mm/
Dtlb.c276 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
279 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
280 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
291 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
294 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
296 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/linux-6.6.21/mm/
Dpgtable-generic.c171 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
174 list_add(&pgtable->lru, &pmd_huge_pte(mm, pmdp)->lru); in pgtable_trans_huge_deposit()
175 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
188 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
189 pmd_huge_pte(mm, pmdp) = list_first_entry_or_null(&pgtable->lru, in pgtable_trans_huge_withdraw()
191 if (pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_withdraw()
/linux-6.6.21/arch/s390/mm/
Dpgtable.c582 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
585 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
586 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
598 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
601 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
603 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dradix_pgtable.c1426 if (!pmd_huge_pte(mm, pmdp)) in radix__pgtable_trans_huge_deposit()
1429 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in radix__pgtable_trans_huge_deposit()
1430 pmd_huge_pte(mm, pmdp) = pgtable; in radix__pgtable_trans_huge_deposit()
1442 pgtable = pmd_huge_pte(mm, pmdp); in radix__pgtable_trans_huge_withdraw()
1445 pmd_huge_pte(mm, pmdp) = NULL; in radix__pgtable_trans_huge_withdraw()
1447 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in radix__pgtable_trans_huge_withdraw()
/linux-6.6.21/include/linux/
Dmm_types.h419 pgtable_t pmd_huge_pte; member
849 pgtable_t pmd_huge_pte; /* protected by page_table_lock */ member
Dmm.h2985 ptdesc->pmd_huge_pte = NULL; in pmd_ptlock_init()
2993 VM_BUG_ON_PAGE(ptdesc->pmd_huge_pte, ptdesc_page(ptdesc)); in pmd_ptlock_free()
2998 #define pmd_huge_pte(mm, pmd) (pmd_ptdesc(pmd)->pmd_huge_pte) macro
3010 #define pmd_huge_pte(mm, pmd) ((mm)->pmd_huge_pte) macro
/linux-6.6.21/kernel/
Dfork.c837 VM_BUG_ON_MM(mm->pmd_huge_pte, mm); in check_mm()
1285 mm->pmd_huge_pte = NULL; in mm_init()