Home
last modified time | relevance | path

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

123456789

/linux/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/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_trap.c1168 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policer_item_lookup() local
1182 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_group_item_lookup() local
1196 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_item_lookup() local
1200 if (trap->trap_items_arr[i].trap.id == id) in mlxsw_sp_trap_item_lookup()
1209 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_cpu_policers_set() local
1240 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policer_items_arr_init() local
1292 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policers_init() local
1323 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_policers_fini() local
1339 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_group_items_arr_init() local
1375 struct mlxsw_sp_trap *trap = mlxsw_sp->trap; in mlxsw_sp_trap_groups_init() local
[all …]
/linux/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,
378 const struct devlink_trap *trap,
576 trap_item->action = trap->init_action; in prestera_trap_init()
582 const struct devlink_trap *trap, in prestera_trap_action_set() argument
591 const struct devlink_trap *trap, in prestera_drop_counter_get() argument
598 container_of(trap, struct prestera_trap, trap); in prestera_drop_counter_get()
608 const struct devlink_trap *trap; in prestera_devlink_traps_unregister() local
612 trap = &prestera_trap_items_arr[i].trap; in prestera_devlink_traps_unregister()
[all …]
/linux/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
561 - Contains a packet trap for unicast loopback packets (i.e.,
607 to associate these policers with supported packet trap groups (see
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dnv50.c143 u32 trap[6], idx, inst; in nv50_fb_intr() local
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()
172 inst = ((trap[2] << 16) | trap[1]) << 12; in nv50_fb_intr()
186 trap[5] & 0xff, trap[4] & 0xffff, trap[3] & 0xffff, in nv50_fb_intr()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtrap.c168 kvfree(trap); in mlx5e_close_trap()
173 napi_enable(&trap->napi); in mlx5e_activate_trap()
182 napi_disable(&trap->napi); in mlx5e_deactivate_trap()
187 struct mlx5e_trap *trap; in mlx5e_add_trap_queue() local
190 if (IS_ERR(trap)) in mlx5e_add_trap_queue()
193 mlx5e_activate_trap(trap); in mlx5e_add_trap_queue()
195 return trap; in mlx5e_add_trap_queue()
213 struct mlx5e_trap *trap; in mlx5e_handle_action_trap() local
218 if (IS_ERR(trap)) in mlx5e_handle_action_trap()
219 return PTR_ERR(trap); in mlx5e_handle_action_trap()
[all …]
/linux/arch/riscv/kvm/
A Dvcpu_exit.c161 struct kvm_cpu_trap *trap) in virtual_inst_fault() argument
163 unsigned long insn = trap->stval; in virtual_inst_fault()
429 fault_addr = (trap->htval << 2) | (trap->stval & 0x3); in stage2_page_fault()
436 switch (trap->scause) { in stage2_page_fault()
439 trap->htinst); in stage2_page_fault()
442 trap->htinst); in stage2_page_fault()
467 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_unpriv_read() argument
565 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_trap_redirect() argument
659 struct kvm_cpu_trap *trap) in kvm_riscv_vcpu_exit() argument
670 switch (trap->scause) { in kvm_riscv_vcpu_exit()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Ddevlink.c206 if (dl_trap->trap.id == trap_id) in mlx5_find_trap_by_id()
222 dl_trap->trap.id = trap->id; in mlx5_devlink_trap_init()
226 if (mlx5_find_trap_by_id(dev, trap->id)) { in mlx5_devlink_trap_init()
252 const struct devlink_trap *trap, in mlx5_devlink_trap_action_set() argument
278 if (action == dl_trap->trap.action) in mlx5_devlink_trap_action_set()
281 action_orig = dl_trap->trap.action; in mlx5_devlink_trap_action_set()
282 dl_trap->trap.action = action; in mlx5_devlink_trap_action_set()
284 &dl_trap->trap); in mlx5_devlink_trap_action_set()
286 dl_trap->trap.action = action_orig; in mlx5_devlink_trap_action_set()
341 dl_trap->trap.action); in mlx5_devlink_trap_report()
[all …]
/linux/arch/powerpc/include/asm/
A Dptrace.h46 unsigned long trap; member
231 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
232 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
233 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0)
235 #define TRAP(regs) ((regs)->trap & ~TRAP_FLAGS_MASK)
239 regs->trap = (regs->trap & TRAP_FLAGS_MASK) | (val & ~TRAP_FLAGS_MASK); in set_trap()
259 return regs->trap & 0x1; in trap_norestart()
264 regs->trap |= 0x1; in set_trap_norestart()
A 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/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/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/drivers/net/ethernet/mscc/
A Docelot.c1333 if (!trap) { in ocelot_trap_add()
1334 trap = kzalloc(sizeof(*trap), GFP_KERNEL); in ocelot_trap_add()
1335 if (!trap) in ocelot_trap_add()
1338 populate(trap); in ocelot_trap_add()
1339 trap->prio = 1; in ocelot_trap_add()
1340 trap->id.cookie = cookie; in ocelot_trap_add()
1342 trap->block_id = VCAP_IS2; in ocelot_trap_add()
1344 trap->lookup = 0; in ocelot_trap_add()
1347 trap->action.port_mask = 0; in ocelot_trap_add()
1360 kfree(trap); in ocelot_trap_add()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
A Dgf100.c1179 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
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()
1365 trap &= ~0x00000001; in gf100_gr_trap_intr()
1377 trap &= ~0x00000002; in gf100_gr_trap_intr()
1388 trap &= ~0x00000008; in gf100_gr_trap_intr()
1397 trap &= ~0x00000010; in gf100_gr_trap_intr()
1409 trap &= ~0x00000040; in gf100_gr_trap_intr()
1426 trap &= ~0x00000080; in gf100_gr_trap_intr()
1438 trap &= ~0x00000100; in gf100_gr_trap_intr()
[all …]
/linux/arch/powerpc/kvm/
A Dbook3s_hv_p9_entry.c195 int trap; in kvmhv_vcpu_entry_p9() local
341 trap = local_paca->kvm_hstate.scratch0 & ~0x2; in kvmhv_vcpu_entry_p9()
345 if (likely(trap > BOOK3S_INTERRUPT_MACHINE_CHECK)) { in kvmhv_vcpu_entry_p9()
346 if (trap != BOOK3S_INTERRUPT_SYSCALL && in kvmhv_vcpu_entry_p9()
350 } else if (trap == BOOK3S_INTERRUPT_SYSTEM_RESET) { in kvmhv_vcpu_entry_p9()
390 } else if (unlikely(trap == BOOK3S_INTERRUPT_HMI)) { in kvmhv_vcpu_entry_p9()
393 } else if (trap == BOOK3S_INTERRUPT_H_EMUL_ASSIST) { in kvmhv_vcpu_entry_p9()
396 } else if (trap == BOOK3S_INTERRUPT_H_DATA_STORAGE) { in kvmhv_vcpu_entry_p9()
404 } else if (trap == BOOK3S_INTERRUPT_H_FAC_UNAVAIL) { in kvmhv_vcpu_entry_p9()
413 } else if (trap == BOOK3S_INTERRUPT_HV_SOFTPATCH) { in kvmhv_vcpu_entry_p9()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Dhash_utils.c1159 if (trap == INTERRUPT_INST_STORAGE) { in hash_page_do_lazy_icache()
1264 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
1272 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
1299 unsigned long access, unsigned long trap, in hash_page_mm() argument
1311 ea, access, trap); in hash_page_mm()
1312 trace_hash_fault(ea, access, trap); in hash_page_mm()
1411 trap, flags, ssize, psize); in hash_page_mm()
1639 bool is_exec, unsigned long trap) in hash_preload() argument
1653 " trap=%lx\n", mm, mm->pgd, ea, access, trap); in hash_preload()
1742 unsigned long trap; in update_mmu_cache() local
[all …]
A 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()
A 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()
/linux/arch/powerpc/include/asm/book3s/64/
A Dmmu-hash.h459 unsigned long vsid, pte_t *ptep, unsigned long trap,
462 unsigned long vsid, pte_t *ptep, unsigned long trap,
465 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap);
467 unsigned long access, unsigned long trap,
469 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
472 int __hash_page(unsigned long trap, unsigned long ea, unsigned long dsisr, unsigned long msr);
474 pte_t *ptep, unsigned long trap, unsigned long flags,
478 unsigned long vsid, pmd_t *pmdp, unsigned long trap,
483 unsigned long trap, unsigned long flags, in __hash_page_thp() argument
491 unsigned long vsid, unsigned long trap,
/linux/fs/overlayfs/
A Dinode.c1009 struct inode *trap; in ovl_lookup_trap_inode() local
1013 if (!trap) in ovl_lookup_trap_inode()
1016 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
1019 iput(trap); in ovl_lookup_trap_inode()
1031 struct inode *trap; in ovl_get_trap_inode() local
1038 if (!trap) in ovl_get_trap_inode()
1043 iput(trap); in ovl_get_trap_inode()
1047 trap->i_mode = S_IFDIR; in ovl_get_trap_inode()
1048 trap->i_flags = S_DEAD; in ovl_get_trap_inode()
1049 unlock_new_inode(trap); in ovl_get_trap_inode()
[all …]
/linux/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/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/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/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()

Completed in 56 milliseconds

123456789