Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c393 DEVLINK_TRAP_GENERIC(DROP, TRAP, _id, \
404 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
852 .trap = MLXSW_SP_TRAP_CONTROL(STP, STP, TRAP),
858 .trap = MLXSW_SP_TRAP_CONTROL(LACP, LACP, TRAP),
864 .trap = MLXSW_SP_TRAP_CONTROL(LLDP, LLDP, TRAP),
879 TRAP),
887 TRAP),
895 TRAP),
903 TRAP),
918 TRAP),
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/arch/powerpc/include/asm/
Dptrace.h235 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) macro
244 return (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && TRAP(regs) == 0x3000); in trap_is_scv()
249 return IS_ENABLED(CONFIG_PPC_BOOK3S_64) && TRAP(regs) == 0x7ff0; in trap_is_unsupported_scv()
254 return (trap_is_scv(regs) || TRAP(regs) == 0xc00); in trap_is_syscall()
Dinterrupt.h196 if (TRAP(regs) != INTERRUPT_PROGRAM) { in interrupt_enter_prepare()
278 if (TRAP(regs) == INTERRUPT_DECREMENTER) in nmi_disables_ftrace()
280 if (TRAP(regs) == INTERRUPT_PERFMON) in nmi_disables_ftrace()
284 if (TRAP(regs) == INTERRUPT_PERFMON) in nmi_disables_ftrace()
/linux-5.19.10/arch/powerpc/kernel/
Dkgdb.c137 return !kgdb_handle_exception(1, computeSignal(TRAP(regs)), in kgdb_debugger()
170 if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0) in kgdb_iabr_match()
180 if (kgdb_handle_exception(0, computeSignal(TRAP(regs)), 0, regs) != 0) in kgdb_break_match()
Dinterrupt.c268 trap = TRAP(regs); in check_return_regs_valid()
541 if (TRAP(regs) != INTERRUPT_PROGRAM) in interrupt_exit_kernel_prepare()
Dtraps.c224 if (TRAP(regs) == INTERRUPT_SYSTEM_RESET) in oops_end()
292 if (TRAP(regs) != INTERRUPT_SYSTEM_RESET) { in die()
1717 hv = (TRAP(regs) == INTERRUPT_H_FAC_UNAVAIL); in DEFINE_INTERRUPT_HANDLER()
Dfadump.c743 if (TRAP(&(fdh->regs)) == INTERRUPT_SYSTEM_RESET) { in crash_fadump()
Dprocess.c1528 trap = TRAP(regs); in __show_regs()
/linux-5.19.10/arch/powerpc/mm/
Dfault.c200 int is_exec = TRAP(regs) == INTERRUPT_INST_STORAGE; in bad_kernel_fault()
392 int is_exec = TRAP(regs) == INTERRUPT_INST_STORAGE; in ___do_page_fault()
578 switch (TRAP(regs)) { in __bad_page_fault()
Dpgtable.c41 return current->thread.regs && TRAP(current->thread.regs) == 0x400; in is_exec_fault()
/linux-5.19.10/tools/perf/trace/beauty/
Dsignum.c16 P_SIGNUM(TRAP); in syscall_arg__scnprintf_signum()
/linux-5.19.10/arch/powerpc/mm/book3s32/
Dmmu.c336 if (TRAP(current->thread.regs) != 0x300 && TRAP(current->thread.regs) != 0x400) in update_mmu_cache()
/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_hv_builtin.c499 if (TRAP(regs) == 0x100) { in kvmppc_bad_interrupt()
503 } else if (TRAP(regs) == 0x200) { in kvmppc_bad_interrupt()
/linux-5.19.10/arch/powerpc/kexec/
Dcrash.c339 if (TRAP(regs) == INTERRUPT_SYSTEM_RESET) in default_machine_crash_shutdown()
/linux-5.19.10/arch/powerpc/xmon/
Dxmon.c535 cpu, regs->trap, getvecname(TRAP(regs))); in xmon_core()
608 if (TRAP(regs) != INTERRUPT_SYSTEM_RESET || !wait_for_other_cpus(ncpus)) in xmon_core()
618 if (bp || TRAP(regs) == INTERRUPT_TRACE) in xmon_core()
672 regs->trap, getvecname(TRAP(regs))); in xmon_core()
692 if (bp || TRAP(regs) == INTERRUPT_TRACE) in xmon_core()
1795 getvecname(TRAP(&regs))); in xmon_show_stack()
1853 trap = TRAP(fp); in excprint()
1934 trap = TRAP(fp); in prregs()
2330 fault_except = TRAP(regs); in handle_fault()
2331 switch (TRAP(regs)) { in handle_fault()
/linux-5.19.10/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-5.19.10/arch/powerpc/mm/book3s64/
Dhash_utils.c1657 if (TRAP(regs) == INTERRUPT_INST_STORAGE) in DEFINE_INTERRUPT_HANDLER()
1660 err = hash_page_mm(mm, ea, access, TRAP(regs), flags); in DEFINE_INTERRUPT_HANDLER()
1810 trap = current->thread.regs ? TRAP(current->thread.regs) : 0UL; in update_mmu_cache()
/linux-5.19.10/drivers/net/netdevsim/
Ddev.c673 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
681 DEVLINK_TRAP_DRIVER(EXCEPTION, TRAP, NSIM_TRAP_ID_##_id, \
729 NSIM_TRAP_CONTROL(IGMP_V1_REPORT, MC_SNOOPING, TRAP),
/linux-5.19.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1040 FIXTURE(TRAP) { in FIXTURE() argument
1044 FIXTURE_SETUP(TRAP) in FIXTURE_SETUP() argument
1061 FIXTURE_TEARDOWN(TRAP) in FIXTURE_TEARDOWN() argument
1067 TEST_F_SIGNAL(TRAP, dfl, SIGSYS) in TEST_F_SIGNAL() argument
1080 TEST_F_SIGNAL(TRAP, ign, SIGSYS) in TEST_F_SIGNAL() argument
1102 TEST_F(TRAP, handler) in TEST_F() argument
/linux-5.19.10/arch/powerpc/perf/
Dcore-book3s.c173 return ((TRAP(regs) == INTERRUPT_PERFMON) && regs->result); in regs_use_siar()
359 if (TRAP(regs) != INTERRUPT_PERFMON) in perf_read_regs()