Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpgtable-generic.c167 if (!pmd_huge_pte(mm, pmdp)) 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()
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()
187 if (pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_withdraw()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dtlb.c271 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
274 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
275 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
286 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
289 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
291 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/kernel/linux/linux-5.10/arch/arc/mm/
Dtlb.c650 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
653 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
654 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
664 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
667 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
669 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dradix_pgtable.c1029 if (!pmd_huge_pte(mm, pmdp)) in radix__pgtable_trans_huge_deposit()
1032 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in radix__pgtable_trans_huge_deposit()
1033 pmd_huge_pte(mm, pmdp) = pgtable; in radix__pgtable_trans_huge_deposit()
1045 pgtable = pmd_huge_pte(mm, pmdp); in radix__pgtable_trans_huge_withdraw()
1048 pmd_huge_pte(mm, pmdp) = NULL; in radix__pgtable_trans_huge_withdraw()
1050 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in radix__pgtable_trans_huge_withdraw()
/kernel/linux/linux-5.10/include/linux/
Dmm_types.h151 pgtable_t pmd_huge_pte; /* protected by page->ptl */ member
572 pgtable_t pmd_huge_pte; /* protected by page_table_lock */ member
Dmm.h2322 page->pmd_huge_pte = NULL; in pmd_ptlock_init()
2330 VM_BUG_ON_PAGE(page->pmd_huge_pte, page); in pmd_ptlock_free()
2335 #define pmd_huge_pte(mm, pmd) (pmd_to_page(pmd)->pmd_huge_pte) macro
2347 #define pmd_huge_pte(mm, pmd) ((mm)->pmd_huge_pte) macro
/kernel/linux/linux-5.10/arch/s390/mm/
Dpgtable.c543 if (!pmd_huge_pte(mm, pmdp)) in pgtable_trans_huge_deposit()
546 list_add(lh, (struct list_head *) pmd_huge_pte(mm, pmdp)); in pgtable_trans_huge_deposit()
547 pmd_huge_pte(mm, pmdp) = pgtable; in pgtable_trans_huge_deposit()
559 pgtable = pmd_huge_pte(mm, pmdp); in pgtable_trans_huge_withdraw()
562 pmd_huge_pte(mm, pmdp) = NULL; in pgtable_trans_huge_withdraw()
564 pmd_huge_pte(mm, pmdp) = (pgtable_t) lh->next; in pgtable_trans_huge_withdraw()
/kernel/linux/linux-5.10/kernel/
Dfork.c678 VM_BUG_ON_MM(mm->pmd_huge_pte, mm); in check_mm()
1058 mm->pmd_huge_pte = NULL; in mm_init()