Searched refs:trap (Results 101 - 125 of 162) sorted by relevance

1234567

/linux-master/arch/arc/kernel/
H A Dentry.S202 ; call the non syscall trap handler
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.h184 struct mlxsw_sp_trap *trap; member in struct:mlxsw_sp
1218 struct mlxsw_sp_mall_trap_entry trap; member in union:mlxsw_sp_mall_entry::__anon729
1413 const struct devlink_trap *trap, void *trap_ctx);
1415 const struct devlink_trap *trap, void *trap_ctx);
1417 const struct devlink_trap *trap,
H A Dcore_acl_flex_actions.c15 #include "trap.h"
722 /* 20 bits is a maximum that hardware can handle in trap with userdef action
1165 * trap control. In addition, the Trap / Discard action enables activating
1187 MLXSW_ITEM32(afa, trap, trap_action, 0x00, 24, 4);
1197 MLXSW_ITEM32(afa, trap, forward_action, 0x00, 0, 4);
1202 MLXSW_ITEM32(afa, trap, trap_id, 0x04, 0, 9);
1207 MLXSW_ITEM32(afa, trap, mirror_agent, 0x08, 29, 3);
1212 MLXSW_ITEM32(afa, trap, mirror_enable, 0x08, 24, 1);
1216 * rule has caused a trap. This may be overwritten by later traps.
1221 MLXSW_ITEM32(afa, trap, user_def_va
[all...]
/linux-master/drivers/net/netdevsim/
H A Ddev.c843 /* For each running port and enabled packet trap, generate a UDP
934 /* caution, trap work takes devlink lock */
1060 const struct devlink_trap *trap,
1066 nsim_trap_item = nsim_dev_trap_item_lookup(nsim_dev, trap->id);
1071 nsim_trap_item->action = trap->init_action;
1078 const struct devlink_trap *trap,
1085 nsim_trap_item = nsim_dev_trap_item_lookup(nsim_dev, trap->id);
1309 const struct devlink_trap *trap,
1059 nsim_dev_devlink_trap_init(struct devlink *devlink, const struct devlink_trap *trap, void *trap_ctx) argument
1077 nsim_dev_devlink_trap_action_set(struct devlink *devlink, const struct devlink_trap *trap, enum devlink_trap_action action, struct netlink_ext_ack *extack) argument
1308 nsim_dev_devlink_trap_drop_counter_get(struct devlink *devlink, const struct devlink_trap *trap, u64 *p_drops) argument
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c122 switch (vcpu->arch.trap) {
197 vcpu->arch.trap = 0;
376 vcpu->arch.trap = 0;
428 return vcpu->arch.trap;
1424 } else if (vcpu->arch.trap == BOOK3S_INTERRUPT_H_INST_STORAGE) {
1443 if (vcpu->arch.trap == BOOK3S_INTERRUPT_H_INST_STORAGE) {
/linux-master/fs/smb/server/
H A Dvfs.c686 struct dentry *old_parent, *new_dentry, *trap; local
722 trap = lock_rename_child(old_child, new_path.dentry);
723 if (IS_ERR(trap)) {
724 err = PTR_ERR(trap);
767 if (old_child == trap) {
772 if (new_dentry == trap) {
/linux-master/arch/sh/kernel/cpu/sh2/
H A Dentry.S160 bt trap_entry ! 64 > vec >= 31 is trap
199 mov #0x1f,r9 ! convert to unified SH2/3/4 trap number
/linux-master/arch/m68k/fpsp040/
H A Dget_op.S38 | The '040 takes an unsupported data trap and gets to this
617 | ;another packed trap.
H A Dx_unfl.S16 | All trap disabled code applies. In addition the exceptional
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c44 static int set_user_ckpt_trap(struct task_struct *task, unsigned long trap) argument
46 set_trap(&task->thread.ckpt_regs, trap);
H A Dptrace-view.c66 REG_OFFSET_NAME(trap),
148 * We prevent mucking around with the reserved area of trap
151 static __always_inline int set_user_trap(struct task_struct *task, unsigned long trap) argument
153 set_trap(task->thread.regs, trap);
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flower.c107 if (rule->re_arg.trap.valid)
110 rule->re_arg.trap.valid = 1;
/linux-master/arch/x86/kernel/
H A Dkgdb.c481 printk(KERN_ERR "KGDB: trap/step from kernel to user space, "
557 struct pt_regs *regs, long err, int trap, int sig)
563 .trapnr = trap,
556 kgdb_ll_trap(int cmd, const char *str, struct pt_regs *regs, long err, int trap, int sig) argument
/linux-master/include/net/
H A Dip6_fib.h192 u8 trap; member in struct:fib6_info
578 bool offload, bool trap, bool offload_failed);
H A Ddevlink.h746 * struct devlink_trap_metadata - Packet trap metadata.
766 * struct devlink_trap_policer - Immutable packet trap policer attributes.
775 * Describes immutable attributes of packet trap policers that drivers register
789 * struct devlink_trap_group - Immutable packet trap group attributes.
792 * @generic: Whether the trap group is generic or not.
795 * Describes immutable attributes of packet trap groups that drivers register
809 * struct devlink_trap - Immutable packet trap attributes.
811 * @init_action: Initial trap action.
812 * @generic: Whether the trap is generic or not.
816 * @metadata_cap: Metadata types that can be provided by the trap
[all...]
/linux-master/net/ipv4/
H A Dfib_trie.c1061 READ_ONCE(fa_match->trap) == fri->trap &&
1066 WRITE_ONCE(fa_match->trap, fri->trap);
1314 new_fa->trap = 0;
1375 new_fa->trap = 0;
2322 fri.trap = READ_ONCE(fa->trap);
/linux-master/arch/riscv/kvm/
H A Dvcpu_insn.c145 * 5) Returns 3 to inject illegal instruction trap and continue
146 * 6) Returns 4 to inject virtual instruction trap and continue
158 /* Redirect trap to Guest VCPU */
174 /* Redirect trap to Guest VCPU */
413 * kvm_riscv_vcpu_virtual_insn -- Handle virtual instruction trap
417 * @trap: Trap details
424 struct kvm_cpu_trap *trap)
426 unsigned long insn = trap->stval;
492 /* Redirect trap if we failed to read instruction */
618 /* Redirect trap i
423 kvm_riscv_vcpu_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, struct kvm_cpu_trap *trap) argument
[all...]
/linux-master/arch/arm/kernel/
H A Dtraps.c287 /* trap and error numbers are mostly meaningless on ARM */
381 unsigned long err, unsigned long trap)
385 current->thread.trap_no = trap;
730 * A data abort trap was taken, but we did not handle the instruction.
379 arm_notify_die(const char *str, struct pt_regs *regs, int signo, int si_code, void __user *addr, unsigned long err, unsigned long trap) argument
/linux-master/arch/sparc/kernel/
H A Drtrap_32.S3 * rtrap.S: Return from Sparc trap low-level code.
113 * set we can return from trap safely.
184 be 1f ! Nope, just return from the trap
/linux-master/fs/overlayfs/
H A Dutil.c1214 struct dentry *trap; local
1221 trap = lock_rename(workdir, upperdir);
1222 if (IS_ERR(trap))
1224 if (trap)
H A Dcopy_up.c745 struct dentry *temp, *upper, *trap; local
782 trap = lock_rename(c->workdir, c->destdir);
783 if (trap || temp->d_parent != c->workdir) {
787 if (IS_ERR(trap))
/linux-master/drivers/net/wireless/intersil/p54/
H A Dtxrx.c609 struct p54_trap *trap = (struct p54_trap *) hdr->data; local
610 u16 event = le16_to_cpu(trap->event);
611 u16 freq = le16_to_cpu(trap->frequency);
/linux-master/arch/x86/kvm/svm/
H A Davic.c510 * The exit is a trap, e.g. ICR holds the correct value and RIP
703 bool trap = is_avic_unaccelerated_access_trap(offset); local
706 trap, write, vector);
707 if (trap) {
709 WARN_ONCE(!write, "svm: Handling trap read.\n");
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx8.asm148 /* trap handler entry points */
157 s_branch L_SKIP_RESTORE //NOT restore. might be a regular trap or save
172 /* read tba and tma for next level trap handler, ttmp4 is used as s_save_status */
176 s_cbranch_scc0 L_NO_NEXT_TRAP //next level trap handler not been set
178 s_setpc_b64 [ttmp8,ttmp9] //jump to next level trap handler
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.h264 u64 trap; member in struct:sja1105_l2_lookup_entry::__anon5::__anon6

Completed in 509 milliseconds

1234567