Searched refs:pmd_frag (Results 1 – 3 of 3) sorted by relevance
268 void *pmd_frag, *ret; in get_pmd_from_cache() local274 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()
197 mm->context.pmd_frag = NULL; in init_new_context()225 static void pmd_frag_destroy(void *pmd_frag) in pmd_frag_destroy() argument230 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()
126 void *pmd_frag; member