Searched refs:pmd_frag (Results 1 – 3 of 3) sorted by relevance
240 void *pmd_frag, *ret; in get_pmd_from_cache() local243 ret = mm->context.pmd_frag; in get_pmd_from_cache()245 pmd_frag = ret + PMD_FRAG_SIZE; in get_pmd_from_cache()249 if (((unsigned long)pmd_frag & ~PAGE_MASK) == 0) in get_pmd_from_cache()250 pmd_frag = NULL; in get_pmd_from_cache()251 mm->context.pmd_frag = pmd_frag; in get_pmd_from_cache()289 if (likely(!mm->context.pmd_frag)) { in __alloc_for_pmdcache()291 mm->context.pmd_frag = ret + PMD_FRAG_SIZE; in __alloc_for_pmdcache()
131 mm->context.pmd_frag = NULL; in init_new_context()173 static void pmd_frag_destroy(void *pmd_frag) in pmd_frag_destroy() argument178 page = virt_to_page(pmd_frag); in pmd_frag_destroy()180 count = ((unsigned long)pmd_frag & ~PAGE_MASK) >> PMD_FRAG_SIZE_SHIFT; in pmd_frag_destroy()196 frag = mm->context.pmd_frag; in destroy_pagetable_cache()
141 void *pmd_frag; member