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()
94 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
101 static inline unsigned long mm_untag_mask(struct mm_struct *mm) in mm_untag_mask()
106 static inline void mm_reset_untag_mask(struct mm_struct *mm) in mm_reset_untag_mask()
112 static inline bool arch_pgtable_dma_compat(struct mm_struct *mm) in arch_pgtable_dma_compat()
119 static inline unsigned long mm_lam_cr3_mask(struct mm_struct *mm) in mm_lam_cr3_mask()
124 static inline void dup_lam(struct mm_struct *oldmm, struct mm_struct *mm) in dup_lam()
128 static inline void mm_reset_untag_mask(struct mm_struct *mm) in mm_reset_untag_mask()
134 extern void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk);
142 struct mm_struct *mm) in init_new_context()
163 static inline void destroy_context(struct mm_struct *mm) in destroy_context()
168 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
171 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
195 static inline void arch_dup_pkeys(struct mm_struct *oldmm, in arch_dup_pkeys()
196 struct mm_struct *mm) in arch_dup_pkeys()
208 static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm) in arch_dup_mmap()
216 static inline void arch_exit_mmap(struct mm_struct *mm) in arch_exit_mmap()
223 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
229 static inline bool is_64bit_mm(struct mm_struct *mm) in is_64bit_mm()
235 static inline void arch_unmap(struct mm_struct *mm, unsigned long start, in arch_unmap()