Home
last modified time | relevance | path

Searched refs:TRAP (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c393 DEVLINK_TRAP_GENERIC(DROP, TRAP, _id, \
404 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
860 .trap = MLXSW_SP_TRAP_CONTROL(STP, STP, TRAP),
866 .trap = MLXSW_SP_TRAP_CONTROL(LACP, LACP, TRAP),
872 .trap = MLXSW_SP_TRAP_CONTROL(LLDP, LLDP, TRAP),
887 TRAP),
895 TRAP),
903 TRAP),
911 TRAP),
926 TRAP),
[all …]
/linux-6.12.1/arch/sparc/kernel/
Dttable_64.S27 tl0_privop: TRAP(do_privop)
36 tl0_tof: TRAP(do_tof)
38 tl0_div0: TRAP(do_div0)
83 tl0_paw: TRAP(do_paw)
84 tl0_vaw: TRAP(do_vaw)
136 tl0_divz: TRAP(do_div0)
152 tl0_getpsr: TRAP(do_getpsr)
169 tl0_gsctx: TRAP(sparc64_get_context) TRAP(sparc64_set_context)
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_devlink.c140 DEVLINK_TRAP_DRIVER(CONTROL, TRAP, DEVLINK_PRESTERA_TRAP_ID_##_id, \
146 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
151 DEVLINK_TRAP_DRIVER(EXCEPTION, TRAP, DEVLINK_PRESTERA_TRAP_ID_##_id, \
201 .trap = PRESTERA_TRAP_CONTROL(STP, STP, TRAP),
205 .trap = PRESTERA_TRAP_CONTROL(LACP, LACP, TRAP),
209 .trap = PRESTERA_TRAP_CONTROL(LLDP, LLDP, TRAP),
248 TRAP),
258 TRAP),
/linux-6.12.1/arch/powerpc/include/asm/
Dptrace.h254 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) macro
263 return (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && TRAP(regs) == 0x3000); in trap_is_scv()
268 return IS_ENABLED(CONFIG_PPC_BOOK3S_64) && TRAP(regs) == 0x7ff0; in trap_is_unsupported_scv()
273 return (trap_is_scv(regs) || TRAP(regs) == 0xc00); in trap_is_syscall()
Dinterrupt.h84 if ((user_mode(regs) || (TRAP(regs) != INTERRUPT_PROGRAM))) \
191 if (TRAP(regs) != INTERRUPT_PROGRAM) in interrupt_enter_prepare()
268 if (TRAP(regs) == INTERRUPT_DECREMENTER) in nmi_disables_ftrace()
270 if (TRAP(regs) == INTERRUPT_PERFMON) in nmi_disables_ftrace()
274 if (TRAP(regs) == INTERRUPT_PERFMON) in nmi_disables_ftrace()
/linux-6.12.1/arch/arc/kernel/
Dentry.S189 ; Breakpoint TRAP
211 ; syscall TRAP
223 ;============ TRAP N : breakpoints, kprobes etc
227 ;============ TRAP 0 (no param): syscall
/linux-6.12.1/arch/powerpc/kernel/
Dinterrupt.c110 trap = TRAP(regs); in check_return_regs_valid()
387 TRAP(regs) != INTERRUPT_PROGRAM && in interrupt_exit_kernel_prepare()
388 TRAP(regs) != INTERRUPT_PERFMON) in interrupt_exit_kernel_prepare()
Dkgdb.c134 return !kgdb_handle_exception(1, computeSignal(TRAP(regs)), in kgdb_debugger()
167 if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0) in kgdb_iabr_match()
177 if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0) in kgdb_break_match()
Dtraps.c225 if (TRAP(regs) == INTERRUPT_SYSTEM_RESET) in oops_end()
293 if (TRAP(regs) != INTERRUPT_SYSTEM_RESET) { in die()
1762 hv = (TRAP(regs) == INTERRUPT_H_FAC_UNAVAIL); in DEFINE_INTERRUPT_HANDLER()
Dfadump.c734 if (TRAP(&(fdh->regs)) == INTERRUPT_SYSTEM_RESET) { in crash_fadump()
Dprocess.c1568 trap = TRAP(regs); in __show_regs()
/linux-6.12.1/arch/powerpc/mm/
Dfault.c202 int is_exec = TRAP(regs) == INTERRUPT_INST_STORAGE; in bad_kernel_fault()
419 int is_exec = TRAP(regs) == INTERRUPT_INST_STORAGE; in ___do_page_fault()
618 switch (TRAP(regs)) { in __bad_page_fault()
Dpgtable.c41 return current->thread.regs && TRAP(current->thread.regs) == 0x400; in is_exec_fault()
/linux-6.12.1/tools/perf/trace/beauty/
Dsignum.c16 P_SIGNUM(TRAP); in syscall_arg__scnprintf_signum()
/linux-6.12.1/arch/powerpc/mm/book3s32/
Dmmu.c339 if (TRAP(current->thread.regs) != 0x300 && TRAP(current->thread.regs) != 0x400) in __update_mmu_cache()
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c534 cpu, regs->trap, getvecname(TRAP(regs))); in xmon_core()
607 if (TRAP(regs) != INTERRUPT_SYSTEM_RESET || !wait_for_other_cpus(ncpus)) in xmon_core()
617 if (bp || TRAP(regs) == INTERRUPT_TRACE) in xmon_core()
669 regs->trap, getvecname(TRAP(regs))); in xmon_core()
689 if (bp || TRAP(regs) == INTERRUPT_TRACE) in xmon_core()
1791 getvecname(TRAP(&regs))); in xmon_show_stack()
1849 trap = TRAP(fp); in excprint()
1930 trap = TRAP(fp); in prregs()
2326 fault_except = TRAP(regs); in handle_fault()
2327 switch (TRAP(regs)) { in handle_fault()
/linux-6.12.1/arch/sparc/include/asm/
Dttable.h25 #define TRAP(routine) \ macro
120 #define GETCC_TRAP TRAP(getcc)
121 #define SETCC_TRAP TRAP(setcc)
122 #define BREAKPOINT_TRAP TRAP(breakpoint_trap)
/linux-6.12.1/arch/powerpc/kexec/
Dcrash.c359 if (TRAP(regs) == INTERRUPT_SYSTEM_RESET) in default_machine_crash_shutdown()
/linux-6.12.1/drivers/net/netdevsim/
Ddev.c679 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
687 DEVLINK_TRAP_DRIVER(EXCEPTION, TRAP, NSIM_TRAP_ID_##_id, \
735 NSIM_TRAP_CONTROL(IGMP_V1_REPORT, MC_SNOOPING, TRAP),
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_utils.c1727 if (TRAP(regs) == INTERRUPT_INST_STORAGE) in DEFINE_INTERRUPT_HANDLER()
1730 err = hash_page_mm(mm, ea, access, TRAP(regs), flags); in DEFINE_INTERRUPT_HANDLER()
1877 trap = current->thread.regs ? TRAP(current->thread.regs) : 0UL; in __update_mmu_cache()
/linux-6.12.1/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1048 FIXTURE(TRAP) { in FIXTURE() argument
1052 FIXTURE_SETUP(TRAP) in FIXTURE_SETUP() argument
1069 FIXTURE_TEARDOWN(TRAP) in FIXTURE_TEARDOWN() argument
1075 TEST_F_SIGNAL(TRAP, dfl, SIGSYS) in TEST_F_SIGNAL() argument
1088 TEST_F_SIGNAL(TRAP, ign, SIGSYS) in TEST_F_SIGNAL() argument
1110 TEST_F(TRAP, handler) in TEST_F() argument
/linux-6.12.1/arch/powerpc/perf/
Dcore-book3s.c173 return ((TRAP(regs) == INTERRUPT_PERFMON) && regs->result); in regs_use_siar()
352 if (TRAP(regs) != INTERRUPT_PERFMON) in perf_read_regs()