Home
last modified time | relevance | path

Searched refs:is_user (Results 1 – 7 of 7) sorted by relevance

/arch/um/kernel/
Dtrap.c26 int is_write, int is_user, int *code_out) in handle_page_fault() argument
46 if (is_user) in handle_page_fault()
57 else if (is_user && !ARCH_IS_STACKGROW(address)) in handle_page_fault()
135 if (!is_user) in handle_page_fault()
209 unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, in segv() argument
218 if (!is_user && regs) in segv()
221 if (!is_user && (address >= start_vm) && (address < end_vm)) { in segv()
229 else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { in segv()
236 err = handle_page_fault(address, ip, is_write, is_user, in segv()
257 else if (!is_user && arch_fixup(ip, regs)) in segv()
[all …]
/arch/powerpc/mm/
Dfault.c350 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
356 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
398 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
440 int is_user = user_mode(regs); in __do_page_fault() local
450 if (is_user) { in __do_page_fault()
458 sanity_check_fault(is_write, is_user, error_code, address); in __do_page_fault()
465 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) in __do_page_fault()
473 if (is_user) in __do_page_fault()
496 if (is_user) in __do_page_fault()
519 if (!is_user && !search_exception_tables(regs->nip)) in __do_page_fault()
[all …]
/arch/um/include/shared/
Dkern_util.h31 int is_user, struct uml_pt_regs *regs);
33 int is_write, int is_user, int *code_out);
/arch/x86/um/shared/sysdep/
Dptrace.h64 int is_user; member
71 #define UPT_IS_USER(r) ((r)->is_user)
/arch/um/os-Linux/
Dsignal.c37 r.is_user = 0; in sig_handler_common()
/arch/um/os-Linux/skas/
Dprocess.c385 regs->is_user = 1; in userspace()
/arch/x86/kvm/
Dsvm.c7113 bool is_user = svm_get_cpl(vcpu) == 3; in svm_need_emulation_on_page_fault() local
7155 if (smap && (!smep || is_user)) { in svm_need_emulation_on_page_fault()