Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/kernel/
Dhead_32.h13 .macro EXCEPTION_PROLOG trapno name handle_dar_dsisr=0
16 EXCEPTION_PROLOG_2 \trapno \name handle_dar_dsisr=\handle_dar_dsisr
59 .macro EXCEPTION_PROLOG_2 trapno name handle_dar_dsisr=0
107 COMMON_EXCEPTION_PROLOG_END \trapno
111 .macro COMMON_EXCEPTION_PROLOG_END trapno
116 li r10, \trapno
148 .macro SYSCALL_ENTRY trapno
Dhead_booke.h48 #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
193 #define EXC_LEVEL_EXCEPTION_PROLOG(exc_level, trapno, intno, exc_level_srr0, exc_level_srr1) \
236 COMMON_EXCEPTION_PROLOG_END trapno
268 #define CRITICAL_EXCEPTION_PROLOG(trapno, intno) \
269 EXC_LEVEL_EXCEPTION_PROLOG(CRIT, trapno+2, intno, SPRN_CSRR0, SPRN_CSRR1)
270 #define DEBUG_EXCEPTION_PROLOG(trapno) \
[all …]
Dhead_40x.S109 .macro CRITICAL_EXCEPTION_PROLOG trapno name
162 COMMON_EXCEPTION_PROLOG_END \trapno + 2
/linux-6.6.21/tools/testing/selftests/x86/
Dentry_from_vm86.c152 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.6.21/arch/x86/include/uapi/asm/
Dsigcontext.h215 __u32 trapno; member
262 __u64 trapno; member
313 __u32 trapno; member
377 __u64 trapno; member
/linux-6.6.21/arch/x86/kernel/
Dvm86_32.c528 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()
Dsignal_32.c206 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext32()
Dsignal_64.c119 unsafe_put_user(current->thread.trap_nr, &sc->trapno, Efault); in __unsafe_setup_sigcontext()
/linux-6.6.21/include/linux/sched/
Dsignal.h329 int force_sig_fault_trapno(int sig, int code, void __user *addr, int trapno);
330 int send_sig_fault_trapno(int sig, int code, void __user *addr, int trapno,
/linux-6.6.21/tools/testing/selftests/mm/
Dprotection_keys.c315 int trapno; in signal_handler() local
331 trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; in signal_handler()
336 __func__, trapno, ip, si_code_str(si->si_code), in signal_handler()
/linux-6.6.21/arch/x86/um/
Dsignal.c275 sc.trapno = fi->trap_no; in copy_sc_to_user()
/linux-6.6.21/kernel/
Dsignal.c1891 int force_sig_fault_trapno(int sig, int code, void __user *addr, int trapno) in force_sig_fault_trapno() argument
1900 info.si_trapno = trapno; in force_sig_fault_trapno()
1907 int send_sig_fault_trapno(int sig, int code, void __user *addr, int trapno, in send_sig_fault_trapno() argument
1917 info.si_trapno = trapno; in send_sig_fault_trapno()