Home
last modified time | relevance | path

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

/arch/um/kernel/
Dtrap.c25 int is_write, int is_user, int *code_out) in handle_page_fault() argument
43 if (is_user) in handle_page_fault()
54 else if (is_user && !ARCH_IS_STACKGROW(address)) in handle_page_fault()
125 if (!is_user) in handle_page_fault()
199 unsigned long segv(struct faultinfo fi, unsigned long ip, int is_user, in segv() argument
208 if (!is_user && regs) in segv()
211 if (!is_user && (address >= start_vm) && (address < end_vm)) { in segv()
219 else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { in segv()
226 err = handle_page_fault(address, ip, is_write, is_user, in segv()
247 else if (!is_user && arch_fixup(ip, regs)) in segv()
[all …]
/arch/powerpc/mm/
Dfault.c304 static void sanity_check_fault(bool is_write, bool is_user, in sanity_check_fault() argument
310 if (is_user && address >= TASK_SIZE) { in sanity_check_fault()
396 int is_user = user_mode(regs); in __do_page_fault() local
405 if (is_user) { in __do_page_fault()
413 sanity_check_fault(is_write, is_user, error_code, address); in __do_page_fault()
420 if (unlikely(!is_user && bad_kernel_fault(regs, error_code, address, is_write))) in __do_page_fault()
428 if (is_user) in __do_page_fault()
447 if (is_user) in __do_page_fault()
470 if (!is_user && !search_exception_tables(regs->nip)) in __do_page_fault()
/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.c389 regs->is_user = 1; in userspace()
/arch/arm64/kvm/vgic/
Dvgic-mmio.c231 bool is_user) in __read_pending() argument
252 } else if (!is_user && vgic_irq_is_mapped_level(irq)) { in __read_pending()
/arch/x86/kvm/svm/
Dsvm.c4099 bool smep, smap, is_user; in svm_can_emulate_instruction() local
4152 is_user = svm_get_cpl(vcpu) == 3; in svm_can_emulate_instruction()
4153 if (smap && (!smep || is_user)) { in svm_can_emulate_instruction()
4166 if (is_user) in svm_can_emulate_instruction()