Searched refs:mm_context (Results 1 – 9 of 9) 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
29 struct mm_context { struct35 typedef struct mm_context mm_context_t; argument
456 if (vma->vm_mm && mm_context(vma->vm_mm) != NO_CONTEXT) { in local_flush_tlb_page()461 page |= (mm_context(vma->vm_mm) & MMU_CONTEXT_ASID_MASK); in local_flush_tlb_page()476 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_range()483 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_range()489 asid = mm_context(mm) & MMU_CONTEXT_ASID_MASK; in local_flush_tlb_range()512 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_mm()516 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()155 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()