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()
94 extern void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk);
101 struct mm_struct *mm) in init_new_context()
119 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
124 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
127 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
150 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys()
151 struct mm_struct *mm) in arch_dup_pkeys()
163 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
170 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
177 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
183 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
189 static inline void arch_unmap(struct mm_struct *mm, unsigned long start, in arch_unmap()