Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpgtable.c268 void *pmd_frag, *ret; in get_pmd_from_cache() local
274 ret = mm->context.pmd_frag; in get_pmd_from_cache()
276 pmd_frag = ret + PMD_FRAG_SIZE; in get_pmd_from_cache()
280 if (((unsigned long)pmd_frag & ~PAGE_MASK) == 0) in get_pmd_from_cache()
281 pmd_frag = NULL; in get_pmd_from_cache()
282 mm->context.pmd_frag = pmd_frag; in get_pmd_from_cache()
320 if (likely(!mm->context.pmd_frag)) { in __alloc_for_pmdcache()
322 mm->context.pmd_frag = ret + PMD_FRAG_SIZE; in __alloc_for_pmdcache()
Dmmu_context.c197 mm->context.pmd_frag = NULL; in init_new_context()
225 static void pmd_frag_destroy(void *pmd_frag) in pmd_frag_destroy() argument
230 page = virt_to_page(pmd_frag); in pmd_frag_destroy()
232 count = ((unsigned long)pmd_frag & ~PAGE_MASK) >> PMD_FRAG_SIZE_SHIFT; in pmd_frag_destroy()
248 frag = mm->context.pmd_frag; in destroy_pagetable_cache()
/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dmmu.h126 void *pmd_frag; member