/linux-6.1.9/arch/m68k/68000/ |
D | romvec.S | 15 .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-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_trap.c | 30 struct devlink_trap trap; member 635 .trap = MLXSW_SP_TRAP_DROP(SMAC_MC, L2_DROPS), 641 .trap = MLXSW_SP_TRAP_DROP(VLAN_TAG_MISMATCH, L2_DROPS), 648 .trap = MLXSW_SP_TRAP_DROP(INGRESS_VLAN_FILTER, L2_DROPS), 654 .trap = MLXSW_SP_TRAP_DROP(INGRESS_STP_FILTER, L2_DROPS), 660 .trap = MLXSW_SP_TRAP_DROP(EMPTY_TX_LIST, L2_DROPS), 667 .trap = MLXSW_SP_TRAP_DROP(PORT_LOOPBACK_FILTER, L2_DROPS), 673 .trap = MLXSW_SP_TRAP_DROP(BLACKHOLE_ROUTE, L3_DROPS), 679 .trap = MLXSW_SP_TRAP_DROP(NON_IP_PACKET, L3_DROPS), 686 .trap = MLXSW_SP_TRAP_DROP(UC_DIP_MC_DMAC, L3_DROPS), [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 117 struct devlink_trap trap; member 185 .trap = PRESTERA_TRAP_DRIVER_CONTROL(ARP_BC, NEIGH_DISCOVERY), 189 .trap = PRESTERA_TRAP_DRIVER_CONTROL(IS_IS, LOCAL_DELIVERY), 193 .trap = PRESTERA_TRAP_DRIVER_CONTROL(OSPF, OSPF), 197 .trap = PRESTERA_TRAP_DRIVER_CONTROL(IP_BC_MAC, LOCAL_DELIVERY), 201 .trap = PRESTERA_TRAP_CONTROL(STP, STP, TRAP), 205 .trap = PRESTERA_TRAP_CONTROL(LACP, LACP, TRAP), 209 .trap = PRESTERA_TRAP_CONTROL(LLDP, LLDP, TRAP), 213 .trap = PRESTERA_TRAP_DRIVER_CONTROL(ROUTER_MC, LOCAL_DELIVERY), 217 .trap = PRESTERA_TRAP_DRIVER_CONTROL(VRRP, VRRP), [all …]
|
/linux-6.1.9/arch/riscv/kvm/ |
D | vcpu_exit.c | 14 struct kvm_cpu_trap *trap) in gstage_page_fault() argument 22 fault_addr = (trap->htval << 2) | (trap->stval & 0x3); in gstage_page_fault() 28 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writable)) { in gstage_page_fault() 29 switch (trap->scause) { in gstage_page_fault() 33 trap->htinst); in gstage_page_fault() 37 trap->htinst); in gstage_page_fault() 44 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT) ? true : false); in gstage_page_fault() 62 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_unpriv_read() argument 64 register unsigned long taddr asm("a0") = (unsigned long)trap; in kvm_riscv_vcpu_unpriv_read() 96 if (trap->scause == EXC_LOAD_PAGE_FAULT) in kvm_riscv_vcpu_unpriv_read() [all …]
|
/linux-6.1.9/Documentation/networking/devlink/ |
D | prestera.rst | 26 - ``trap`` 29 - ``trap`` 32 - ``trap`` 35 - ``trap`` 38 - ``trap`` 41 - ``trap`` 44 - ``trap`` 47 - ``trap`` 50 - ``trap`` 53 - ``trap`` [all …]
|
D | devlink-trap.rst | 31 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-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | nv50.c | 143 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | trap.c | 170 void mlx5e_close_trap(struct mlx5e_trap *trap) in mlx5e_close_trap() argument 172 mlx5e_tir_destroy(&trap->tir); in mlx5e_close_trap() 173 mlx5e_close_trap_rq(&trap->rq); in mlx5e_close_trap() 174 netif_napi_del(&trap->napi); in mlx5e_close_trap() 175 kvfree(trap); in mlx5e_close_trap() 178 static void mlx5e_activate_trap(struct mlx5e_trap *trap) in mlx5e_activate_trap() argument 180 napi_enable(&trap->napi); in mlx5e_activate_trap() 181 mlx5e_activate_rq(&trap->rq); in mlx5e_activate_trap() 182 mlx5e_trigger_napi_sched(&trap->napi); in mlx5e_activate_trap() 187 struct mlx5e_trap *trap = priv->en_trap; in mlx5e_deactivate_trap() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_ptp.c | 317 static void ocelot_populate_l2_ptp_trap_key(struct ocelot_vcap_filter *trap) in ocelot_populate_l2_ptp_trap_key() argument 319 trap->key_type = OCELOT_VCAP_KEY_ETYPE; in ocelot_populate_l2_ptp_trap_key() 320 *(__be16 *)trap->key.etype.etype.value = htons(ETH_P_1588); in ocelot_populate_l2_ptp_trap_key() 321 *(__be16 *)trap->key.etype.etype.mask = htons(0xffff); in ocelot_populate_l2_ptp_trap_key() 325 ocelot_populate_ipv4_ptp_event_trap_key(struct ocelot_vcap_filter *trap) in ocelot_populate_ipv4_ptp_event_trap_key() argument 327 trap->key_type = OCELOT_VCAP_KEY_IPV4; in ocelot_populate_ipv4_ptp_event_trap_key() 328 trap->key.ipv4.proto.value[0] = IPPROTO_UDP; in ocelot_populate_ipv4_ptp_event_trap_key() 329 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_event_trap_key() 330 trap->key.ipv4.dport.value = PTP_EV_PORT; in ocelot_populate_ipv4_ptp_event_trap_key() 331 trap->key.ipv4.dport.mask = 0xffff; in ocelot_populate_ipv4_ptp_event_trap_key() [all …]
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | ptrace.h | 46 unsigned long trap; member 236 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0) 237 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0) 238 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0) 240 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) 244 regs->trap = (regs->trap & TRAP_FLAGS_MASK) | (val & ~TRAP_FLAGS_MASK); in set_trap() 264 return regs->trap & 0x1; in trap_norestart() 269 regs->trap |= 0x1; in set_trap_norestart()
|
D | trace.h | 169 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | devlink.c | 219 if (dl_trap->trap.id == trap_id) in mlx5_find_trap_by_id() 225 static int mlx5_devlink_trap_init(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_init() argument 235 dl_trap->trap.id = trap->id; in mlx5_devlink_trap_init() 236 dl_trap->trap.action = DEVLINK_TRAP_ACTION_DROP; in mlx5_devlink_trap_init() 239 if (mlx5_find_trap_by_id(dev, trap->id)) { in mlx5_devlink_trap_init() 241 mlx5_core_err(dev, "Devlink trap: Trap 0x%x already found", trap->id); in mlx5_devlink_trap_init() 249 static void mlx5_devlink_trap_fini(struct devlink *devlink, const struct devlink_trap *trap, in mlx5_devlink_trap_fini() argument 255 dl_trap = mlx5_find_trap_by_id(dev, trap->id); in mlx5_devlink_trap_fini() 257 mlx5_core_err(dev, "Devlink trap: Missing trap id 0x%x", trap->id); in mlx5_devlink_trap_fini() 265 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set() argument [all …]
|
/linux-6.1.9/arch/m68k/ifpsp060/ |
D | fskeleton.S | 83 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-6.1.9/drivers/infiniband/hw/hfi1/ |
D | mad.c | 83 static void cleanup_traps(struct hfi1_ibport *ibp, struct trap_node *trap) in cleanup_traps() argument 102 if (node != trap) in cleanup_traps() 111 kfree(trap); in cleanup_traps() 115 struct trap_node *trap) in check_and_add_trap() argument 125 queue_id = trap->data.generic_type & 0x0F; in check_and_add_trap() 129 trap->data.generic_type, trap_count); in check_and_add_trap() 130 kfree(trap); in check_and_add_trap() 142 if (node == trap) { in check_and_add_trap() 153 list_add_tail(&trap->list, &trap_list->list); in check_and_add_trap() 156 trap->data.generic_type); in check_and_add_trap() [all …]
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | irq_64.c | 146 regs.trap = INTERRUPT_HMI; in replay_soft_interrupts() 152 regs.trap = INTERRUPT_DECREMENTER; in replay_soft_interrupts() 158 regs.trap = INTERRUPT_EXTERNAL; in replay_soft_interrupts() 165 regs.trap = INTERRUPT_DOORBELL; in replay_soft_interrupts() 173 regs.trap = INTERRUPT_PERFMON; in replay_soft_interrupts() 418 regs.trap = 0x100; in replay_system_reset()
|
D | interrupt.c | 99 unsigned long trap, srr0, srr1; in check_return_regs_valid() local 107 trap = TRAP(regs); in check_return_regs_valid() 109 if (cpu_has_feature(CPU_FTR_HVMODE) && trap == INTERRUPT_EXTERNAL) in check_return_regs_valid() 110 trap = 0xea0; in check_return_regs_valid() 112 switch (trap) { in check_return_regs_valid()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gf100.c | 1179 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-6.1.9/arch/m68k/coldfire/ |
D | vectors.c | 39 asmlinkage void trap(void); 54 _ramvec[i] = trap; in trap_init() 56 _ramvec[i] = trap; in trap_init()
|
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/ |
D | mmu-hash.h | 460 unsigned long vsid, pte_t *ptep, unsigned long trap, 463 unsigned long vsid, pte_t *ptep, unsigned long trap, 466 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap); 468 unsigned long access, unsigned long trap, 470 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap, 473 int __hash_page(unsigned long trap, unsigned long ea, unsigned long dsisr, unsigned long msr); 475 pte_t *ptep, unsigned long trap, unsigned long flags, 479 unsigned long vsid, pmd_t *pmdp, unsigned long trap, 484 unsigned long trap, unsigned long flags, in __hash_page_thp() argument 492 unsigned long vsid, unsigned long trap,
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | hash_64k.c | 37 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()
|
D | hash_utils.c | 1242 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument 1253 if (trap == INTERRUPT_INST_STORAGE) { in hash_page_do_lazy_icache() 1351 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument 1359 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug() 1386 unsigned long access, unsigned long trap, in hash_page_mm() argument 1398 ea, access, trap); in hash_page_mm() 1399 trace_hash_fault(ea, access, trap); in hash_page_mm() 1498 trap, flags, ssize, psize); in hash_page_mm() 1501 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm() 1562 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm() [all …]
|
D | hash_4k.c | 20 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()
|
/linux-6.1.9/Documentation/sparc/ |
D | adi.rst | 103 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-6.1.9/fs/overlayfs/ |
D | inode.c | 1095 struct inode *trap; in ovl_lookup_trap_inode() local 1098 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode() 1099 if (!trap) in ovl_lookup_trap_inode() 1102 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode() 1103 !ovl_inode_lower(trap); in ovl_lookup_trap_inode() 1105 iput(trap); in ovl_lookup_trap_inode() 1117 struct inode *trap; in ovl_get_trap_inode() local 1122 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode() 1124 if (!trap) in ovl_get_trap_inode() 1127 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode() [all …]
|
/linux-6.1.9/arch/mips/kernel/ |
D | kgdb.c | 291 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify() local 309 if (kgdb_handle_exception(trap, compute_signal(trap), cmd, regs)) in kgdb_mips_notify() 313 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify() 325 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument 331 .trapnr = trap, in kgdb_ll_trap()
|