Searched refs:new_mm (Results 1 – 1 of 1) sorted by relevance
300 long init_new_ldt(struct mm_context *new_mm, struct mm_context *from_mm) in init_new_ldt() argument309 mutex_init(&new_mm->arch.ldt.lock); in init_new_ldt()321 err = write_ldt_entry(&new_mm->id, 1, &desc, in init_new_ldt()326 new_mm->arch.ldt.entry_count = 0; in init_new_ldt()339 memcpy(new_mm->arch.ldt.u.entries, from_mm->arch.ldt.u.entries, in init_new_ldt()340 sizeof(new_mm->arch.ldt.u.entries)); in init_new_ldt()349 new_mm->arch.ldt.u.pages[i] = in init_new_ldt()351 memcpy(new_mm->arch.ldt.u.pages[i], in init_new_ldt()355 new_mm->arch.ldt.entry_count = from_mm->arch.ldt.entry_count; in init_new_ldt()