/linux-6.12.1/arch/powerpc/kernel/ |
D | head_32.h | 13 .macro EXCEPTION_PROLOG trapno name handle_dar_dsisr=0 16 EXCEPTION_PROLOG_2 \trapno \name handle_dar_dsisr=\handle_dar_dsisr 51 .macro EXCEPTION_PROLOG_2 trapno name handle_dar_dsisr=0 97 COMMON_EXCEPTION_PROLOG_END \trapno 101 .macro COMMON_EXCEPTION_PROLOG_END trapno 106 li r10, \trapno 138 .macro SYSCALL_ENTRY trapno
|
D | head_booke.h | 48 #define NORMAL_EXCEPTION_PROLOG(trapno, intno) \ 82 COMMON_EXCEPTION_PROLOG_END trapno 84 .macro COMMON_EXCEPTION_PROLOG_END trapno 89 li r10, \trapno 115 .macro SYSCALL_ENTRY trapno intno srr1 192 #define EXC_LEVEL_EXCEPTION_PROLOG(exc_level, trapno, intno, exc_level_srr0, exc_level_srr1) \ 235 COMMON_EXCEPTION_PROLOG_END trapno 267 #define CRITICAL_EXCEPTION_PROLOG(trapno, intno) \ 268 EXC_LEVEL_EXCEPTION_PROLOG(CRIT, trapno+2, intno, SPRN_CSRR0, SPRN_CSRR1) 269 #define DEBUG_EXCEPTION_PROLOG(trapno) \ [all …]
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | entry_from_vm86.c | 152 int trapno = VM86_ARG(ret); in do_test() local 153 if (trapno == 13) in do_test() 155 else if (trapno == 5) in do_test() 157 else if (trapno == 14) in do_test() 160 sprintf(trapname, "%d", trapno); in do_test()
|
/linux-6.12.1/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 215 __u32 trapno; member 262 __u64 trapno; member 313 __u32 trapno; member 377 __u64 trapno; member
|
/linux-6.12.1/arch/x86/kernel/ |
D | vm86_32.c | 528 int handle_vm86_trap(struct kernel_vm86_regs *regs, long error_code, int trapno) in handle_vm86_trap() argument 533 if ((trapno == 3) || (trapno == 1)) { in handle_vm86_trap() 534 save_v86_state(regs, VM86_TRAP + (trapno << 8)); in handle_vm86_trap() 537 do_int(regs, trapno, (unsigned char __user *) (regs->pt.ss << 4), SP(regs)); in handle_vm86_trap() 540 if (trapno != 1) in handle_vm86_trap() 542 current->thread.trap_nr = trapno; in handle_vm86_trap()
|
D | signal_32.c | 206 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()
|
D | signal_64.c | 119 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext()
|
/linux-6.12.1/include/linux/sched/ |
D | signal.h | 320 int force_sig_fault_trapno(int sig, int code, void __user *addr, int trapno); 321 int send_sig_fault_trapno(int sig, int code, void __user *addr, int trapno,
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | protection_keys.c | 309 int trapno; in signal_handler() local 327 trapno = MCONTEXT_TRAPNO(uctxt->uc_mcontext); in signal_handler() 334 __func__, trapno, ip, si_code_str(si->si_code), in signal_handler()
|
/linux-6.12.1/arch/x86/um/ |
D | signal.c | 276 sc.trapno = fi->trap_no; in copy_sc_to_user()
|
/linux-6.12.1/kernel/ |
D | signal.c | 1875 int force_sig_fault_trapno(int sig, int code, void __user *addr, int trapno) in force_sig_fault_trapno() argument 1884 info.si_trapno = trapno; in force_sig_fault_trapno() 1891 int send_sig_fault_trapno(int sig, int code, void __user *addr, int trapno, in send_sig_fault_trapno() argument 1901 info.si_trapno = trapno; in send_sig_fault_trapno()
|