/openbmc/linux/arch/m68k/68000/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H 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 …]
|
/openbmc/linux/arch/riscv/kvm/ |
H 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 …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | trap.c | 174 kvfree(trap); in mlx5e_close_trap() 179 napi_enable(&trap->napi); in mlx5e_activate_trap() 189 napi_disable(&trap->napi); in mlx5e_deactivate_trap() 194 struct mlx5e_trap *trap; in mlx5e_add_trap_queue() local 197 if (IS_ERR(trap)) in mlx5e_add_trap_queue() 200 mlx5e_activate_trap(trap); in mlx5e_add_trap_queue() 202 return trap; in mlx5e_add_trap_queue() 220 struct mlx5e_trap *trap; in mlx5e_handle_action_trap() local 225 if (IS_ERR(trap)) in mlx5e_handle_action_trap() 226 return PTR_ERR(trap); in mlx5e_handle_action_trap() [all …]
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | devlink.c | 239 if (dl_trap->trap.id == trap_id) in mlx5_find_trap_by_id() 255 dl_trap->trap.id = trap->id; in mlx5_devlink_trap_init() 259 if (mlx5_find_trap_by_id(dev, trap->id)) { in mlx5_devlink_trap_init() 285 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set() argument 309 if (action == dl_trap->trap.action) in mlx5_devlink_trap_action_set() 312 action_orig = dl_trap->trap.action; in mlx5_devlink_trap_action_set() 313 dl_trap->trap.action = action; in mlx5_devlink_trap_action_set() 314 trap_event_ctx.trap = &dl_trap->trap; in mlx5_devlink_trap_action_set() 319 dl_trap->trap.action = action_orig; in mlx5_devlink_trap_action_set() 369 dl_trap->trap.action); in mlx5_devlink_trap_report() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H 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()
|
H A D | trace.h | 272 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap), 273 TP_ARGS(addr, access, trap), 277 __field(unsigned long, trap) 283 __entry->trap = trap; 287 __entry->addr, __entry->access, __entry->trap)
|
/openbmc/linux/net/devlink/ |
H 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() 1096 if (strcmp(trap->name, devlink_trap_generic[trap->id].name)) in devlink_trap_generic_verify() 1099 if (trap->type != devlink_trap_generic[trap->id].type) in devlink_trap_generic_verify() 1122 if (!trap || !trap->name) in devlink_trap_verify() 1125 if (trap->generic) in devlink_trap_verify() 1291 trap_item->trap = trap; in devlink_trap_register() 1334 const struct devlink_trap *trap) in devlink_trap_disable() argument [all …]
|
/openbmc/linux/arch/m68k/ifpsp060/ |
H 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 …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 116 name: trap-name 123 name: trap-group-name 134 name: trap-policer-id 525 name: trap-get 526 doc: Get trap instances. 539 - trap-name 540 reply: &trap-get-reply 551 name: trap-group-get 565 - trap-group-name 577 name: trap-policer-get [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H 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 …]
|
/openbmc/linux/arch/m68k/coldfire/ |
H A D | vectors.c | 39 asmlinkage void trap(void); 54 _ramvec[i] = trap; in trap_init() 56 _ramvec[i] = trap; in trap_init()
|
/openbmc/linux/arch/powerpc/kernel/ |
H 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()
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | snmp_trap.hpp | 25 virtual void trap(sdbusplus::message_t& msg) const = 0; 44 void trap(sdbusplus::message_t& msg) const override; 72 event.trap(msg); in operator ()()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H 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 …]
|
/openbmc/linux/arch/powerpc/include/asm/book3s/64/ |
H 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,
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H 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()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-asm.S | 14 trap 31 trap
|
/openbmc/linux/Documentation/arch/sparc/ |
H 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 …]
|
/openbmc/phosphor-snmp/docs/ |
H A D | snmp-configuration.md | 1 # SNMP trap 9 to generate the SNMP trap. 14 Other OpenBMC applications can still send the SNMP trap as needed. These 29 libsnmp: Exposes the API to send the SNMP trap phosphor-network-snmpconf: Used
|