Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c233 DEVLINK_TRAP_GENERIC(DROP, TRAP, _id, \
244 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
697 .trap = MLXSW_SP_TRAP_CONTROL(STP, STP, TRAP),
703 .trap = MLXSW_SP_TRAP_CONTROL(LACP, LACP, TRAP),
709 .trap = MLXSW_SP_TRAP_CONTROL(LLDP, LLDP, TRAP),
724 TRAP),
732 TRAP),
740 TRAP),
748 TRAP),
763 TRAP),
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dptrace.h171 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) macro
176 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) macro
191 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) macro
212 return (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && TRAP(regs) == 0x3000); in trap_is_scv()
217 return (trap_is_scv(regs) || TRAP(regs) == 0xc00); in trap_is_syscall()
/kernel/linux/linux-5.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)
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dfault.c199 int is_exec = TRAP(regs) == 0x400; in bad_kernel_fault()
395 int is_exec = TRAP(regs) == 0x400; in __do_page_fault()
571 switch (TRAP(regs)) { in bad_page_fault()
Dpgtable.c32 return current->thread.regs && TRAP(current->thread.regs) == 0x400; in is_exec_fault()
/kernel/linux/linux-5.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()
Dtraps.c224 if (TRAP(regs) == 0x100) in oops_end()
292 if (TRAP(regs) != 0x100) { in die()
1753 hv = (TRAP(regs) == 0xf80); in facility_unavailable_exception()
Dfadump.c731 if (TRAP(&(fdh->regs)) == 0x100) { in crash_fadump()
Dprocess.c1498 trap = TRAP(regs); in show_regs()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dsignum.c16 P_SIGNUM(TRAP); in syscall_arg__scnprintf_signum()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/
Dmmu.c344 if (TRAP(current->thread.regs) != 0x300 && TRAP(current->thread.regs) != 0x400) in update_mmu_cache()
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Dcrash.c339 if (TRAP(regs) == 0x100) in default_machine_crash_shutdown()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c535 cpu, regs->trap, getvecname(TRAP(regs))); in xmon_core()
608 if (TRAP(regs) != 0x100 || !wait_for_other_cpus(ncpus)) in xmon_core()
618 if (bp || TRAP(regs) == 0xd00) in xmon_core()
667 regs->trap, getvecname(TRAP(regs))); in xmon_core()
687 if (bp || TRAP(regs) == 0xd00) in xmon_core()
1704 getvecname(TRAP(&regs))); in xmon_show_stack()
1762 trap = TRAP(fp); in excprint()
1849 trap = TRAP(fp); in prregs()
2237 fault_except = TRAP(regs); in handle_fault()
2238 switch (TRAP(regs)) { in handle_fault()
/kernel/linux/linux-5.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)
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_builtin.c658 if (TRAP(regs) == 0x100) { in kvmppc_bad_interrupt()
662 } else if (TRAP(regs) == 0x200) { in kvmppc_bad_interrupt()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Ddev.c438 DEVLINK_TRAP_GENERIC(EXCEPTION, TRAP, _id, \
446 DEVLINK_TRAP_DRIVER(EXCEPTION, TRAP, NSIM_TRAP_ID_##_id, \
494 NSIM_TRAP_CONTROL(IGMP_V1_REPORT, MC_SNOOPING, TRAP),
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1029 FIXTURE(TRAP) { in FIXTURE() argument
1033 FIXTURE_SETUP(TRAP) in FIXTURE_SETUP() argument
1050 FIXTURE_TEARDOWN(TRAP) in FIXTURE_TEARDOWN() argument
1056 TEST_F_SIGNAL(TRAP, dfl, SIGSYS) in TEST_F_SIGNAL() argument
1069 TEST_F_SIGNAL(TRAP, ign, SIGSYS) in TEST_F_SIGNAL() argument
1091 TEST_F(TRAP, handler) in TEST_F() argument
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcore-book3s.c157 return ((TRAP(regs) == 0xf00) && regs->result); in regs_use_siar()
315 if (TRAP(regs) != 0xf00) in perf_read_regs()
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dhash_utils.c1705 trap = current->thread.regs ? TRAP(current->thread.regs) : 0UL; in update_mmu_cache()