Home
last modified time | relevance | path

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

/Linux-v5.10/arch/sparc/mm/
Dfault_64.c159 int fault_code) in do_fault_siginfo() argument
163 if (fault_code & FAULT_CODE_ITLB) { in do_fault_siginfo()
197 int fault_code, unsigned int insn, in do_kernel_fault() argument
210 if (!(fault_code & (FAULT_CODE_WRITE|FAULT_CODE_ITLB)) && in do_kernel_fault()
244 do_fault_siginfo(si_code, SIGSEGV, regs, address, insn, fault_code); in do_kernel_fault()
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()
[all …]
/Linux-v5.10/tools/testing/selftests/powerpc/mm/
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()
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-v5.10/arch/arm64/kernel/probes/
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-v5.10/drivers/spi/
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-v5.10/drivers/scsi/mpt3sas/
Dmpt3sas_base.h1563 void mpt3sas_base_fault_info(struct MPT3SAS_ADAPTER *ioc , u16 fault_code);
1564 #define mpt3sas_print_fault_code(ioc, fault_code) \ argument
1566 mpt3sas_base_fault_info(ioc, fault_code); } while (0)
1568 void mpt3sas_base_coredump_info(struct MPT3SAS_ADAPTER *ioc, u16 fault_code);
1569 #define mpt3sas_print_coredump_info(ioc, fault_code) \ argument
1571 mpt3sas_base_coredump_info(ioc, fault_code); } while (0)
Dmpt3sas_base.c796 mpt3sas_base_fault_info(struct MPT3SAS_ADAPTER *ioc , u16 fault_code) in mpt3sas_base_fault_info() argument
798 ioc_err(ioc, "fault_state(0x%04x)!\n", fault_code); in mpt3sas_base_fault_info()
809 mpt3sas_base_coredump_info(struct MPT3SAS_ADAPTER *ioc, u16 fault_code) in mpt3sas_base_coredump_info() argument
811 ioc_err(ioc, "coredump_state(0x%04x)!\n", fault_code); in mpt3sas_base_coredump_info()
/Linux-v5.10/arch/arm64/kernel/
Dtraps.c155 unsigned int esr = tsk->thread.fault_code; in arm64_show_signal()
205 current->thread.fault_code = err; in arm64_notify_die()
781 current->thread.fault_code = esr; in bad_el0_sync()
Dsignal.c580 if (add_all || current->thread.fault_code) { in setup_sigframe_layout()
642 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err); in setup_sigframe()
Dsignal32.c388 __put_user_error(!!(current->thread.fault_code & ESR_ELx_WNR) << in compat_setup_sigframe()
/Linux-v5.10/arch/arm64/include/asm/
Dprocessor.h149 unsigned long fault_code; /* ESR_EL1 value */ member
/Linux-v5.10/arch/arm64/mm/
Dfault.c385 current->thread.fault_code = esr; in set_thread_esr()