Home
last modified time | relevance | path

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

/linux-5.19.10/arch/um/os-Linux/skas/
Dmem.c25 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()
50 static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr) in do_syscall_stub() argument
56 int err, pid = mm_idp->u.pid; in do_syscall_stub()
80 ret = *((unsigned long *) mm_idp->stack); in do_syscall_stub()
81 offset = *((unsigned long *) mm_idp->stack + 1); in do_syscall_stub()
83 data = (unsigned long *)(mm_idp->stack + offset - STUB_DATA); in do_syscall_stub()
107 *addr = check_init_stack(mm_idp, NULL); in do_syscall_stub()
112 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub() argument
116 unsigned long *stack = check_init_stack(mm_idp, *addr); in run_syscall_stub()
[all …]
Dprocess.c731 void __switch_mm(struct mm_id *mm_idp) in __switch_mm() argument
733 userspace_pid[0] = mm_idp->u.pid; in __switch_mm()
734 kill_userspace_mm[0] = mm_idp->kill; in __switch_mm()
/linux-5.19.10/arch/x86/um/
Dldt.c21 static long write_ldt_entry(struct mm_id *mm_idp, int func, in write_ldt_entry() argument
29 res = syscall_stub_data(mm_idp, (unsigned long *)desc, in write_ldt_entry()
37 res = run_syscall_stub(mm_idp, __NR_modify_ldt, args, in write_ldt_entry()
126 struct mm_id * mm_idp = &current->mm->context.id; in write_ldt() local
151 err = write_ldt_entry(mm_idp, func, &ldt_info, &addr, 1); in write_ldt()
169 write_ldt_entry(mm_idp, 1, &ldt_info, &addr, 1); in write_ldt()
/linux-5.19.10/arch/um/include/shared/
Dos.h271 extern long run_syscall_stub(struct mm_id * mm_idp,
274 extern long syscall_stub_data(struct mm_id * mm_idp,
277 extern int map(struct mm_id * mm_idp, unsigned long virt,
280 extern int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len,
282 extern int protect(struct mm_id * mm_idp, unsigned long addr,
/linux-5.19.10/arch/um/include/asm/
Dmmu.h18 extern void __switch_mm(struct mm_id * mm_idp);
/linux-5.19.10/arch/um/kernel/
Dtlb.c343 struct mm_id *mm_idp = &current->mm->context.id; in fix_range_common() local
347 mm_idp->kill = 1; in fix_range_common()