Lines Matching refs:mm_struct
18 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
20 extern void destroy_context(struct mm_struct *mm);
24 extern bool mm_iommu_preregistered(struct mm_struct *mm);
25 extern long mm_iommu_new(struct mm_struct *mm,
28 extern long mm_iommu_newdev(struct mm_struct *mm, unsigned long ua,
31 extern long mm_iommu_put(struct mm_struct *mm,
33 extern void mm_iommu_init(struct mm_struct *mm);
34 extern struct mm_iommu_table_group_mem_t *mm_iommu_lookup(struct mm_struct *mm,
36 extern struct mm_iommu_table_group_mem_t *mm_iommu_get(struct mm_struct *mm,
40 extern bool mm_iommu_is_devmem(struct mm_struct *mm, unsigned long hpa,
45 static inline bool mm_iommu_is_devmem(struct mm_struct *mm, unsigned long hpa, in mm_iommu_is_devmem()
50 static inline void mm_iommu_init(struct mm_struct *mm) { } in mm_iommu_init()
52 extern void switch_slb(struct task_struct *tsk, struct mm_struct *mm);
55 extern void radix__switch_mmu_context(struct mm_struct *prev,
56 struct mm_struct *next);
57 static inline void switch_mmu_context(struct mm_struct *prev, in switch_mmu_context()
58 struct mm_struct *next, in switch_mmu_context()
72 static inline int alloc_extended_context(struct mm_struct *mm, in alloc_extended_context()
88 static inline bool need_extra_context(struct mm_struct *mm, unsigned long ea) in need_extra_context()
100 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next,
105 static inline int alloc_extended_context(struct mm_struct *mm, in alloc_extended_context()
113 static inline bool need_extra_context(struct mm_struct *mm, unsigned long ea) in need_extra_context()
120 static inline void inc_mm_active_cpus(struct mm_struct *mm) in inc_mm_active_cpus()
125 static inline void dec_mm_active_cpus(struct mm_struct *mm) in dec_mm_active_cpus()
131 static inline void mm_context_add_copro(struct mm_struct *mm) in mm_context_add_copro()
142 static inline void mm_context_remove_copro(struct mm_struct *mm) in mm_context_remove_copro()
187 static inline void mm_context_add_vas_window(struct mm_struct *mm) in mm_context_add_vas_window()
193 static inline void mm_context_remove_vas_window(struct mm_struct *mm) in mm_context_remove_vas_window()
204 static inline void inc_mm_active_cpus(struct mm_struct *mm) { } in inc_mm_active_cpus()
205 static inline void dec_mm_active_cpus(struct mm_struct *mm) { } in dec_mm_active_cpus()
206 static inline void mm_context_add_copro(struct mm_struct *mm) { } in mm_context_add_copro()
207 static inline void mm_context_remove_copro(struct mm_struct *mm) { } in mm_context_remove_copro()
223 extern void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
226 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm()
242 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm()
250 static inline void enter_lazy_tlb(struct mm_struct *mm, in enter_lazy_tlb()
258 extern void arch_exit_mmap(struct mm_struct *mm);
263 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm);
282 static inline int arch_dup_mmap(struct mm_struct *oldmm, in arch_dup_mmap()
283 struct mm_struct *mm) in arch_dup_mmap()