Home
last modified time | relevance | path

Searched refs:to_mm (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/um/kernel/skas/
Dmmu.c61 struct mm_context *to_mm = &mm->context; in init_new_context() local
69 to_mm->id.stack = stack; in init_new_context()
75 to_mm->id.u.pid = copy_context_skas0(stack, in init_new_context()
77 else to_mm->id.u.pid = start_userspace(stack); in init_new_context()
80 if (to_mm->id.u.pid < 0) { in init_new_context()
81 ret = to_mm->id.u.pid; in init_new_context()
85 ret = init_new_ldt(to_mm, from_mm); in init_new_context()
95 if (to_mm->id.stack != 0) in init_new_context()
96 free_page(to_mm->id.stack); in init_new_context()
/kernel/linux/linux-5.10/arch/um/include/asm/
Dmmu.h21 extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);