Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/arch/m68k/68000/
A Dromvec.S22 .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-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_trap.c1193 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-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A Dprestera_devlink.c117 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-6.3-rc2/arch/riscv/kvm/
A Dvcpu_exit.c14 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 …]
/linux-6.3-rc2/Documentation/networking/devlink/
A Dprestera.rst26 - ``trap``
29 - ``trap``
32 - ``trap``
35 - ``trap``
38 - ``trap``
41 - ``trap``
44 - ``trap``
47 - ``trap``
50 - ``trap``
53 - ``trap``
[all …]
A Ddevlink-trap.rst31 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-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dnv50.c142 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtrap.c175 kvfree(trap); in mlx5e_close_trap()
180 napi_enable(&trap->napi); in mlx5e_activate_trap()
190 napi_disable(&trap->napi); in mlx5e_deactivate_trap()
195 struct mlx5e_trap *trap; in mlx5e_add_trap_queue() local
198 if (IS_ERR(trap)) in mlx5e_add_trap_queue()
201 mlx5e_activate_trap(trap); in mlx5e_add_trap_queue()
203 return trap; in mlx5e_add_trap_queue()
221 struct mlx5e_trap *trap; in mlx5e_handle_action_trap() local
226 if (IS_ERR(trap)) in mlx5e_handle_action_trap()
227 return PTR_ERR(trap); in mlx5e_handle_action_trap()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_ptp.c327 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Ddevlink.c221 if (dl_trap->trap.id == trap_id) in mlx5_find_trap_by_id()
237 dl_trap->trap.id = trap->id; in mlx5_devlink_trap_init()
241 if (mlx5_find_trap_by_id(dev, trap->id)) { in mlx5_devlink_trap_init()
267 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set() argument
291 if (action == dl_trap->trap.action) in mlx5_devlink_trap_action_set()
294 action_orig = dl_trap->trap.action; in mlx5_devlink_trap_action_set()
295 dl_trap->trap.action = action; in mlx5_devlink_trap_action_set()
296 trap_event_ctx.trap = &dl_trap->trap; in mlx5_devlink_trap_action_set()
301 dl_trap->trap.action = action_orig; in mlx5_devlink_trap_action_set()
360 dl_trap->trap.action); in mlx5_devlink_trap_report()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dptrace.h46 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 Dtrace.h272 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)
/linux-6.3-rc2/arch/m68k/ifpsp060/
A 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-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dmad.c202 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-6.3-rc2/arch/powerpc/kernel/
A Dirq_64.c139 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()
449 regs.trap = 0x100; in replay_system_reset()
A Dinterrupt.c101 unsigned long trap, srr0, srr1; in check_return_regs_valid() local
109 trap = TRAP(regs); in check_return_regs_valid()
111 if (cpu_has_feature(CPU_FTR_HVMODE) && trap == INTERRUPT_EXTERNAL) in check_return_regs_valid()
112 trap = 0xea0; in check_return_regs_valid()
114 switch (trap) { in check_return_regs_valid()
/linux-6.3-rc2/arch/m68k/coldfire/
A Dvectors.c39 asmlinkage void trap(void);
54 _ramvec[i] = trap; in trap_init()
56 _ramvec[i] = trap; in trap_init()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dgf100.c1239 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-6.3-rc2/arch/powerpc/include/asm/book3s/64/
A Dmmu-hash.h460 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.3-rc2/arch/powerpc/mm/book3s64/
A Dhash_64k.c39 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 Dhash_utils.c1319 if (trap == INTERRUPT_INST_STORAGE) { in hash_page_do_lazy_icache()
1417 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
1425 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
1452 unsigned long access, unsigned long trap, in hash_page_mm() argument
1464 ea, access, trap); in hash_page_mm()
1465 trace_hash_fault(ea, access, trap); in hash_page_mm()
1564 trap, flags, ssize, psize); in hash_page_mm()
1755 bool is_exec, unsigned long trap) in hash_preload() argument
1769 " trap=%lx\n", mm, mm->pgd, ea, access, trap); in hash_preload()
1850 unsigned long trap; in __update_mmu_cache() local
[all …]
/linux-6.3-rc2/Documentation/sparc/
A 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
145 trap through to the kernel as Data Access Exception trap with
[all …]
/linux-6.3-rc2/arch/mips/kernel/
A Dkgdb.c291 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()
/linux-6.3-rc2/arch/m68k/kernel/
A Dvectors.c33 asmlinkage void trap(void);
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
83 vectors[i] = trap; in trap_init()
/linux-6.3-rc2/fs/overlayfs/
A Dinode.c1236 struct inode *trap; in ovl_lookup_trap_inode() local
1240 if (!trap) in ovl_lookup_trap_inode()
1243 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
1246 iput(trap); in ovl_lookup_trap_inode()
1258 struct inode *trap; in ovl_get_trap_inode() local
1265 if (!trap) in ovl_get_trap_inode()
1270 iput(trap); in ovl_get_trap_inode()
1274 trap->i_mode = S_IFDIR; in ovl_get_trap_inode()
1275 trap->i_flags = S_DEAD; in ovl_get_trap_inode()
1276 unlock_new_inode(trap); in ovl_get_trap_inode()
[all …]

Completed in 58 milliseconds

123456789