Home
last modified time | relevance | path

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

/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
H A Dexec_prot.c26 static volatile sig_atomic_t fault_code; variable
33 static bool is_fault_expected(int fault_code) in is_fault_expected() argument
35 if (fault_code == SEGV_ACCERR) in is_fault_expected()
39 if (fault_code == SEGV_PKUERR && pkeys_supported) in is_fault_expected()
56 fault_code = sinfo->si_code; in segv_handler()
72 if (is_fault_expected(fault_code)) { in segv_handler()
93 fault_code = -1; in check_exec_fault()
103 FAIL_IF(!is_fault_expected(fault_code)); in check_exec_fault()
170 fault_code = -1; in test()
175 FAIL_IF(remaining_faults != 0 || !is_fault_expected(fault_code)); in test()
[all …]
H 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()
H 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()
/aosp_15_r20/external/autotest/client/cros/faft/
H A Drpc_functions.py109 def _report_error(self, fault_code, message): argument
121 return xmlrpclib.Fault(fault_code, message)
/aosp_15_r20/external/bcc/libbpf-tools/arm64/
H A Dvmlinux_608.h863 long unsigned int fault_code; member
H A Dvmlinux.h863 long unsigned int fault_code; member
/aosp_15_r20/system/bpf/include/vmlinux/android15_6.6/arm64/
H A Dvmlinux.h2236 unsigned long fault_code; member
/aosp_15_r20/kernel/prebuilts/6.1/arm64/
Dabi.stg88282 name: "fault_code"
Dabi-full.stg88365 name: "fault_code"
/aosp_15_r20/kernel/prebuilts/6.6/arm64/
Dabi.stg91438 name: "fault_code"
Dabi-full.stg93140 name: "fault_code"
/aosp_15_r20/kernel/prebuilts/mainline/arm64/
Dabi-full.stg106409 name: "fault_code"
Dabi.stg106409 name: "fault_code"