Searched refs:mm_idp (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/arch/um/os-Linux/skas/ |
D | mem.c | 25 static inline unsigned long *check_init_stack(struct mm_id * mm_idp, in check_init_stack() argument 29 stack = (unsigned long *) mm_idp->stack + 2; in check_init_stack() 48 static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr) in do_syscall_stub() argument 54 int err, pid = mm_idp->u.pid; in do_syscall_stub() 78 ret = *((unsigned long *) mm_idp->stack); in do_syscall_stub() 79 offset = *((unsigned long *) mm_idp->stack + 1); in do_syscall_stub() 81 data = (unsigned long *)(mm_idp->stack + offset - STUB_DATA); in do_syscall_stub() 105 *addr = check_init_stack(mm_idp, NULL); in do_syscall_stub() 110 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub() argument 114 unsigned long *stack = check_init_stack(mm_idp, *addr); in run_syscall_stub() [all …]
|
D | process.c | 650 void __switch_mm(struct mm_id *mm_idp) in __switch_mm() argument 652 userspace_pid[0] = mm_idp->u.pid; in __switch_mm()
|
/Linux-v5.10/arch/x86/um/ |
D | ldt.c | 21 static long write_ldt_entry(struct mm_id *mm_idp, int func, in write_ldt_entry() argument 26 res = syscall_stub_data(mm_idp, (unsigned long *)desc, in write_ldt_entry() 35 res = run_syscall_stub(mm_idp, __NR_modify_ldt, args, in write_ldt_entry() 124 struct mm_id * mm_idp = ¤t->mm->context.id; in write_ldt() local 149 err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1); in write_ldt() 167 write_ldt_entry(mm_idp, 1, &ldt_info, &addr, 1); in write_ldt()
|
/Linux-v5.10/arch/um/include/shared/ |
D | os.h | 269 extern long run_syscall_stub(struct mm_id * mm_idp, 272 extern long syscall_stub_data(struct mm_id * mm_idp, 275 extern int map(struct mm_id * mm_idp, unsigned long virt, 278 extern int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len, 280 extern int protect(struct mm_id * mm_idp, unsigned long addr,
|
/Linux-v5.10/arch/um/include/asm/ |
D | mmu.h | 18 extern void __switch_mm(struct mm_id * mm_idp);
|