Lines Matching defs:mm
54 struct mm_struct *mm = __mm; in flush_ldt() local
105 static void do_sanity_check(struct mm_struct *mm, in do_sanity_check()
150 static void map_ldt_struct_to_user(struct mm_struct *mm) in map_ldt_struct_to_user()
163 static void sanity_check_ldt_mapping(struct mm_struct *mm) in sanity_check_ldt_mapping()
180 static void map_ldt_struct_to_user(struct mm_struct *mm) in map_ldt_struct_to_user()
188 static void sanity_check_ldt_mapping(struct mm_struct *mm) in sanity_check_ldt_mapping()
204 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
265 static void unmap_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt) in unmap_ldt_struct()
297 map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot) in map_ldt_struct()
302 static void unmap_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt) in unmap_ldt_struct()
307 static void free_ldt_pgtables(struct mm_struct *mm) in free_ldt_pgtables()
329 static void install_ldt(struct mm_struct *mm, struct ldt_struct *ldt) in install_ldt()
359 int ldt_dup_context(struct mm_struct *old_mm, struct mm_struct *mm) in ldt_dup_context()
399 void destroy_context_ldt(struct mm_struct *mm) in destroy_context_ldt()
405 void ldt_arch_exit_mmap(struct mm_struct *mm) in ldt_arch_exit_mmap()
412 struct mm_struct *mm = current->mm; in read_ldt() local
466 struct mm_struct *mm = current->mm; in write_ldt() local