Lines Matching refs:mm_struct

19 static inline void paravirt_activate_mm(struct mm_struct *prev,  in paravirt_activate_mm()
20 struct mm_struct *next) in paravirt_activate_mm()
61 static inline void init_new_context_ldt(struct mm_struct *mm) in init_new_context_ldt()
66 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
67 void destroy_context_ldt(struct mm_struct *mm);
68 void ldt_arch_exit_mmap(struct mm_struct *mm);
70 static inline void init_new_context_ldt(struct mm_struct *mm) { } in init_new_context_ldt()
71 static inline int ldt_dup_context(struct mm_struct *oldmm, in ldt_dup_context()
72 struct mm_struct *mm) in ldt_dup_context()
76 static inline void destroy_context_ldt(struct mm_struct *mm) { } in destroy_context_ldt()
77 static inline void ldt_arch_exit_mmap(struct mm_struct *mm) { } in ldt_arch_exit_mmap()
81 extern void load_mm_ldt(struct mm_struct *mm);
82 extern void switch_ldt(struct mm_struct *prev, struct mm_struct *next);
84 static inline void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt()
88 static inline void switch_ldt(struct mm_struct *prev, struct mm_struct *next) in switch_ldt()
95 extern void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk);
103 struct mm_struct *mm) in init_new_context()
123 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
128 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
131 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
154 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys()
155 struct mm_struct *mm) in arch_dup_pkeys()
167 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
174 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
181 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
187 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
193 static inline void arch_unmap(struct mm_struct *mm, unsigned long start, in arch_unmap()