Home
last modified time | relevance | path

Searched refs:mm_idp (Results 1 – 5 of 5) sorted by relevance

/arch/um/os-Linux/skas/
Dmem.c26 static inline unsigned long *check_init_stack(struct mm_id * mm_idp, in check_init_stack() argument
30 stack = (unsigned long *) mm_idp->stack + 2; in check_init_stack()
55 static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr) in do_syscall_stub() argument
61 int err, pid = mm_idp->u.pid; in do_syscall_stub()
91 ret = *((unsigned long *) mm_idp->stack); in do_syscall_stub()
92 offset = *((unsigned long *) mm_idp->stack + 1); in do_syscall_stub()
94 data = (unsigned long *)(mm_idp->stack + offset - STUB_DATA); in do_syscall_stub()
118 *addr = check_init_stack(mm_idp, NULL); in do_syscall_stub()
123 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub() argument
127 unsigned long *stack = check_init_stack(mm_idp, *addr); in run_syscall_stub()
[all …]
Dprocess.c721 void __switch_mm(struct mm_id *mm_idp) in __switch_mm() argument
728 mm_idp->u.mm_fd); in __switch_mm()
735 else userspace_pid[0] = mm_idp->u.pid; in __switch_mm()
/arch/x86/um/
Dldt.c18 static long write_ldt_entry(struct mm_id *mm_idp, int func, in write_ldt_entry() argument
38 mm_idp != &current->active_mm->context.id) in write_ldt_entry()
39 __switch_mm(mm_idp); in write_ldt_entry()
51 pid = mm_idp->u.pid; in write_ldt_entry()
64 res = syscall_stub_data(mm_idp, (unsigned long *)desc, in write_ldt_entry()
73 res = run_syscall_stub(mm_idp, __NR_modify_ldt, args, in write_ldt_entry()
84 mm_idp != &current->active_mm->context.id) in write_ldt_entry()
209 struct mm_id * mm_idp = &current->mm->context.id; in write_ldt() local
235 err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1); in write_ldt()
258 write_ldt_entry(mm_idp, 1, &ldt_info, &addr, 1); in write_ldt()
/arch/um/include/shared/
Dos.h247 extern long run_syscall_stub(struct mm_id * mm_idp,
250 extern long syscall_stub_data(struct mm_id * mm_idp,
253 extern int map(struct mm_id * mm_idp, unsigned long virt,
256 extern int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len,
258 extern int protect(struct mm_id * mm_idp, unsigned long addr,
/arch/um/include/asm/
Dmmu.h18 extern void __switch_mm(struct mm_id * mm_idp);