Lines Matching refs:mm_struct
55 static inline void init_new_context_ldt(struct mm_struct *mm) in init_new_context_ldt()
60 int ldt_dup_context(struct mm_struct *oldmm, struct mm_struct *mm);
61 void destroy_context_ldt(struct mm_struct *mm);
62 void ldt_arch_exit_mmap(struct mm_struct *mm);
64 static inline void init_new_context_ldt(struct mm_struct *mm) { } in init_new_context_ldt()
65 static inline int ldt_dup_context(struct mm_struct *oldmm, in ldt_dup_context()
66 struct mm_struct *mm) in ldt_dup_context()
70 static inline void destroy_context_ldt(struct mm_struct *mm) { } in destroy_context_ldt()
71 static inline void ldt_arch_exit_mmap(struct mm_struct *mm) { } in ldt_arch_exit_mmap()
75 extern void load_mm_ldt(struct mm_struct *mm);
76 extern void switch_ldt(struct mm_struct *prev, struct mm_struct *next);
78 static inline void load_mm_ldt(struct mm_struct *mm) in load_mm_ldt()
82 static inline void switch_ldt(struct mm_struct *prev, struct mm_struct *next) in switch_ldt()
89 static inline unsigned long mm_lam_cr3_mask(struct mm_struct *mm) in mm_lam_cr3_mask()
100 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
107 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask()
112 static inline void mm_reset_untag_mask(struct mm_struct *mm) in mm_reset_untag_mask()
118 static inline bool arch_pgtable_dma_compat(struct mm_struct *mm) in arch_pgtable_dma_compat()
125 static inline unsigned long mm_lam_cr3_mask(struct mm_struct *mm) in mm_lam_cr3_mask()
130 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
134 static inline void mm_reset_untag_mask(struct mm_struct *mm) in mm_reset_untag_mask()
140 extern void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk);
148 struct mm_struct *mm) in init_new_context()
169 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
174 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
177 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
201 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys()
202 struct mm_struct *mm) in arch_dup_pkeys()
214 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
222 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
229 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
235 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()