/tools/testing/selftests/arm64/signal/ |
D | test_signals_utils.c | 86 siginfo_t *si, void *uc) in handle_signal_unsupported() argument 108 siginfo_t *si, void *uc) in handle_signal_trigger() argument 112 td->run(td, si, uc); in handle_signal_trigger() 118 siginfo_t *si, void *uc) in handle_signal_ok() argument 128 si->si_addr, si->si_code, td->token, td->token - si->si_addr); in handle_signal_ok() 146 if (td->sig_ok == SIGSEGV && si->si_code != SEGV_ACCERR) { in handle_signal_ok() 164 siginfo_t *si, void *uc) in handle_signal_copyctx() argument 177 static void default_handler(int signum, siginfo_t *si, void *uc) in default_handler() argument 180 handle_signal_unsupported(current, si, uc)) { in default_handler() 183 handle_signal_trigger(current, si, uc)) { in default_handler() [all …]
|
/tools/testing/selftests/x86/ |
D | check_initial_reg_state.c | 11 unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; variable 63 if (ax || bx || cx || dx || si || di || bp in main() 74 SHOW(si); in main()
|
D | ptrace_syscall.c | 86 siginfo_t si; in wait_trap() local 87 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap() 89 if (si.si_pid != chld) in wait_trap() 91 if (si.si_code != CLD_TRAPPED) in wait_trap() 92 errx(1, "got unexpected event type %d\n", si.si_code); in wait_trap() 93 return si; in wait_trap() 135 static void empty_handler(int sig, siginfo_t *si, void *ctx_void) in empty_handler() argument
|
D | mov_ss_trap.c | 116 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap() argument 125 static void handle_and_return(int sig, siginfo_t *si, void *ctx_void) in handle_and_return() argument 133 static void handle_and_longjmp(int sig, siginfo_t *si, void *ctx_void) in handle_and_longjmp() argument
|
/tools/testing/selftests/filesystems/ |
D | dnotify_test.c | 11 static void handler(int sig, siginfo_t *si, void *data) in handler() argument 13 event_fd = si->si_fd; in handler()
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-syscall.c | 43 siginfo_t si; in wait_trap() local 45 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap() 47 if (si.si_pid != chld) in wait_trap() 49 if (si.si_code != CLD_TRAPPED) in wait_trap() 50 errx(1, "got unexpected event type %d\n", si.si_code); in wait_trap()
|
/tools/testing/selftests/arm64/signal/testcases/ |
D | sve_regs.c | 55 static int do_one_sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sve_vl() argument 97 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs() argument 110 if (do_one_sve_vl(td, si, uc, vls[i])) in sve_regs()
|
D | mangle_pstate_invalid_compat_toggle.c | 13 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run() argument
|
D | fake_sigreturn_misaligned_sp.c | 19 siginfo_t *si, ucontext_t *uc) in fake_sigreturn_misaligned_run() argument
|
D | mangle_pstate_invalid_daif_bits.c | 14 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run() argument
|
D | mangle_pstate_invalid_mode_template.h | 10 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, \
|
D | fake_sigreturn_bad_size_for_magic0.c | 19 siginfo_t *si, ucontext_t *uc) in fake_sigreturn_bad_size_for_magic0_run() argument
|
D | fake_sigreturn_duplicated_fpsimd.c | 19 siginfo_t *si, ucontext_t *uc) in fake_sigreturn_duplicated_fpsimd_run() argument
|
D | fake_sigreturn_bad_magic.c | 19 siginfo_t *si, ucontext_t *uc) in fake_sigreturn_bad_magic_run() argument
|
D | fake_sigreturn_missing_fpsimd.c | 20 siginfo_t *si, ucontext_t *uc) in fake_sigreturn_missing_fpsimd_run() argument
|
D | sve_vl.c | 30 static int sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_vl() argument
|
/tools/testing/selftests/powerpc/include/ |
D | pkeys.h | 95 int siginfo_pkey(siginfo_t *si) in siginfo_pkey() argument 102 return si->si_pkey; in siginfo_pkey() 104 return *((int *)(((char *) si) + SI_PKEY_OFFSET)); in siginfo_pkey()
|
/tools/testing/selftests/arm64/mte/ |
D | mte_common_util.c | 28 void mte_default_handler(int signum, siginfo_t *si, void *uc) in mte_default_handler() argument 30 unsigned long addr = (unsigned long)si->si_addr; in mte_default_handler() 35 ((ucontext_t *)uc)->uc_mcontext.pc, addr, si->si_code); in mte_default_handler() 37 if (si->si_code == SEGV_MTEAERR) { in mte_default_handler() 38 if (cur_mte_cxt.trig_si_code == si->si_code) in mte_default_handler() 43 else if (si->si_code == SEGV_MTESERR) { in mte_default_handler() 44 if (cur_mte_cxt.trig_si_code == si->si_code && in mte_default_handler() 64 ((ucontext_t *)uc)->uc_mcontext.pc, addr, si->si_code); in mte_default_handler()
|
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | EventClass.py | 60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 67 self.si = si
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-force-tm.c | 50 void usr_signal_handler(int signo, siginfo_t *si, void *uc) in usr_signal_handler() argument 100 void seg_signal_handler(int signo, siginfo_t *si, void *uc) in seg_signal_handler() argument
|
D | tm-signal-sigreturn-nt.c | 20 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() argument
|
D | tm-trap.c | 61 void trap_signal_handler(int signo, siginfo_t *si, void *uc) in trap_signal_handler() argument 179 void usr1_signal_handler(int signo, siginfo_t *si, void *not_used) in usr1_signal_handler() argument
|
/tools/testing/selftests/vm/ |
D | pkey-helpers.h | 189 static inline u32 *siginfo_get_pkey_ptr(siginfo_t *si) in siginfo_get_pkey_ptr() argument 192 return &si->si_pkey; in siginfo_get_pkey_ptr() 194 return (u32 *)(((u8 *)si) + si_pkey_offset); in siginfo_get_pkey_ptr()
|
/tools/testing/selftests/arm64/fp/ |
D | sve-ptrace.c | 141 siginfo_t si; in do_parent() local 177 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &si)) { in do_parent() 191 if (sig == SIGSTOP && si.si_code == SI_TKILL && in do_parent() 192 si.si_pid == pid) in do_parent()
|
/tools/testing/selftests/sigaltstack/ |
D | sas.c | 43 void my_usr1(int sig, siginfo_t *si, void *u) in my_usr1() argument 80 void my_usr2(int sig, siginfo_t *si, void *u) in my_usr2() argument
|