Searched refs:trap (Results 51 - 75 of 162) sorted by relevance

1234567

/linux-master/arch/riscv/include/asm/
H A Dkvm_host.h355 struct kvm_cpu_trap *trap);
357 struct kvm_cpu_trap *trap);
359 struct kvm_cpu_trap *trap);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgf100.c1239 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/arch/m68k/fpsp040/
H A Dkernel_ex.S49 | if dz trap disabled
56 | else dz trap enabled
105 | if (operr trap disabled)
110 | else (operr trap enabled)
267 | is set, but the underflow trap was not taken, the aunfl bit in
309 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled
343 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled
H A Dx_ovfl.S29 | All trap disabled code applies. In addition the exceptional
H A Dx_snan.S9 | For trap disabled the 040 does the following:
16 | For trap enabled the 040 does the following:
17 | If the inst is move_out, then the results are the same as for trap
50 | Check if trap enabled
/linux-master/arch/riscv/kvm/
H A Dvcpu.c681 struct kvm_cpu_trap trap; local
797 trap.sepc = vcpu->arch.guest_context.sepc;
798 trap.scause = csr_read(CSR_SCAUSE);
799 trap.stval = csr_read(CSR_STVAL);
800 trap.htval = csr_read(CSR_HTVAL);
801 trap.htinst = csr_read(CSR_HTINST);
827 ret = kvm_riscv_vcpu_exit(vcpu, run, &trap);
/linux-master/fs/overlayfs/
H A Dsuper.c434 struct dentry *trap = lock_rename(workdir, upperdir); local
435 if (!IS_ERR(trap))
437 ok = (trap == NULL);
445 struct inode *trap; local
448 trap = ovl_get_trap_inode(sb, dir);
449 err = PTR_ERR_OR_ZERO(trap);
456 *ptrap = trap;
497 err = ovl_setup_trap(sb, upperpath->dentry, &upper_layer->trap,
1020 struct inode *trap; local
1037 err = ovl_setup_trap(sb, l->path.dentry, &trap, "lowerdi
[all...]
H A Dovl_entry.h37 struct inode *trap; member in struct:ovl_layer
/linux-master/arch/sparc/kernel/
H A Dcherrs.S2 /* These get patched into the trap table at boot time
175 * jump to interrupt globals. If some trap level above us
182 rdpr %tl, %g1 ! Save original trap level
185 1: wrpr %g2, %tl ! Set trap level to check
189 wrpr %g1, %tl ! Restore original trap level
190 add %g2, 1, %g2 ! Next trap level
194 wrpr %g1, %tl ! Restore original trap level
233 rdpr %tl, %g1 ! Save original trap level
236 1: wrpr %g2, %tl ! Set trap level to check
240 wrpr %g1, %tl ! Restore original trap leve
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx9.asm184 /* trap handler entry points */
193 s_branch L_SKIP_RESTORE //NOT restore. might be a regular trap or save
212 // Host trap may occur while wave is halted.
220 // Wave is halted but neither host trap nor SAVECTX is raised.
228 // Let second-level handle non-SAVECTX exception or trap.
232 // and debugger (host trap, wave start/end, trap after instruction)
233 // exceptions always cause the wave to enter the trap handler.
244 // Maskable exceptions only cause the wave to enter the trap handler if
266 // Second-level trap wil
[all...]
H A Dcwsr_trap_handler_gfx10.asm191 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...]
/linux-master/drivers/net/netdevsim/
H A Dfib.c331 fri.trap = false;
338 bool trap)
351 fri.trap = trap;
629 WRITE_ONCE(fib6_event->rt_arr[i]->trap, true);
636 WRITE_ONCE(fib6_event->rt_arr[i]->trap, false);
665 bool trap)
671 fib6_info_hw_flags_set(net, fib6_rt_nh->rt, false, trap, false);
676 bool trap)
1185 bool trap)
336 nsim_fib4_rt_hw_flags_set(struct net *net, const struct nsim_fib4_rt *fib4_rt, bool trap) argument
663 nsim_fib6_rt_hw_flags_set(struct nsim_fib_data *data, const struct nsim_fib6_rt *fib6_rt, bool trap) argument
674 nsim_fib6_rt_hw_flags_set(struct nsim_fib_data *data, const struct nsim_fib6_rt *fib6_rt, bool trap) argument
1183 nsim_nexthop_hw_flags_set(struct net *net, const struct nsim_nexthop *nexthop, bool trap) argument
[all...]
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dcfg_space.c139 static void trap_gttmmio(struct intel_vgpu *vgpu, bool trap) argument
141 if (trap != vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].tracked)
142 vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].tracked = trap;
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace.c367 BUILD_BUG_ON(offsetof(struct pt_regs, trap) !=
368 offsetof(struct user_pt_regs, trap));
431 CHECK_REG(PT_TRAP, trap);
/linux-master/arch/powerpc/include/uapi/asm/
H A Dptrace.h52 unsigned long trap; /* Reason for being here */ member in struct:user_pt_regs
/linux-master/arch/powerpc/kvm/
H A Dtrace_hv.h271 __field(int, trap)
279 __entry->trap = vcpu->arch.trap;
285 TP_printk("VCPU %d: trap=%s pc=0x%lx msr=0x%lx, ceded=%d",
287 __print_symbolic(__entry->trap, kvm_trace_symbol_exit),
H A Dbook3s_hv.c488 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...]
/linux-master/arch/m68k/kernel/
H A Dentry.S41 .globl system_call, buserr, trap, resume
119 ENTRY(trap)
169 trap #0
173 trap #0
/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema.c66 * The trap service level is kept in bits 3 to 7 in the trap_sl_rsvd
71 /* Cap trap bursts to a reasonable limit good for normal cases */
75 * VNIC trap limit timeout.
710 * opa_vnic_vema_send_trap -- This function sends a trap to the EM
712 * @data: pointer to trap data filled by calling function
715 * This function is called from the VNIC driver to send a trap if there
736 struct opa_veswport_trap *trap; local
767 * check for trap lid validity, must not be zero
768 * The trap sink could change after we fashion the MAD but since traps
828 /* copy the actual trap dat
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dplpar_wrappers.h472 unsigned long vcpu_id, int *trap,
480 *trap = retbuf[0];
645 unsigned long vcpu_id, int *trap,
471 plpar_guest_run_vcpu(unsigned long flags, unsigned long guest_id, unsigned long vcpu_id, int *trap, unsigned long *failed_index) argument
644 plpar_guest_run_vcpu(unsigned long flags, unsigned long guest_id, unsigned long vcpu_id, int *trap, unsigned long *failed_index) argument
/linux-master/arch/m68k/ifpsp060/
H A Diskeleton.S114 bral trap | jump to trap handler
154 bral trap | jump to trap handler
/linux-master/arch/powerpc/perf/
H A Dperf_regs.c67 PT_REGS_OFFSET(PERF_REG_POWERPC_TRAP, trap),
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_acl.h109 } accept, drop, trap; member in struct:prestera_acl_rule_entry_arg::__anon953
/linux-master/arch/powerpc/kernel/
H A Dhead_64.S101 trap
193 0: trap
621 /* We never return. We also hit that trap if trying to boot
623 trap
1042 0: trap
/linux-master/arch/m68k/68000/
H A Dints.c35 asmlinkage void trap(void);

Completed in 258 milliseconds

1234567