Home
last modified time | relevance | path

Searched refs:CONT_PTES (Results 1 – 4 of 4) sorted by relevance

/linux/arch/arm64/mm/
H A Dcontpte.c26 return PTR_ALIGN_DOWN(ptep, sizeof(*ptep) * CONT_PTES); in contpte_align_down()
37 if (ptep != contpte_align_down(ptep) || nr < CONT_PTES) in contpte_try_unfold_partial()
59 pte = pfn_pte(ALIGN_DOWN(pte_pfn(pte), CONT_PTES), pte_pgprot(pte)); in contpte_convert()
61 for (i = 0; i < CONT_PTES; i++, ptep++, addr += PAGE_SIZE) { in contpte_convert()
73 __set_ptes(mm, start_addr, start_ptep, pte, CONT_PTES); in contpte_convert()
121 pfn = ALIGN_DOWN(pte_pfn(pte), CONT_PTES); in __contpte_try_fold()
127 for (i = 0; i < CONT_PTES; i++) { in __contpte_try_fold()
169 for (i = 0; i < CONT_PTES; i++, ptep++) { in contpte_ptep_get()
220 for (i = 0; i < CONT_PTES; i++, ptep++, pfn++) { in contpte_ptep_get_lockless()
318 for (i = 0; i < CONT_PTES; i++, ptep++, addr += PAGE_SIZE) in contpte_ptep_test_and_clear_young()
[all …]
H A Dhugetlbpage.c98 return CONT_PTES; in find_num_contig()
123 contig_ptes = CONT_PTES; in num_contig_ptes()
/linux/arch/arm64/include/asm/
H A Dpgtable-hwdef.h85 #define CONT_PTES (1 << (CONT_PTE_SHIFT - PAGE_SHIFT)) macro
86 #define CONT_PTE_SIZE (CONT_PTES * PAGE_SIZE)
H A Dpgtable.h1571 const unsigned long contmask = CONT_PTES - 1; in contpte_try_fold()
1596 return CONT_PTES - (((unsigned long)ptep >> 3) & (CONT_PTES - 1)); in pte_batch_hint()