Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 25 of 184) sorted by relevance

12345678

/Linux-v5.10/arch/m68k/68000/
Dromvec.S15 .global trap
21 .long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap
22 .long trap, trap, trap, trap
23 .long trap, trap, trap, trap
24 .long trap, trap, trap, trap
25 .long trap, trap, trap, trap
26 .long trap, trap, trap, trap
27 .long trap, trap, trap, trap
28 .long trap, trap, trap, trap
30 .long system_call, trap, trap, trap
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c30 struct devlink_trap trap; member
480 .trap = MLXSW_SP_TRAP_DROP(SMAC_MC, L2_DROPS),
486 .trap = MLXSW_SP_TRAP_DROP(VLAN_TAG_MISMATCH, L2_DROPS),
493 .trap = MLXSW_SP_TRAP_DROP(INGRESS_VLAN_FILTER, L2_DROPS),
499 .trap = MLXSW_SP_TRAP_DROP(INGRESS_STP_FILTER, L2_DROPS),
505 .trap = MLXSW_SP_TRAP_DROP(EMPTY_TX_LIST, L2_DROPS),
512 .trap = MLXSW_SP_TRAP_DROP(PORT_LOOPBACK_FILTER, L2_DROPS),
518 .trap = MLXSW_SP_TRAP_DROP(BLACKHOLE_ROUTE, L3_DROPS),
524 .trap = MLXSW_SP_TRAP_DROP(NON_IP_PACKET, L3_DROPS),
531 .trap = MLXSW_SP_TRAP_DROP(UC_DIP_MC_DMAC, L3_DROPS),
[all …]
/Linux-v5.10/arch/powerpc/include/asm/
Dptrace.h44 unsigned long trap; member
186 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK)
191 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK)
192 #define FULL_REGS(regs) (((regs)->trap & 1) == 0)
193 #define SET_FULL_REGS(regs) ((regs)->trap |= 1)
206 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK)
207 #define FULL_REGS(regs) (((regs)->trap & 1) == 0)
208 #define SET_FULL_REGS(regs) ((regs)->trap |= 1)
209 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
210 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
[all …]
Dtrace.h169 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap),
170 TP_ARGS(addr, access, trap),
174 __field(unsigned long, trap)
180 __entry->trap = trap;
184 __entry->addr, __entry->access, __entry->trap)
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv50.c143 u32 trap[6], idx, inst; in nv50_fb_intr() local
155 trap[i] = nvkm_rd32(device, 0x100c94); in nv50_fb_intr()
162 st0 = (trap[0] & 0x0000000f) >> 0; in nv50_fb_intr()
163 st1 = (trap[0] & 0x000000f0) >> 4; in nv50_fb_intr()
164 st2 = (trap[0] & 0x00000f00) >> 8; in nv50_fb_intr()
165 st3 = (trap[0] & 0x0000f000) >> 12; in nv50_fb_intr()
167 st0 = (trap[0] & 0x000000ff) >> 0; in nv50_fb_intr()
168 st1 = (trap[0] & 0x0000ff00) >> 8; in nv50_fb_intr()
169 st2 = (trap[0] & 0x00ff0000) >> 16; in nv50_fb_intr()
170 st3 = (trap[0] & 0xff000000) >> 24; in nv50_fb_intr()
[all …]
/Linux-v5.10/arch/m68k/ifpsp060/
Dfskeleton.S83 bral trap | jump to trap handler
102 bral trap | jump to trap handler
121 bral trap | jump to trap handler
140 bral trap | jump to trap handler
159 bral trap | jump to trap handler
178 bral trap | jump to trap handler
200 bral trap | jump to trap handler
214 bral trap | jump to trap handler
246 | discovers that the trap condition is true and it should branch to the operating
247 | system handler for the trap exception vector number 7.
[all …]
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dmad.c125 static void cleanup_traps(struct hfi1_ibport *ibp, struct trap_node *trap) in cleanup_traps() argument
144 if (node != trap) in cleanup_traps()
153 kfree(trap); in cleanup_traps()
157 struct trap_node *trap) in check_and_add_trap() argument
167 queue_id = trap->data.generic_type & 0x0F; in check_and_add_trap()
171 trap->data.generic_type, trap_count); in check_and_add_trap()
172 kfree(trap); in check_and_add_trap()
184 if (node == trap) { in check_and_add_trap()
195 list_add_tail(&trap->list, &trap_list->list); in check_and_add_trap()
198 trap->data.generic_type); in check_and_add_trap()
[all …]
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dhash_utils.c1136 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument
1147 if (trap == 0x400) { in hash_page_do_lazy_icache()
1252 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
1260 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
1287 unsigned long access, unsigned long trap, in hash_page_mm() argument
1300 ea, access, trap); in hash_page_mm()
1301 trace_hash_fault(ea, access, trap); in hash_page_mm()
1398 trap, flags, ssize, psize); in hash_page_mm()
1401 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1462 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm()
[all …]
Dhash_64k.c37 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_4K() argument
84 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
211 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K()
224 unsigned long vsid, pte_t *ptep, unsigned long trap, in __hash_page_64K() argument
268 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_64K()
323 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_64K()
Dhash_4k.c20 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_4K() argument
62 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
115 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K()
Dhash_hugepage.c22 pmd_t *pmdp, unsigned long trap, unsigned long flags, in __hash_page_thp() argument
69 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_thp()
166 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_thp()
Dhash_hugetlbpage.c24 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_huge() argument
85 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
115 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
/Linux-v5.10/arch/m68k/coldfire/
Dvectors.c39 asmlinkage void trap(void);
54 _ramvec[i] = trap; in trap_init()
56 _ramvec[i] = trap; in trap_init()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c1179 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
1181 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
1182 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
1183 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
1184 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
1186 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
1190 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
1191 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
1263 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
1264 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
[all …]
/Linux-v5.10/Documentation/networking/devlink/
Ddevlink-trap.rst31 The ``devlink-trap`` mechanism allows capable device drivers to register their
35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and
37 event along with all the provided metadata (e.g., trap reason, timestamp, input
42 The following diagram provides a general overview of ``devlink-trap``::
89 The ``devlink-trap`` mechanism supports the following packet trap types:
93 The trap action (see :ref:`Trap-Actions`) can be changed.
112 The ``devlink-trap`` mechanism supports the following packet trap actions:
114 * ``trap``: The sole copy of the packet is sent to the CPU.
123 Generic packet traps are used to describe traps that trap well-defined packets
361 IP address with a link-local scope (i.e., fe80::/10). The trap allows
[all …]
/Linux-v5.10/fs/overlayfs/
Dinode.c863 struct inode *trap; in ovl_lookup_trap_inode() local
866 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode()
867 if (!trap) in ovl_lookup_trap_inode()
870 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
871 !ovl_inode_lower(trap); in ovl_lookup_trap_inode()
873 iput(trap); in ovl_lookup_trap_inode()
885 struct inode *trap; in ovl_get_trap_inode() local
890 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode()
892 if (!trap) in ovl_get_trap_inode()
895 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode()
[all …]
/Linux-v5.10/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h457 unsigned long vsid, pte_t *ptep, unsigned long trap,
460 unsigned long vsid, pte_t *ptep, unsigned long trap,
463 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap);
465 unsigned long access, unsigned long trap,
467 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
470 pte_t *ptep, unsigned long trap, unsigned long flags,
474 unsigned long vsid, pmd_t *pmdp, unsigned long trap,
479 unsigned long trap, unsigned long flags, in __hash_page_thp() argument
487 unsigned long vsid, unsigned long trap,
/Linux-v5.10/Documentation/sparc/
Dadi.rst103 the corresponding cacheline, a memory corruption trap occurs. By
104 default, it is a disrupting trap and is sent to the hypervisor
106 resumable error (TT=0x7e) trap to the kernel. The kernel sends
107 a SIGSEGV to the task that resulted in this trap with the following
123 the corresponding cacheline, a memory corruption trap occurs. If
126 a SIGSEGV to the task that resulted in this trap with the following
132 siginfo.si_addr = addr; /* address that caused trap */
136 ADI tag mismatch on a load always results in precise trap.
143 on a memory address, processor sends an MCD disabled trap. This
144 trap is handled by hypervisor first and the hypervisor vectors this
[all …]
/Linux-v5.10/arch/mips/kernel/
Dkgdb.c304 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify() local
327 if (kgdb_handle_exception(trap, compute_signal(trap), cmd, regs)) { in kgdb_mips_notify()
333 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
346 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument
352 .trapnr = trap, in kgdb_ll_trap()
/Linux-v5.10/arch/powerpc/kernel/
Dirq.c260 regs.trap = 0xe60; in replay_soft_interrupts()
268 regs.trap = 0x900; in replay_soft_interrupts()
276 regs.trap = 0x500; in replay_soft_interrupts()
285 regs.trap = 0x280; in replay_soft_interrupts()
287 regs.trap = 0xa00; in replay_soft_interrupts()
296 regs.trap = 0xf00; in replay_soft_interrupts()
493 regs.trap = 0x100; in replay_system_reset()
/Linux-v5.10/arch/m68k/kernel/
Dvectors.c33 asmlinkage void trap(void);
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
83 vectors[i] = trap; in trap_init()
/Linux-v5.10/Documentation/arm/
Dmem_alignment.rst13 Of course this is a bad idea to rely on the alignment trap to perform
16 alignment trap can fixup misaligned access for the exception cases, but at
20 trap to SIGBUS any code performing unaligned access (good for debugging bad
30 To change the alignment trap behavior, simply echo a number into
/Linux-v5.10/arch/sparc/kernel/
Dcherrs.S182 rdpr %tl, %g1 ! Save original trap level
185 1: wrpr %g2, %tl ! Set trap level to check
189 wrpr %g1, %tl ! Restore original trap level
190 add %g2, 1, %g2 ! Next trap level
194 wrpr %g1, %tl ! Restore original trap level
233 rdpr %tl, %g1 ! Save original trap level
236 1: wrpr %g2, %tl ! Set trap level to check
240 wrpr %g1, %tl ! Restore original trap level
241 add %g2, 1, %g2 ! Next trap level
245 wrpr %g1, %tl ! Restore original trap level
/Linux-v5.10/arch/m68k/fpsp040/
Dkernel_ex.S49 | if dz trap disabled
56 | else dz trap enabled
105 | if (operr trap disabled)
110 | else (operr trap enabled)
343 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled
/Linux-v5.10/drivers/net/netdevsim/
Dfib.c273 bool trap) in nsim_fib4_rt_hw_flags_set() argument
286 fri.trap = trap; in nsim_fib4_rt_hw_flags_set()
554 rt->trap = true; in nsim_fib6_rt_append()
566 iter->trap = true; in nsim_fib6_rt_append()
576 iter->trap = false; in nsim_fib6_rt_append()
579 rt->trap = false; in nsim_fib6_rt_append()
585 bool trap) in nsim_fib6_rt_hw_flags_set() argument
590 fib6_info_hw_flags_set(fib6_rt_nh->rt, false, trap); in nsim_fib6_rt_hw_flags_set()

12345678