/linux-master/kernel/bpf/ |
H A D | verifier.c | 18701 struct bpf_insn trap = BPF_JMP_IMM(BPF_JA, 0, 0, -1); local 18709 memcpy(insn + i, &trap, sizeof(trap));
|
/linux-master/net/ipv4/ |
H A D | route.c | 3358 fri.trap = 0; 3372 fri.trap = READ_ONCE(fa->trap);
|
H A D | nexthop.c | 3906 void nexthop_set_hw_flags(struct net *net, u32 id, bool offload, bool trap) argument 3919 if (trap) 3928 bool offload, bool trap) 3953 if (trap) 3927 nexthop_bucket_set_hw_flags(struct net *net, u32 id, u16 bucket_index, bool offload, bool trap) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core.c | 33 #include "trap.h" 1620 const struct devlink_trap *trap, 1628 return mlxsw_driver->trap_init(mlxsw_core, trap, trap_ctx); 1632 const struct devlink_trap *trap, 1640 mlxsw_driver->trap_fini(mlxsw_core, trap, trap_ctx); 1644 const struct devlink_trap *trap, 1653 return mlxsw_driver->trap_action_set(mlxsw_core, trap, action, extack); 1619 mlxsw_devlink_trap_init(struct devlink *devlink, const struct devlink_trap *trap, void *trap_ctx) argument 1631 mlxsw_devlink_trap_fini(struct devlink *devlink, const struct devlink_trap *trap, void *trap_ctx) argument 1643 mlxsw_devlink_trap_action_set(struct devlink *devlink, const struct devlink_trap *trap, enum devlink_trap_action action, struct netlink_ext_ack *extack) argument
|
/linux-master/arch/arc/kernel/ |
H A D | entry.S | 202 ; call the non syscall trap handler
|
/linux-master/fs/smb/server/ |
H A D | vfs.c | 686 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/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 71 #include "en/trap.h" 246 err = mlx5e_handle_trap_event(priv, trap_event_ctx->trap);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 1239 u32 trap[4]; local 1241 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; 1242 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); 1243 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); 1244 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); 1246 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); 1248 nvkm_error(subdev, "GPC%d/PROP trap: %08x [%s] x = %u, y = %u, " 1250 gpc, trap[0], error, trap[1] & 0xffff, trap[ 1323 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); local 1335 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0084)); local 1342 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x048c)); local 1349 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0430)); local 1374 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0900)); local 1381 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x1028)); local 1388 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0824)); local 1414 u32 trap = nvkm_rd32(device, 0x400108); local [all...] |
/linux-master/fs/ |
H A D | namei.c | 2022 * do not trap on the (extremely unlikely) case of a page 4924 struct dentry *trap; local 4972 trap = lock_rename(new_path.dentry, old_path.dentry); 4973 if (IS_ERR(trap)) { 4974 error = PTR_ERR(trap); 5016 if (old_dentry == trap) 5021 if (new_dentry == trap)
|
/linux-master/fs/nfsd/ |
H A D | vfs.c | 1816 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; local 1852 trap = lock_rename(tdentry, fdentry); 1853 if (IS_ERR(trap)) { 1873 if (odentry == trap) 1881 if (ndentry == trap)
|
/linux-master/fs/debugfs/ |
H A D | inode.c | 877 struct dentry *dentry = NULL, *trap; local 887 trap = lock_rename(new_dir, old_dir); 892 if (d_really_is_negative(old_dentry) || old_dentry == trap || 897 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry))
|
/linux-master/arch/arm/kernel/ |
H A D | traps.c | 287 /* 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/fs/overlayfs/ |
H A D | copy_up.c | 745 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/arch/riscv/kvm/ |
H A D | vcpu_insn.c | 145 * 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/powerpc/xmon/ |
H A D | xmon.c | 534 cpu, regs->trap, getvecname(TRAP(regs))); 601 * A system reset (trap == 0x100) can be triggered on 669 regs->trap, getvecname(TRAP(regs))); 767 /* Are we at the trap at bp->instr[1] for some bp? */ 1635 (bp->enabled & BP_CIABR) ? "inst": "trap"); 1790 printf("--- Exception: %lx %s at ", regs.trap, 1823 addr = regs->nip; /* address of trap instruction */ 1843 unsigned long trap; local 1849 trap = TRAP(fp); 1850 printf("Vector: %lx %s at [%px]\n", fp->trap, getvecnam 1887 int n, trap; local [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | hash_utils.c | 1315 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) argument 1327 if (trap == INTERRUPT_INST_STORAGE) { 1425 unsigned long vsid, unsigned long trap, 1432 pr_info(" trap=0x%lx vsid=0x%lx ssize=%d base psize=%d psize %d pte=0x%lx\n", 1433 trap, vsid, ssize, psize, lpsize, pte); 1460 unsigned long access, unsigned long trap, 1471 DBG_LOW("hash_page(ea=%016lx, access=%lx, trap=%lx\n", 1472 ea, access, trap); 1473 trace_hash_fault(ea, access, trap); 1572 trap, flag 1424 hash_failure_debug(unsigned long ea, unsigned long access, unsigned long vsid, unsigned long trap, int ssize, int psize, int lpsize, unsigned long pte) argument 1459 hash_page_mm(struct mm_struct *mm, unsigned long ea, unsigned long access, unsigned long trap, unsigned long flags) argument 1669 hash_page(unsigned long ea, unsigned long access, unsigned long trap, unsigned long dsisr) argument 1762 hash_preload(struct mm_struct *mm, pte_t *ptep, unsigned long ea, bool is_exec, unsigned long trap) argument 1858 unsigned long trap; local [all...] |
H A D | hash_hugepage.c | 22 pmd_t *pmdp, unsigned long trap, unsigned long flags, 163 hash_failure_debug(ea, access, vsid, trap, ssize, 21 __hash_page_thp(unsigned long ea, unsigned long access, unsigned long vsid, pmd_t *pmdp, unsigned long trap, unsigned long flags, int ssize, unsigned int psize) argument
|
/linux-master/arch/powerpc/lib/ |
H A D | sstep.c | 1516 goto trap; 1521 goto trap; 1736 goto trap; 1741 goto trap; 3170 trap:
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 488 pr_err("pc = %.16lx msr = %.16llx trap = %x\n", 489 vcpu->arch.regs.nip, vcpu->arch.shregs.msr, vcpu->arch.trap); 1644 printk(KERN_EMERG "KVM trap in HV mode!\n"); 1645 printk(KERN_EMERG "trap=0x%x | pc=0x%lx | msr=0x%llx\n", 1646 vcpu->arch.trap, kvmppc_get_pc(vcpu), 1650 run->hw.hardware_exit_reason = vcpu->arch.trap; 1655 switch (vcpu->arch.trap) { 1659 vcpu->arch.trap = BOOK3S_INTERRUPT_HV_DECREMENTER; 1703 run->hw.hardware_exit_reason = vcpu->arch.trap; 1947 printk(KERN_EMERG "trap 3753 set_irq_happened(int trap) argument 3790 int trap; local 4116 int trap; local 4170 int trap; local 4264 int trap; local 4717 int trap, r, pcpu; local [all...] |
H A D | book3s_hv_nested.c | 122 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/arch/powerpc/kernel/ |
H A D | traps.c | 91 /* Transactional Memory trap debug */ 105 case SIGTRAP: return "unhandled trap"; 1094 printk("Bad trap at PC: %lx, SR: %lx, vector=%lx\n", 1095 regs->nip, regs->msr, regs->trap); 1102 printk("Bad trap at PC: %lx, SR: %lx, vector=%lx\n", 1103 regs->nip, regs->msr, regs->trap); 1110 printk("Bad trap at PC: %lx, SR: %lx, vector=%lx\n", 1111 regs->nip, regs->msr, regs->trap); 1501 /* trap exception */ 1571 * handling a user space trap an [all...] |
H A D | asm-offsets.c | 294 STACK_PT_REGS_OFFSET(_TRAP, trap); 468 OFFSET(VCPU_TRAP, kvm_vcpu, arch.trap);
|
/linux-master/arch/powerpc/include/asm/ |
H 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; 287 TP_printk("hash fault with addr 0x%lx and access = 0x%lx trap = 0x%lx", 288 __entry->addr, __entry->access, __entry->trap)
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | perf_regs.c | 61 SMPL_REG(trap, PERF_REG_POWERPC_TRAP),
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx10.asm | 191 s_branch L_SKIP_RESTORE //NOT restore. might be a regular trap or save 212 // If ttmp1[31] is set then trap may occur early. 222 // Host trap may occur while wave is halted. 230 // Wave is halted but neither host trap nor SAVECTX is raised. 238 // Let second-level handle non-SAVECTX exception or trap. 242 // and xnack_error exceptions always cause the wave to enter the trap 248 // Maskable exceptions only cause the wave to enter the trap handler if 270 // Second-level trap will halt wave and RFE, re-entering for SAVECTX. 301 s_load_dword ttmp2, [ttmp14, ttmp15], 0x10 glc:1 // debug trap enabled flag 313 s_cbranch_scc0 L_NO_NEXT_TRAP // second-level trap handle [all...] |