Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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.4/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.4/arch/powerpc/include/asm/
Dptrace.h44 unsigned long trap; member
186 #define FULL_REGS(regs) (((regs)->trap & 1) == 0)
188 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
189 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
190 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0)
192 #define TRAP(regs) ((regs)->trap & ~0xF)
195 #define CHECK_FULL_REGS(regs) BUG_ON(regs->trap & 1)
200 if ((regs)->trap & 1) \
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.4/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.4/Documentation/networking/
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.
106 The ``devlink-trap`` mechanism supports the following packet trap actions:
108 * ``trap``: The sole copy of the packet is sent to the CPU.
115 Generic packet traps are used to describe traps that trap well-defined packets
175 * :doc:`/devlink-trap-netdevsim`
[all …]
Dindex.rst17 devlink-trap
18 devlink-trap-netdevsim
Ddevlink-trap-netdevsim.rst19 indentifier (FID) based on the ingress port and VLAN. This trap is used
20 to trap packets for which a FID could not be found
/Linux-v5.4/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.4/arch/powerpc/mm/book3s64/
Dhash_utils.c1085 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument
1096 if (trap == 0x400) { in hash_page_do_lazy_icache()
1201 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
1209 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
1236 unsigned long access, unsigned long trap, in hash_page_mm() argument
1249 ea, access, trap); in hash_page_mm()
1250 trace_hash_fault(ea, access, trap); in hash_page_mm()
1340 trap, flags, ssize, psize); in hash_page_mm()
1343 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1404 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.c26 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_huge() argument
87 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
117 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
/Linux-v5.4/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.4/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.4/fs/overlayfs/
Dinode.c781 struct inode *trap; in ovl_lookup_trap_inode() local
784 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode()
785 if (!trap) in ovl_lookup_trap_inode()
788 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
789 !ovl_inode_lower(trap); in ovl_lookup_trap_inode()
791 iput(trap); in ovl_lookup_trap_inode()
803 struct inode *trap; in ovl_get_trap_inode() local
808 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode()
810 if (!trap) in ovl_get_trap_inode()
813 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c129 const struct devlink_trap *trap, void *trap_ctx) in mlxsw_sp_trap_init() argument
137 if (mlxsw_sp_listener_devlink_map[i] != trap->id) in mlxsw_sp_trap_init()
150 const struct devlink_trap *trap, void *trap_ctx) in mlxsw_sp_trap_fini() argument
157 if (mlxsw_sp_listener_devlink_map[i] != trap->id) in mlxsw_sp_trap_fini()
166 const struct devlink_trap *trap, in mlxsw_sp_trap_action_set() argument
176 if (mlxsw_sp_listener_devlink_map[i] != trap->id) in mlxsw_sp_trap_action_set()
/Linux-v5.4/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.4/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.4/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.4/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.4/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.4/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.4/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

1234567