Home
last modified time | relevance | path

Searched refs:mm_id (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/um/os-Linux/skas/
H A Dmem.c25 static inline unsigned long *check_init_stack(struct mm_id * mm_idp, in check_init_stack()
50 static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr) in do_syscall_stub()
109 long run_syscall_stub(struct mm_id * mm_idp, int syscall, in run_syscall_stub()
137 long syscall_stub_data(struct mm_id * mm_idp, in syscall_stub_data()
169 int map(struct mm_id * mm_idp, unsigned long virt, unsigned long len, int prot, in map()
183 int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len, in unmap()
196 int protect(struct mm_id * mm_idp, unsigned long addr, unsigned long len, in protect()
H A Dprocess.c728 void __switch_mm(struct mm_id *mm_idp) in __switch_mm()
/openbmc/linux/arch/um/include/shared/skas/
H A Dmm_id.h9 struct mm_id { struct
18 void __switch_mm(struct mm_id *mm_idp); argument
/openbmc/linux/arch/um/include/shared/
H A 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,
/openbmc/linux/arch/um/kernel/
H A Dtlb.c343 struct mm_id *mm_idp = &current->mm->context.id; in fix_range_common()
465 struct mm_id *mm_id; in flush_tlb_page() local
497 mm_id = &mm->context.id; in flush_tlb_page()
506 err = map(mm_id, address, PAGE_SIZE, prot, fd, offset, in flush_tlb_page()
509 else err = unmap(mm_id, address, PAGE_SIZE, 1, &flush); in flush_tlb_page()
512 err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush); in flush_tlb_page()
/openbmc/linux/arch/um/include/asm/
H A Dmmu.h13 struct mm_id id;
/openbmc/linux/include/trace/events/
H A Dkmem.h354 __field(unsigned int, mm_id)
361 __entry->mm_id = mm_ptr_to_hash(mm);
369 __entry->mm_id,
/openbmc/linux/arch/x86/um/
H A Dldt.c21 static long write_ldt_entry(struct mm_id *mm_idp, int func, in write_ldt_entry()
126 struct mm_id * mm_idp = &current->mm->context.id; in write_ldt()