Lines Matching refs:mm_struct
22 int ksm_enable_merge_any(struct mm_struct *mm);
23 int ksm_disable_merge_any(struct mm_struct *mm);
24 int ksm_disable(struct mm_struct *mm);
26 int __ksm_enter(struct mm_struct *mm);
27 void __ksm_exit(struct mm_struct *mm);
37 static inline void ksm_map_zero_page(struct mm_struct *mm) in ksm_map_zero_page()
43 static inline void ksm_might_unmap_zero_page(struct mm_struct *mm, pte_t pte) in ksm_might_unmap_zero_page()
51 static inline long mm_ksm_zero_pages(struct mm_struct *mm) in mm_ksm_zero_pages()
56 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
63 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve()
71 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
95 long ksm_process_profit(struct mm_struct *);
96 bool ksm_process_mergeable(struct mm_struct *mm);
104 static inline int ksm_disable(struct mm_struct *mm) in ksm_disable()
109 static inline void ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) in ksm_fork()
113 static inline int ksm_execve(struct mm_struct *mm) in ksm_execve()
118 static inline void ksm_exit(struct mm_struct *mm) in ksm_exit()
122 static inline void ksm_might_unmap_zero_page(struct mm_struct *mm, pte_t pte) in ksm_might_unmap_zero_page()