Home
last modified time | relevance | path

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

/linux-6.12.1/arch/um/os-Linux/skas/
Dmem.c25 void syscall_stub_dump_error(struct mm_id *mm_idp) in syscall_stub_dump_error() argument
27 struct stub_data *proc_data = (void *)mm_idp->stack; in syscall_stub_dump_error()
34 mm_idp->syscall_data_len); in syscall_stub_dump_error()
39 __func__, mm_idp->syscall_data_len, in syscall_stub_dump_error()
48 static inline unsigned long *check_init_stack(struct mm_id * mm_idp, in check_init_stack() argument
52 stack = (unsigned long *) mm_idp->stack + 2; in check_init_stack()
77 static inline long do_syscall_stub(struct mm_id *mm_idp) in do_syscall_stub() argument
79 struct stub_data *proc_data = (void *)mm_idp->stack; in do_syscall_stub()
81 int err, pid = mm_idp->pid; in do_syscall_stub()
93 proc_data->syscall_data_len = mm_idp->syscall_data_len; in do_syscall_stub()
[all …]
Dprocess.c589 void __switch_mm(struct mm_id *mm_idp) in __switch_mm() argument
591 userspace_pid[0] = mm_idp->pid; in __switch_mm()
/linux-6.12.1/arch/um/kernel/
Dtlb.c19 struct mm_id *mm_idp; member
21 int (*mmap)(struct mm_id *mm_idp,
24 int (*unmap)(struct mm_id *mm_idp,
26 int (*mprotect)(struct mm_id *mm_idp,
31 static int kern_map(struct mm_id *mm_idp, in kern_map() argument
41 static int kern_unmap(struct mm_id *mm_idp, in kern_unmap() argument
47 static int kern_mprotect(struct mm_id *mm_idp, in kern_mprotect() argument
89 ret = ops->mmap(ops->mm_idp, addr, PAGE_SIZE, in update_pte_range()
92 ret = ops->unmap(ops->mm_idp, addr, PAGE_SIZE); in update_pte_range()
94 ret = ops->mprotect(ops->mm_idp, addr, PAGE_SIZE, prot); in update_pte_range()
[all …]
/linux-6.12.1/arch/um/include/shared/
Dos.h278 int syscall_stub_flush(struct mm_id *mm_idp);
279 struct stub_syscall *syscall_stub_alloc(struct mm_id *mm_idp);
280 void syscall_stub_dump_error(struct mm_id *mm_idp);
282 int map(struct mm_id *mm_idp, unsigned long virt,
285 int unmap(struct mm_id *mm_idp, unsigned long addr, unsigned long len);
286 int protect(struct mm_id *mm_idp, unsigned long addr,
/linux-6.12.1/arch/um/include/shared/skas/
Dmm_id.h15 void __switch_mm(struct mm_id *mm_idp);