Home
last modified time | relevance | path

Searched refs:fault_code (Results 1 – 12 of 12) sorted by relevance

/linux/arch/sparc/mm/
A Dfault_64.c159 int fault_code) in do_fault_siginfo() argument
163 if (fault_code & FAULT_CODE_ITLB) { in do_fault_siginfo()
270 int si_code, fault_code; in do_sparc64_fault() local
275 fault_code = get_thread_fault_code(); in do_sparc64_fault()
283 if ((fault_code & FAULT_CODE_ITLB) && in do_sparc64_fault()
284 (fault_code & FAULT_CODE_DTLB)) in do_sparc64_fault()
332 if (fault_code & FAULT_CODE_BAD_RA) in do_sparc64_fault()
347 if (((fault_code & in do_sparc64_fault()
363 fault_code |= FAULT_CODE_WRITE; in do_sparc64_fault()
405 if (fault_code & FAULT_CODE_WRITE) { in do_sparc64_fault()
[all …]
/linux/tools/testing/selftests/powerpc/mm/
A Dbad_accesses.c28 static volatile int fault_code; variable
34 fault_code = info->si_code; in segv_handler()
43 fault_code = 0; in bad_access()
59 FAIL_IF(fault_code == SEGV_MAPERR && \ in bad_access()
62 FAIL_IF(fault_code != SEGV_MAPERR && fault_code != SEGV_BNDERR); in bad_access()
A Dpkey_exec_prot.c24 static volatile sig_atomic_t fault_pkey, fault_code, fault_type; variable
44 fault_code = sinfo->si_code; in segv_handler()
60 switch (fault_code) { in segv_handler()
200 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_ACCERR); in test()
221 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_PKUERR); in test()
238 FAIL_IF(remaining_faults != 0 || fault_code != SEGV_ACCERR); in test()
276 FAIL_IF(fault_code != SEGV_PKUERR); in test()
/linux/arch/arm64/kernel/probes/
A Duprobes.c67 current->thread.fault_code = UPROBE_INV_FAULT_CODE; in arch_uprobe_pre_xol()
81 WARN_ON_ONCE(current->thread.fault_code != UPROBE_INV_FAULT_CODE); in arch_uprobe_post_xol()
97 if (t->thread.fault_code != UPROBE_INV_FAULT_CODE) in arch_uprobe_xol_was_trapped()
/linux/drivers/spi/
A Dspi-tle62x0.c78 static unsigned char *decode_fault(unsigned int fault_code) in decode_fault() argument
80 fault_code &= 3; in decode_fault()
82 switch (fault_code) { in decode_fault()
/linux/drivers/scsi/mpt3sas/
A Dmpt3sas_base.h1720 void mpt3sas_base_fault_info(struct MPT3SAS_ADAPTER *ioc , u16 fault_code);
1721 #define mpt3sas_print_fault_code(ioc, fault_code) \ argument
1723 mpt3sas_base_fault_info(ioc, fault_code); } while (0)
1725 void mpt3sas_base_coredump_info(struct MPT3SAS_ADAPTER *ioc, u16 fault_code);
1726 #define mpt3sas_print_coredump_info(ioc, fault_code) \ argument
1728 mpt3sas_base_coredump_info(ioc, fault_code); } while (0)
A Dmpt3sas_base.c876 mpt3sas_base_fault_info(struct MPT3SAS_ADAPTER *ioc , u16 fault_code) in mpt3sas_base_fault_info() argument
878 ioc_err(ioc, "fault_state(0x%04x)!\n", fault_code); in mpt3sas_base_fault_info()
889 mpt3sas_base_coredump_info(struct MPT3SAS_ADAPTER *ioc, u16 fault_code) in mpt3sas_base_coredump_info() argument
891 ioc_err(ioc, "coredump_state(0x%04x)!\n", fault_code); in mpt3sas_base_coredump_info()
/linux/arch/arm64/kernel/
A Dtraps.c246 unsigned int esr = tsk->thread.fault_code; in arm64_show_signal()
296 current->thread.fault_code = err; in arm64_notify_die()
860 current->thread.fault_code = esr; in bad_el0_sync()
A Dsignal.c586 if (add_all || current->thread.fault_code) { in setup_sigframe_layout()
648 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err); in setup_sigframe()
A Dsignal32.c384 __put_user_error(!!(current->thread.fault_code & ESR_ELx_WNR) << in compat_setup_sigframe()
/linux/arch/arm64/include/asm/
A Dprocessor.h158 unsigned long fault_code; /* ESR_EL1 value */ member
/linux/arch/arm64/mm/
A Dfault.c448 current->thread.fault_code = esr; in set_thread_esr()

Completed in 33 milliseconds