Searched refs:mm_context (Results 1 – 8 of 8) sorted by relevance
12 typedef struct mm_context { struct21 extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm); argument22 extern void free_ldt(struct mm_context *mm);
26 #define mm_context(mm) mm->context macro30 #define mm_context(mm) mm->context[smp_processor_id()] macro52 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()
19 struct mm_context { struct27 typedef struct mm_context mm_context_t; argument
457 if (vma->vm_mm && mm_context(vma->vm_mm) != NO_CONTEXT) { in local_flush_tlb_page()462 page |= (mm_context(vma->vm_mm) & MMU_CONTEXT_ASID_MASK); in local_flush_tlb_page()477 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_range()484 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_range()490 asid = mm_context(mm) & MMU_CONTEXT_ASID_MASK; in local_flush_tlb_range()513 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_mm()517 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_mm()
57 #define mm_context(mm) (mm->context.tlbpid[smp_processor_id()]) macro78 mm_context(mm) = mc; in allocate_mmu_context()91 mc = mm_context(mm); in get_mmu_context()
52 struct mm_context *from_mm = NULL; in init_new_context()53 struct mm_context *to_mm = &mm->context; in init_new_context()169 struct mm_context *mmu = &mm->context; in destroy_context()
43 cnx = mm_context(vma->vm_mm); in update_mmu_cache()
389 long init_new_ldt(struct mm_context *new_mm, struct mm_context *from_mm) in init_new_ldt()487 void free_ldt(struct mm_context *mm) in free_ldt()