Home
last modified time | relevance | path

Searched refs:mm_context (Results 1 – 9 of 9) sorted by relevance

/arch/um/include/asm/
Dmmu.h12 typedef struct mm_context { struct
21 extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm); argument
22 extern void free_ldt(struct mm_context *mm);
/arch/m32r/include/asm/
Dmmu_context.h26 #define mm_context(mm) mm->context macro
30 #define mm_context(mm) mm->context[smp_processor_id()] macro
52 mm_context(mm) = mc; in get_new_mmu_context()
65 if ((mm_context(mm) ^ mc) & MMU_CONTEXT_VERSION_MASK) in get_mmu_context()
118 set_asid(mm_context(mm) & MMU_CONTEXT_ASID_MASK); in activate_context()
/arch/hexagon/include/asm/
Dmmu.h29 struct mm_context { struct
35 typedef struct mm_context mm_context_t; argument
/arch/tile/include/asm/
Dmmu.h19 struct mm_context { struct
28 typedef struct mm_context mm_context_t; argument
/arch/mn10300/include/asm/
Dmmu_context.h57 #define mm_context(mm) (mm->context.tlbpid[smp_processor_id()]) macro
78 mm_context(mm) = mc; in allocate_mmu_context()
91 mc = mm_context(mm); in get_mmu_context()
/arch/m32r/mm/
Dfault.c460 if (vma->vm_mm && mm_context(vma->vm_mm) != NO_CONTEXT) { in local_flush_tlb_page()
465 page |= (mm_context(vma->vm_mm) & MMU_CONTEXT_ASID_MASK); in local_flush_tlb_page()
480 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_range()
487 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_range()
493 asid = mm_context(mm) & MMU_CONTEXT_ASID_MASK; in local_flush_tlb_range()
516 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_mm()
520 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_mm()
/arch/um/kernel/skas/
Dmmu.c52 struct mm_context *from_mm = NULL; in init_new_context()
53 struct mm_context *to_mm = &mm->context; in init_new_context()
141 struct mm_context *mmu = &mm->context; in destroy_context()
/arch/mn10300/mm/
Dmmu-context.c43 cnx = mm_context(vma->vm_mm); in update_mmu_cache()
/arch/x86/um/
Dldt.c298 long init_new_ldt(struct mm_context *new_mm, struct mm_context *from_mm) in init_new_ldt()
361 void free_ldt(struct mm_context *mm) in free_ldt()