Lines Matching defs:mm
516 void dup_mm_exe_file(struct mm_struct *mm, struct mm_struct *oldmm) in dup_mm_exe_file()
531 static inline int mm_alloc_pgd(struct mm_struct *mm) in mm_alloc_pgd()
539 static inline void mm_free_pgd(struct mm_struct *mm) in mm_free_pgd()
544 #define mm_alloc_pgd(mm) (0) argument
545 #define mm_free_pgd(mm) argument
551 static inline int mm_alloc_id(struct mm_struct *mm) in mm_alloc_id()
562 static inline void mm_free_id(struct mm_struct *mm) in mm_free_id()
574 static inline int mm_alloc_id(struct mm_struct *mm) { return 0; } in mm_alloc_id()
575 static inline void mm_free_id(struct mm_struct *mm) {} in mm_free_id()
578 static void check_mm(struct mm_struct *mm) in check_mm()
606 #define free_mm(mm) (kmem_cache_free(mm_cachep, (mm))) argument
610 struct mm_struct *mm = arg; in do_check_lazy_tlb() local
617 struct mm_struct *mm = arg; in do_shoot_lazy_tlb() local
626 static void cleanup_lazy_tlbs(struct mm_struct *mm) in cleanup_lazy_tlbs()
674 void __mmdrop(struct mm_struct *mm) in __mmdrop()
700 struct mm_struct *mm; in mmdrop_async_fn() local
706 static void mmdrop_async(struct mm_struct *mm) in mmdrop_async()
990 static void mm_init_aio(struct mm_struct *mm) in mm_init_aio()
998 static __always_inline void mm_clear_owner(struct mm_struct *mm, in mm_clear_owner()
1007 static void mm_init_owner(struct mm_struct *mm, struct task_struct *p) in mm_init_owner()
1014 static void mm_init_uprobes_state(struct mm_struct *mm) in mm_init_uprobes_state()
1021 static void mmap_init_lock(struct mm_struct *mm) in mmap_init_lock()
1030 static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p, in mm_init()
1111 struct mm_struct *mm; in mm_alloc() local
1122 static inline void __mmput(struct mm_struct *mm) in __mmput()
1147 void mmput(struct mm_struct *mm) in mmput()
1159 struct mm_struct *mm = container_of(work, struct mm_struct, in mmput_async_fn() local
1165 void mmput_async(struct mm_struct *mm) in mmput_async()
1188 int set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in set_mm_exe_file()
1225 int replace_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file) in replace_mm_exe_file()
1276 struct file *get_mm_exe_file(struct mm_struct *mm) in get_mm_exe_file()
1297 struct mm_struct *mm; in get_task_exe_file() local
1322 struct mm_struct *mm; in get_task_mm() local
1336 static bool may_access_mm(struct mm_struct *mm, struct task_struct *task, unsigned int mode) in may_access_mm()
1349 struct mm_struct *mm; in mm_access() local
1414 static void mm_release(struct task_struct *tsk, struct mm_struct *mm) in mm_release()
1447 void exit_mm_release(struct task_struct *tsk, struct mm_struct *mm) in exit_mm_release()
1453 void exec_mm_release(struct task_struct *tsk, struct mm_struct *mm) in exec_mm_release()
1472 struct mm_struct *mm; in dup_mm() local
1512 struct mm_struct *mm, *oldmm; in copy_mm() local