Lines Matching refs:mm_struct

16 extern struct mm_struct *mm_alloc(void);
35 static inline void mmgrab(struct mm_struct *mm) in mmgrab()
40 extern void __mmdrop(struct mm_struct *mm);
42 static inline void mmdrop(struct mm_struct *mm) in mmdrop()
60 struct mm_struct *mm = container_of(rhp, struct mm_struct, delayed_drop); in __mmdrop_delayed()
69 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
76 static inline void mmdrop_sched(struct mm_struct *mm) in mmdrop_sched()
98 static inline void mmget(struct mm_struct *mm) in mmget()
103 static inline bool mmget_not_zero(struct mm_struct *mm) in mmget_not_zero()
109 extern void mmput(struct mm_struct *);
114 void mmput_async(struct mm_struct *);
118 extern struct mm_struct *get_task_mm(struct task_struct *task);
124 extern struct mm_struct *mm_access(struct task_struct *task, unsigned int mode);
126 extern void exit_mm_release(struct task_struct *, struct mm_struct *);
128 extern void exec_mm_release(struct task_struct *, struct mm_struct *);
131 extern void mm_update_next_owner(struct mm_struct *mm);
133 static inline void mm_update_next_owner(struct mm_struct *mm) in mm_update_next_owner()
147 extern void arch_pick_mmap_layout(struct mm_struct *mm,
166 static inline void arch_pick_mmap_layout(struct mm_struct *mm, in arch_pick_mmap_layout()
421 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
431 extern void membarrier_exec_mmap(struct mm_struct *mm);
433 extern void membarrier_update_current_mm(struct mm_struct *next_mm);
437 static inline void membarrier_arch_switch_mm(struct mm_struct *prev, in membarrier_arch_switch_mm()
438 struct mm_struct *next, in membarrier_arch_switch_mm()
443 static inline void membarrier_exec_mmap(struct mm_struct *mm) in membarrier_exec_mmap()
446 static inline void membarrier_mm_sync_core_before_usermode(struct mm_struct *mm) in membarrier_mm_sync_core_before_usermode()
449 static inline void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_update_current_mm()
455 static inline void mm_pasid_init(struct mm_struct *mm) in mm_pasid_init()
461 static inline void mm_pasid_set(struct mm_struct *mm, u32 pasid) in mm_pasid_set()
466 static inline void mm_pasid_drop(struct mm_struct *mm) in mm_pasid_drop()
474 static inline void mm_pasid_init(struct mm_struct *mm) {} in mm_pasid_init()
475 static inline void mm_pasid_set(struct mm_struct *mm, u32 pasid) {} in mm_pasid_set()
476 static inline void mm_pasid_drop(struct mm_struct *mm) {} in mm_pasid_drop()