/linux/tools/testing/selftests/x86/ |
A D | syscall_arg_fault.c | 47 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_or_sigbus() 72 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap() 89 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigill()
|
A D | sysret_rip.c | 71 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_for_sigreturn_test() 87 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr1() 115 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigsegv_for_fallthrough()
|
A D | sigreturn.c | 304 static unsigned short *ssptr(ucontext_t *ctx) in ssptr() 310 static unsigned short *csptr(ucontext_t *ctx) in csptr() 320 static greg_t *ssptr(ucontext_t *ctx) in ssptr() 325 static greg_t *csptr(ucontext_t *ctx) in csptr() 391 static void validate_signal_ss(int sig, ucontext_t *ctx) in validate_signal_ss() 437 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr1() 477 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap() 522 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigusr2()
|
A D | single_step_syscall.c | 73 ucontext_t *ctx = (ucontext_t*)ctx_void; in sigtrap() 100 ucontext_t *ctx = ctx_void; in print_and_longjmp()
|
A D | mov_ss_trap.c | 118 ucontext_t *ctx = ctx_void; in sigtrap() 127 ucontext_t *ctx = ctx_void; in handle_and_return() 135 ucontext_t *ctx = ctx_void; in handle_and_longjmp()
|
A D | test_vsyscall.c | 187 ucontext_t *ctx = (ucontext_t *)ctx_void; in sigsegv() 520 ucontext_t *ctx = (ucontext_t *)ctx_void; in sigtrap()
|
A D | unwind_vdso.c | 109 ucontext_t *ctx = (ucontext_t *)ctx_void; in sigtrap()
|
/linux/tools/testing/selftests/powerpc/signal/ |
A D | sigfuz.c | 62 static ucontext_t *tmp_uc; 91 ucontext_t *ucp = uc; in trap_signal_handler() 102 memset(ucp->uc_link, rand(), sizeof(ucontext_t)); in trap_signal_handler() 104 memcpy(ucp->uc_link, uc, sizeof(ucontext_t)); in trap_signal_handler() 110 tmp_uc = malloc(sizeof(ucontext_t)); in trap_signal_handler() 113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in trap_signal_handler() 205 tmp_uc = malloc(sizeof(ucontext_t)); in sigfuz_test()
|
/linux/tools/testing/selftests/powerpc/tm/ |
A D | tm-signal-context-force-tm.c | 45 ucontext_t init_context; 52 ucontext_t *ucp = uc; in usr_signal_handler() 60 ucp->uc_link = mmap(NULL, sizeof(ucontext_t), in usr_signal_handler() 69 ret = madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in usr_signal_handler()
|
A D | tm-signal-sigreturn-nt.c | 22 ucontext_t *ucp = (ucontext_t *) uc; in trap_signal_handler()
|
A D | tm-signal-context-chk-fpu.c | 50 ucontext_t *ucp = uc; in signal_usr1() 51 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
|
A D | tm-signal-context-chk-gpr.c | 52 ucontext_t *ucp = uc; in signal_usr1() 53 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
|
A D | tm-signal-context-chk-vmx.c | 59 ucontext_t *ucp = uc; in signal_usr1() 60 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
|
A D | tm-signal-context-chk-vsx.c | 62 ucontext_t *ucp = uc; in signal_usr1() 63 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1()
|
/linux/tools/testing/selftests/arm64/signal/ |
A D | test_signals.h | 76 ucontext_t saved_uc; 79 ucontext_t *live_uc; 96 int (*run)(struct tdescr *td, siginfo_t *si, ucontext_t *uc);
|
A D | test_signals_utils.c | 92 ((ucontext_t *)uc)->uc_mcontext.pc += 4; in handle_signal_unsupported() 127 ((ucontext_t *)uc)->uc_mcontext.sp, in handle_signal_ok() 167 ((ucontext_t *)uc)->uc_mcontext.pc += 4; in handle_signal_copyctx()
|
/linux/tools/testing/selftests/powerpc/mm/ |
A D | segv_errors.c | 27 ucontext_t *ctxt = (ucontext_t *)ctxt_v; in segv_handler()
|
A D | subpage_prot.c | 39 ucontext_t *ctxt = (ucontext_t *)ctxt_v; in segv()
|
/linux/tools/testing/selftests/powerpc/security/ |
A D | flush_utils.c | 54 ucontext_t *ctx = (ucontext_t *)unused; in sigill_handler()
|
/linux/tools/testing/selftests/arm64/signal/testcases/ |
A D | testcases.h | 75 ucontext_t uc; 79 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err);
|
A 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() 97 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs()
|
/linux/tools/testing/selftests/arm64/mte/ |
A D | mte_common_util.c | 35 ((ucontext_t *)uc)->uc_mcontext.pc, addr, si->si_code); in mte_default_handler() 53 ((ucontext_t *)uc)->uc_mcontext.pc += 4; in mte_default_handler() 64 ((ucontext_t *)uc)->uc_mcontext.pc, addr, si->si_code); in mte_default_handler() 73 ((ucontext_t *)uc)->uc_mcontext.pc += 4; in mte_default_handler()
|
/linux/tools/testing/selftests/powerpc/primitives/ |
A D | load_unaligned_zeropad.c | 71 ucontext_t *uc = (ucontext_t *)ptr; in segv_handler()
|
/linux/tools/testing/selftests/powerpc/copyloops/ |
A D | exc_validate.c | 23 ucontext_t *uc = (ucontext_t *)ptr; in segv_handler()
|
/linux/tools/testing/selftests/arm64/bti/ |
A D | test.c | 16 typedef struct ucontext ucontext_t; typedef 80 ucontext_t *uc = uc_; in handler()
|