| /linux/arch/m68k/68000/ |
| A D | romvec.S | 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 31 .long trap, trap, trap, trap 32 .long trap, trap, trap, trap [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_trap.c | 1193 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policer_item_lookup() local 1207 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_group_item_lookup() local 1221 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_item_lookup() local 1225 if (trap->trap_items_arr[i].trap.id == id) in mlxsw_sp_trap_item_lookup() 1234 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_cpu_policers_set() local 1265 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policer_items_arr_init() local 1317 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policers_init() local 1348 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policers_fini() local 1364 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_group_items_arr_init() local 1400 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_groups_init() local [all …]
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_devlink.c | 117 struct devlink_trap trap; member 201 .trap = PRESTERA_TRAP_CONTROL(STP, STP, TRAP), 349 const struct devlink_trap *trap, 373 const struct devlink_trap *trap, 554 trap_item->action = trap->init_action; in prestera_trap_init() 560 const struct devlink_trap *trap, in prestera_trap_action_set() argument 569 const struct devlink_trap *trap, in prestera_drop_counter_get() argument 576 container_of(trap, struct prestera_trap, trap); in prestera_drop_counter_get() 586 const struct devlink_trap *trap; in prestera_devlink_traps_unregister() local 590 trap = &prestera_trap_items_arr[i].trap; in prestera_devlink_traps_unregister() [all …]
|
| /linux/arch/riscv/kvm/ |
| A 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() 29 switch (trap->scause) { in gstage_page_fault() 33 trap->htinst); in gstage_page_fault() 37 trap->htinst); in gstage_page_fault() 62 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_unpriv_read() argument 136 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_trap_redirect() argument 159 csr_write(CSR_VSEPC, trap->sepc); in kvm_riscv_vcpu_trap_redirect() 173 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_exit() argument 184 switch (trap->scause) { in kvm_riscv_vcpu_exit() [all …]
|
| A D | trace.h | 32 TP_PROTO(struct kvm_cpu_trap *trap), 33 TP_ARGS(trap), 44 __entry->sepc = trap->sepc; 45 __entry->scause = trap->scause; 46 __entry->stval = trap->stval; 47 __entry->htval = trap->htval; 48 __entry->htinst = trap->htinst;
|
| /linux/Documentation/networking/devlink/ |
| A D | prestera.rst | 26 - ``trap`` 29 - ``trap`` 32 - ``trap`` 35 - ``trap`` 38 - ``trap`` 41 - ``trap`` 44 - ``trap`` 47 - ``trap`` 50 - ``trap`` 53 - ``trap`` [all …]
|
| A D | devlink-trap.rst | 31 The ``devlink-trap`` mechanism allows capable device drivers to register their 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. 407 tc's trap action) 447 error checking is performed here as for the ip_1_parsing trap 571 - Contains a packet trap for unicast loopback packets (i.e., 620 to associate these policers with supported packet trap groups (see [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| A D | nv50.c | 142 u32 trap[6], idx, inst; in nv50_fb_intr() local 161 st0 = (trap[0] & 0x0000000f) >> 0; in nv50_fb_intr() 162 st1 = (trap[0] & 0x000000f0) >> 4; in nv50_fb_intr() 163 st2 = (trap[0] & 0x00000f00) >> 8; in nv50_fb_intr() 164 st3 = (trap[0] & 0x0000f000) >> 12; in nv50_fb_intr() 166 st0 = (trap[0] & 0x000000ff) >> 0; in nv50_fb_intr() 167 st1 = (trap[0] & 0x0000ff00) >> 8; in nv50_fb_intr() 168 st2 = (trap[0] & 0x00ff0000) >> 16; in nv50_fb_intr() 171 inst = ((trap[2] << 16) | trap[1]) << 12; in nv50_fb_intr() 185 trap[5] & 0xff, trap[4] & 0xffff, trap[3] & 0xffff, in nv50_fb_intr() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | trap.c | 177 kvfree(trap); in mlx5e_close_trap() 182 napi_enable(&trap->napi); in mlx5e_activate_trap() 192 napi_disable(&trap->napi); in mlx5e_deactivate_trap() 197 struct mlx5e_trap *trap; in mlx5e_add_trap_queue() local 200 if (IS_ERR(trap)) in mlx5e_add_trap_queue() 203 mlx5e_activate_trap(trap); in mlx5e_add_trap_queue() 205 return trap; in mlx5e_add_trap_queue() 223 struct mlx5e_trap *trap; in mlx5e_handle_action_trap() local 228 if (IS_ERR(trap)) in mlx5e_handle_action_trap() 229 return PTR_ERR(trap); in mlx5e_handle_action_trap() [all …]
|
| /linux/drivers/net/ethernet/mscc/ |
| A D | ocelot_ptp.c | 327 trap->key_type = OCELOT_VCAP_KEY_IPV4; in ocelot_populate_ipv4_ptp_event_trap_key() 329 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_event_trap_key() 331 trap->key.ipv4.dport.mask = 0xffff; in ocelot_populate_ipv4_ptp_event_trap_key() 337 trap->key_type = OCELOT_VCAP_KEY_IPV6; in ocelot_populate_ipv6_ptp_event_trap_key() 339 trap->key.ipv6.proto.mask[0] = 0xff; in ocelot_populate_ipv6_ptp_event_trap_key() 341 trap->key.ipv6.dport.mask = 0xffff; in ocelot_populate_ipv6_ptp_event_trap_key() 347 trap->key_type = OCELOT_VCAP_KEY_IPV4; in ocelot_populate_ipv4_ptp_general_trap_key() 349 trap->key.ipv4.proto.mask[0] = 0xff; in ocelot_populate_ipv4_ptp_general_trap_key() 351 trap->key.ipv4.dport.mask = 0xffff; in ocelot_populate_ipv4_ptp_general_trap_key() 359 trap->key.ipv6.proto.mask[0] = 0xff; in ocelot_populate_ipv6_ptp_general_trap_key() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | devlink.c | 228 if (dl_trap->trap.id == trap_id) in mlx5_find_trap_by_id() 244 dl_trap->trap.id = trap->id; in mlx5_devlink_trap_init() 248 if (mlx5_find_trap_by_id(dev, trap->id)) { in mlx5_devlink_trap_init() 274 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set() argument 298 if (action == dl_trap->trap.action) in mlx5_devlink_trap_action_set() 301 action_orig = dl_trap->trap.action; in mlx5_devlink_trap_action_set() 302 dl_trap->trap.action = action; in mlx5_devlink_trap_action_set() 303 trap_event_ctx.trap = &dl_trap->trap; in mlx5_devlink_trap_action_set() 308 dl_trap->trap.action = action_orig; in mlx5_devlink_trap_action_set() 358 dl_trap->trap.action); in mlx5_devlink_trap_report() [all …]
|
| /linux/net/devlink/ |
| A D | trap.c | 64 const struct devlink_trap *trap; member 132 const struct devlink_trap *trap) in devlink_trap_metadata_put() argument 221 trap_item->trap, in devlink_trap_stats_put() 283 if (trap_item->trap->generic && in devlink_nl_trap_fill() 1095 if (strcmp(trap->name, devlink_trap_generic[trap->id].name)) in devlink_trap_generic_verify() 1098 if (trap->type != devlink_trap_generic[trap->id].type) in devlink_trap_generic_verify() 1121 if (!trap || !trap->name) in devlink_trap_verify() 1124 if (trap->generic) in devlink_trap_verify() 1290 trap_item->trap = trap; in devlink_trap_register() 1333 const struct devlink_trap *trap) in devlink_trap_disable() argument [all …]
|
| /linux/arch/powerpc/include/asm/ |
| A D | ptrace.h | 46 unsigned long trap; member 250 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0) 251 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0) 252 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0) 254 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK) 258 regs->trap = (regs->trap & TRAP_FLAGS_MASK) | (val & ~TRAP_FLAGS_MASK); in set_trap() 278 return regs->trap & 0x1; in trap_norestart() 283 regs->trap |= 0x1; in set_trap_norestart()
|
| A D | trace.h | 273 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap), 274 TP_ARGS(addr, access, trap), 278 __field(unsigned long, trap) 284 __entry->trap = trap; 288 __entry->addr, __entry->access, __entry->trap)
|
| /linux/arch/m68k/ifpsp060/ |
| A 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/drivers/infiniband/hw/hfi1/ |
| A D | mad.c | 202 if (trap && trap->tid == smp->tid) { in subn_handle_opa_trap_repress() 293 trap = check_and_add_trap(ibp, trap); in send_trap() 393 trap = kzalloc(sizeof(*trap), GFP_ATOMIC); in create_trap_node() 431 trap->len = sizeof(trap->data); in hfi1_bad_pkey() 450 trap->data.ntc_256.lid = trap->data.issuer_lid; in bad_mkey() 468 trap->len = sizeof(trap->data); in bad_mkey() 490 trap->data.ntc_144.lid = trap->data.issuer_lid; in hfi1_cap_mask_chg() 494 trap->len = sizeof(trap->data); in hfi1_cap_mask_chg() 512 trap->data.ntc_145.lid = trap->data.issuer_lid; in hfi1_sys_guid_chg() 514 trap->len = sizeof(trap->data); in hfi1_sys_guid_chg() [all …]
|
| /linux/arch/powerpc/kernel/ |
| A D | irq_64.c | 139 regs.trap = INTERRUPT_HMI; in __replay_soft_interrupts() 145 regs.trap = INTERRUPT_DECREMENTER; in __replay_soft_interrupts() 151 regs.trap = INTERRUPT_EXTERNAL; in __replay_soft_interrupts() 158 regs.trap = INTERRUPT_DOORBELL; in __replay_soft_interrupts() 166 regs.trap = INTERRUPT_PERFMON; in __replay_soft_interrupts() 445 regs.trap = 0x100; in replay_system_reset()
|
| /linux/arch/m68k/coldfire/ |
| A D | vectors.c | 40 asmlinkage void trap(void); 55 _ramvec[i] = trap; in trap_init() 57 _ramvec[i] = trap; in trap_init()
|
| /linux/Documentation/netlink/specs/ |
| A D | devlink.yaml | 187 name: trap-action 192 name: trap 197 name: trap-type 650 name: trap-name 653 name: trap-action 657 name: trap-type 659 enum: trap-type 1982 name: trap-get 1994 - trap-name 2004 name: trap-set [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| A D | gf100.c | 1239 u32 trap[4]; in gf100_gr_trap_gpc_rop() local 1250 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop() 1251 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop() 1425 trap &= ~0x00000001; in gf100_gr_trap_intr() 1437 trap &= ~0x00000002; in gf100_gr_trap_intr() 1448 trap &= ~0x00000008; in gf100_gr_trap_intr() 1457 trap &= ~0x00000010; in gf100_gr_trap_intr() 1469 trap &= ~0x00000040; in gf100_gr_trap_intr() 1486 trap &= ~0x00000080; in gf100_gr_trap_intr() 1498 trap &= ~0x00000100; in gf100_gr_trap_intr() [all …]
|
| /linux/arch/powerpc/include/asm/book3s/64/ |
| A 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/arch/powerpc/mm/book3s64/ |
| A D | hash_64k.c | 39 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_4K() argument 86 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K() 213 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K() 229 unsigned long vsid, pte_t *ptep, unsigned long trap, in __hash_page_64K() argument 273 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_64K() 328 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_64K()
|
| A D | hash_utils.c | 1323 if (trap == INTERRUPT_INST_STORAGE) { in hash_page_do_lazy_icache() 1421 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument 1429 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug() 1456 unsigned long access, unsigned long trap, in hash_page_mm() argument 1468 ea, access, trap); in hash_page_mm() 1469 trace_hash_fault(ea, access, trap); in hash_page_mm() 1575 trap, flags, ssize, psize); in hash_page_mm() 1766 bool is_exec, unsigned long trap) in hash_preload() argument 1780 " trap=%lx\n", mm, mm->pgd, ea, access, trap); in hash_preload() 1861 unsigned long trap; in __update_mmu_cache() local [all …]
|
| /linux/Documentation/arch/sparc/ |
| A 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 145 trap through to the kernel as Data Access Exception trap with [all …]
|
| /linux/fs/overlayfs/ |
| A D | inode.c | 1118 struct inode *trap; in ovl_lookup_trap_inode() local 1122 if (!trap) in ovl_lookup_trap_inode() 1125 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode() 1128 iput(trap); in ovl_lookup_trap_inode() 1140 struct inode *trap; in ovl_get_trap_inode() local 1147 if (!trap) in ovl_get_trap_inode() 1152 iput(trap); in ovl_get_trap_inode() 1156 trap->i_mode = S_IFDIR; in ovl_get_trap_inode() 1157 trap->i_flags = S_DEAD; in ovl_get_trap_inode() 1158 unlock_new_inode(trap); in ovl_get_trap_inode() [all …]
|