Lines Matching refs:mm_struct

16 extern struct mm_struct *mm_alloc(void);
35 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
45 extern void __mmdrop(struct mm_struct *mm);
47 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
65 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed()
74 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
81 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
88 static inline void mmgrab_lazy_tlb(struct mm_struct *mm) in mmgrab_lazy_tlb()
94 static inline void mmdrop_lazy_tlb(struct mm_struct *mm) in mmdrop_lazy_tlb()
107 static inline void mmdrop_lazy_tlb_sched(struct mm_struct *mm) in mmdrop_lazy_tlb_sched()
131 static inline void mmget(struct mm_struct *mm) in mmget()
136 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
142 extern void mmput(struct mm_struct *);
147 void mmput_async(struct mm_struct *);
151 extern struct mm_struct *get_task_mm(struct task_struct *task);
157 extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode);
159 extern void exit_mm_release(struct task_struct *, struct mm_struct *);
161 extern void exec_mm_release(struct task_struct *, struct mm_struct *);
164 extern void mm_update_next_owner(struct mm_struct *mm);
166 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner()
180 extern void arch_pick_mmap_layout(struct mm_struct *mm,
192 unsigned long mm_get_unmapped_area(struct mm_struct *mm, struct file *filp,
196 unsigned long mm_get_unmapped_area_vmflags(struct mm_struct *mm,
213 static inline void arch_pick_mmap_layout(struct mm_struct *mm, in arch_pick_mmap_layout()
532 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
542 extern void membarrier_exec_mmap(struct mm_struct *mm);
544 extern void membarrier_update_current_mm(struct mm_struct *next_mm);
548 static inline void membarrier_arch_switch_mm(struct mm_struct *prev, in membarrier_arch_switch_mm()
549 struct mm_struct *next, in membarrier_arch_switch_mm()
554 static inline void membarrier_exec_mmap(struct mm_struct *mm) in membarrier_exec_mmap()
557 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
560 static inline void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_update_current_mm()