Home
last modified time | relevance | path

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

/linux-4.4.14/arch/m68k/68000/
Dromvec.S15 .global trap
21 .long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap
22 .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
[all …]
Dints.c32 asmlinkage void trap(void);
/linux-4.4.14/arch/m68k/68360/
Dhead-rom.S297 .long trap /* Address Error - 3. */
298 .long trap /* Illegal Instruction - 4. */
299 .long trap /* Divide by zero - 5. */
300 .long trap /* CHK, CHK2 Instructions - 6. */
301 .long trap /* TRAPcc, TRAPV Instructions - 7. */
302 .long trap /* Privilege Violation - 8. */
303 .long trap /* Trace - 9. */
304 .long trap /* Line 1010 Emulator - 10. */
305 .long trap /* Line 1111 Emualtor - 11. */
306 .long trap /* Harware Breakpoint - 12. */
[all …]
Dhead-ram.S286 .long trap /* Address Error - 3. */
287 .long trap /* Illegal Instruction - 4. */
288 .long trap /* Divide by zero - 5. */
289 .long trap /* CHK, CHK2 Instructions - 6. */
290 .long trap /* TRAPcc, TRAPV Instructions - 7. */
291 .long trap /* Privilege Violation - 8. */
292 .long trap /* Trace - 9. */
293 .long trap /* Line 1010 Emulator - 10. */
294 .long trap /* Line 1111 Emualtor - 11. */
295 .long trap /* Harware Breakpoint - 12. */
[all …]
Dints.c31 asmlinkage void trap(void);
67 _ramvec[3] = trap; in trap_init()
68 _ramvec[4] = trap; in trap_init()
69 _ramvec[5] = trap; in trap_init()
70 _ramvec[6] = trap; in trap_init()
71 _ramvec[7] = trap; in trap_init()
72 _ramvec[8] = trap; in trap_init()
73 _ramvec[9] = trap; in trap_init()
74 _ramvec[10] = trap; in trap_init()
75 _ramvec[11] = trap; in trap_init()
[all …]
/linux-4.4.14/arch/frv/kernel/
Dentry-table.S19 # Declare the main trap and vector tables
23 # (1) The trap table for debug mode
24 # (2) The trap table for kernel mode
25 # (3) The trap table for user mode
35 # The user and kernel trap tables use the same prologue for normal
39 # (5) The fixup table for kernel-trap single-step
40 # (6) The fixup table for user-trap single-step
47 # The linker script places the user mode and kernel mode trap tables on to
53 # trap table for entry from debug mode
54 .section .trap.break,"ax"
[all …]
Dvmlinux.lds.S45 .trap : {
49 *(.trap.user) argument
50 *(.trap.kernel)
52 *(.trap.break)
82 *(.trap.vector)
86 *(.trap.fixup.user .trap.fixup.kernel)
Dbreak.S237 # access the fixup table - there's a 1:1 mapping between the slots in the trap tables and
238 # the slots in the trap fixup tables allowing us to simply divide the offset into the
334 # we stepped through into the virtual interrupt reenablement trap
356 # return to where the trap happened
466 # we'll want to try the trap stub again
Dhead-uc-fr451.S159 # the FR451 also has an extra trap base register
Dentry.S159 # switch to the kernel trap table
189 # TBR - kernel trap vector table
Dhead.S439 # point the TBR at the kernel trap table
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv50.c161 u32 trap[6], idx, inst; in nv50_fb_intr() local
173 trap[i] = nvkm_rd32(device, 0x100c94); in nv50_fb_intr()
180 st0 = (trap[0] & 0x0000000f) >> 0; in nv50_fb_intr()
181 st1 = (trap[0] & 0x000000f0) >> 4; in nv50_fb_intr()
182 st2 = (trap[0] & 0x00000f00) >> 8; in nv50_fb_intr()
183 st3 = (trap[0] & 0x0000f000) >> 12; in nv50_fb_intr()
185 st0 = (trap[0] & 0x000000ff) >> 0; in nv50_fb_intr()
186 st1 = (trap[0] & 0x0000ff00) >> 8; in nv50_fb_intr()
187 st2 = (trap[0] & 0x00ff0000) >> 16; in nv50_fb_intr()
188 st3 = (trap[0] & 0xff000000) >> 24; in nv50_fb_intr()
[all …]
Dgt215.c30 .trap = 0x000d0fff,
Dg84.c30 .trap = 0x001d07ff,
Dmcp89.c30 .trap = 0x089d1fff,
Dmcp77.c30 .trap = 0x001d07ff,
Dnv50.h15 u32 trap; member
/linux-4.4.14/arch/powerpc/include/asm/
Dptrace.h130 #define FULL_REGS(regs) (((regs)->trap & 1) == 0)
132 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
133 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
134 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0)
136 #define TRAP(regs) ((regs)->trap & ~0xF)
139 #define CHECK_FULL_REGS(regs) BUG_ON(regs->trap & 1)
144 if ((regs)->trap & 1) \
Dtrace.h149 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap),
150 TP_ARGS(addr, access, trap),
154 __field(unsigned long, trap)
160 __entry->trap = trap;
164 __entry->addr, __entry->access, __entry->trap)
Dmmu-hash64.h325 unsigned long vsid, pte_t *ptep, unsigned long trap,
328 unsigned long vsid, pte_t *ptep, unsigned long trap,
331 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap);
333 unsigned long access, unsigned long trap,
335 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
338 pte_t *ptep, unsigned long trap, unsigned long flags,
342 unsigned long vsid, pmd_t *pmdp, unsigned long trap,
347 unsigned long trap, unsigned long flags, in __hash_page_thp() argument
355 unsigned long vsid, unsigned long trap,
Dexception-64s.h535 #define EXCEPTION_COMMON(trap, label, hdlr, ret, additions) \ argument
539 EXCEPTION_PROLOG_COMMON(trap, PACA_EXGEN); \
546 #define STD_EXCEPTION_COMMON(trap, label, hdlr) \ argument
547 EXCEPTION_COMMON(trap, label, hdlr, ret_from_except, \
555 #define STD_EXCEPTION_COMMON_ASYNC(trap, label, hdlr) \ argument
556 EXCEPTION_COMMON(trap, label, hdlr, ret_from_except_lite, \
Dkvm_host.h632 int trap; member
/linux-4.4.14/drivers/lguest/
Dinterrupts_and_traps.c378 static bool has_err(unsigned int trap) in has_err() argument
380 return (trap == 8 || (trap >= 10 && trap <= 14) || trap == 17); in has_err()
520 static void set_trap(struct lg_cpu *cpu, struct desc_struct *trap, in set_trap() argument
527 trap->a = trap->b = 0; in set_trap()
541 trap->a = ((__KERNEL_CS|GUEST_PL)<<16) | (lo&0x0000FFFF); in set_trap()
542 trap->b = (hi&0xFFFFEF00); in set_trap()
582 int trap, in default_idt_entry() argument
593 if (trap == LGUEST_TRAP_ENTRY) in default_idt_entry()
Dlguest_user.c88 static int trap(struct lg_cpu *cpu, const unsigned long __user *input) in trap() function
144 if (cpu->pending.trap) in read()
145 cpu->pending.trap = 0; in read()
336 return trap(cpu, input); in write()
Dhypercalls.c189 if (cpu->pending.trap) in do_async_hcalls()
279 if (!cpu->pending.trap) { in do_hypercalls()
Dcore.c229 if (cpu->pending.trap) { in run_guest()
/linux-4.4.14/arch/m68k/ifpsp060/
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 …]
Diskeleton.S114 bral trap | jump to trap handler
154 bral trap | jump to trap handler
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c860 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
862 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
863 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
864 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
865 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
867 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
871 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
872 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
925 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
926 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
[all …]
/linux-4.4.14/arch/m68k/coldfire/
Dvectors.c38 asmlinkage void trap(void);
53 _ramvec[i] = trap; in trap_init()
55 _ramvec[i] = trap; in trap_init()
/linux-4.4.14/arch/powerpc/mm/
Dhash_utils_64.c852 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument
863 if (trap == 0x400) { in hash_page_do_lazy_icache()
960 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
968 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
994 unsigned long access, unsigned long trap, in hash_page_mm() argument
1008 ea, access, trap); in hash_page_mm()
1009 trace_hash_fault(ea, access, trap); in hash_page_mm()
1094 trap, flags, ssize, psize); in hash_page_mm()
1097 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1157 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm()
[all …]
Dhugetlbpage-hash64.c22 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_huge() argument
70 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
116 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
Dhugepage-hash64.c22 pmd_t *pmdp, unsigned long trap, unsigned long flags, in __hash_page_thp() argument
77 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_thp()
171 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_thp()
Dmem.c495 unsigned long access = 0, trap; in update_mmu_cache() local
510 trap = TRAP(current->thread.regs); in update_mmu_cache()
511 if (trap == 0x400) in update_mmu_cache()
513 else if (trap != 0x300) in update_mmu_cache()
515 hash_preload(vma->vm_mm, address, access, trap); in update_mmu_cache()
Dfault.c217 int trap = TRAP(regs); in do_page_fault() local
218 int is_exec = trap == 0x400; in do_page_fault()
229 if (trap == 0x400) in do_page_fault()
521 switch (regs->trap) { in bad_page_fault()
Dmmu_decl.h86 unsigned long access, unsigned long trap);
Dtlb_nohash_low.S119 1: trap
186 1: trap
Dppc_mmu_32.c166 unsigned long access, unsigned long trap) in hash_preload() argument
/linux-4.4.14/arch/m68k/kernel/
Dvectors.c33 asmlinkage void trap(void);
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
83 vectors[i] = trap; in trap_init()
Dentry.S45 .globl system_call, buserr, trap, resume
92 ENTRY(trap)
142 trap #0
146 trap #0
Dsun3-head.S82 trap #15
Dhead.S825 trap #15
3114 trap #15
/linux-4.4.14/arch/mips/kernel/
Dkgdb.c292 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify() local
315 if (kgdb_handle_exception(trap, compute_signal(trap), cmd, regs)) { in kgdb_mips_notify()
321 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
334 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument
340 .trapnr = trap, in kgdb_ll_trap()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c924 struct snmp_v1_trap *trap, in snmp_trap_decode() argument
937 if (!asn1_oid_decode(ctx, end, &trap->id, &trap->id_len)) in snmp_trap_decode()
947 if (!asn1_octets_decode(ctx, end, (unsigned char **)&trap->ip_address, &len)) in snmp_trap_decode()
962 if (!asn1_uint_decode(ctx, end, &trap->general)) in snmp_trap_decode()
971 if (!asn1_uint_decode(ctx, end, &trap->specific)) in snmp_trap_decode()
981 if (!asn1_ulong_decode(ctx, end, &trap->time)) in snmp_trap_decode()
987 kfree((unsigned long *)trap->ip_address); in snmp_trap_decode()
990 kfree(trap->id); in snmp_trap_decode()
1106 struct snmp_v1_trap trap; in snmp_parse_mangle() local
1107 unsigned char ret = snmp_trap_decode(&ctx, &trap, map, check); in snmp_parse_mangle()
[all …]
/linux-4.4.14/Documentation/arm/
Dmem_alignment9 Of course this is a bad idea to rely on the alignment trap to perform
12 alignment trap can fixup misaligned access for the exception cases, but at
16 trap to SIGBUS any code performing unaligned access (good for debugging bad
26 To change the alignment trap behavior, simply echo a number into
Dkernel_mode_neon.txt34 every context switch, resulting in a trap when subsequently a NEON/VFP
44 mode will hit the lazy restore trap upon next use. This is handled by the
Dmemory.txt75 00000000 00000fff CPU vector page / null pointer trap
/linux-4.4.14/arch/avr32/mm/
Dfault.c24 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
29 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
36 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
/linux-4.4.14/arch/sparc/kernel/
Dcherrs.S181 rdpr %tl, %g1 ! Save original trap level
184 1: wrpr %g2, %tl ! Set trap level to check
188 wrpr %g1, %tl ! Restore original trap level
189 add %g2, 1, %g2 ! Next trap level
193 wrpr %g1, %tl ! Restore original trap level
232 rdpr %tl, %g1 ! Save original trap level
235 1: wrpr %g2, %tl ! Set trap level to check
239 wrpr %g1, %tl ! Restore original trap level
240 add %g2, 1, %g2 ! Next trap level
244 wrpr %g1, %tl ! Restore original trap level
Dwof.S116 restore %g0, %g0, %g0 ! go back into trap window
123 jmp %t_pc ! Return from trap
Detrap_32.S94 bne trap_setup_kernel_spill ! in trap window, clean up
163 orn %g0, %t_twinmask, %g1 ! negate trap win mask into %g1
Dspiterrs.S166 cmp %g3, 0x80 ! first win spill/fill trap
168 cmp %g3, 0xff ! last win spill/fill trap
Drtrap_32.S183 be 1f ! Nope, just return from the trap
Dhead_32.S159 andn %g1, 0xfff, %g1 ! proms trap table base
560 wr %g0, 0x0, %wim ! so we do not get a trap
Dentry.S203 mov %l7, %o1 ! trap number
709 jmp %l2 ! advance over trap instruction
729 jmp %l2 ! advance over trap instruction
1085 st %fsr, [%o1] ! this can trap on us if fpu is in bogon state
Dtsb.S302 ba,pt %xcc, etrap ! Save trap state
/linux-4.4.14/arch/m68k/fpsp040/
Dkernel_ex.S49 | if dz trap disabled
56 | else dz trap enabled
105 | if (operr trap disabled)
110 | else (operr trap enabled)
343 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled
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
Dx_ovfl.S29 | All trap disabled code applies. In addition the exceptional
Dget_op.S38 | The '040 takes an unsupported data trap and gets to this
617 | ;another packed trap.
Dx_unfl.S16 | All trap disabled code applies. In addition the exceptional
Dfpsp.h340 .set TRACE_VEC,0x2024 | trace trap
Dgen_except.S260 | The caller was from an unsupported data type trap. Test if the
/linux-4.4.14/arch/ia64/mm/
Dfault.c22 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
29 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
37 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
/linux-4.4.14/arch/powerpc/kernel/
Dsignal.c117 regs->trap = 0; in do_signal()
143 regs->trap = 0; in do_signal()
Dprocess.c621 thr->regs->trap); in tm_reclaim_task()
1013 int i, trap; in show_regs() local
1020 regs, regs->trap, print_tainted(), init_utsname()->release); in show_regs()
1024 trap = TRAP(regs); in show_regs()
1025 if ((regs->trap != 0xc00) && cpu_has_feature(CPU_FTR_CFAR)) in show_regs()
1027 if (trap == 0x200 || trap == 0x300 || trap == 0x600) in show_regs()
1254 regs->trap &= ~1UL; in start_thread()
1595 regs->trap, (void *)regs->nip, (void *)lr); in show_stack()
Dppc32.h29 unsigned int trap; /* Reason for being here */ member
Dtraps.c772 regs->nip, regs->msr, regs->trap); in unknown_exception()
1328 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1346 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1363 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1386 hv = (regs->trap == 0xf80); in facility_unavailable_exception()
1709 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1851 regs->trap, regs->nip); in unrecoverable_exception()
Dhead_booke.h193 trap
226 #define EXC_XFER_TEMPLATE(hdlr, trap, msr, copyee, tfer, ret) \ argument
227 li r10,trap; \
Dhead_32.S127 trap
139 trap
312 #define EXC_XFER_TEMPLATE(n, hdlr, trap, copyee, tfer, ret) \ argument
313 li r10,trap; \
1048 4: trap
Dhead_64.S77 trap
453 trap
Dptrace.c110 REG_OFFSET_NAME(trap),
212 static int set_user_trap(struct task_struct *task, unsigned long trap) in set_user_trap() argument
214 task->thread.regs->trap = trap & 0xfff0; in set_user_trap()
Dsignal_64.c342 regs->trap = 0; in restore_sigcontext()
466 err |= __get_user(regs->trap, &sc->gp_regs[PT_TRAP]); in restore_tm_sigcontexts()
Dhead_8xx.S199 #define EXC_XFER_TEMPLATE(n, hdlr, trap, copyee, tfer, ret) \ argument
200 li r10,trap; \
Dhead_40x.S215 #define EXC_XFER_TEMPLATE(hdlr, trap, msr, copyee, tfer, ret) \ argument
216 li r10,trap; \
Dasm-offsets.c325 DEFINE(_TRAP, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, trap)); in main()
552 DEFINE(VCPU_TRAP, offsetof(struct kvm_vcpu, arch.trap)); in main()
Dsignal_32.c679 regs->trap = 0; in restore_user_regs()
/linux-4.4.14/arch/powerpc/xmon/
Dxmon.c434 cpu, regs->trap, getvecname(TRAP(regs))); in xmon_core()
547 regs->trap, getvecname(TRAP(regs))); in xmon_core()
1012 regs->trap = 0xd00 | (regs->trap & 1); in do_step()
1437 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1490 unsigned long trap; in excprint() local
1496 trap = TRAP(fp); in excprint()
1497 printf("Vector: %lx %s at [%lx]\n", fp->trap, getvecname(trap), fp); in excprint()
1507 if (trap == 0x300 || trap == 0x380 || trap == 0x600 || trap == 0x200) { in excprint()
1509 if (trap != 0x380) in excprint()
1523 if (trap == 0x700) in excprint()
[all …]
/linux-4.4.14/arch/unicore32/include/asm/
Dbug.h20 struct siginfo *info, unsigned long err, unsigned long trap);
/linux-4.4.14/arch/powerpc/kvm/
Dtrace_hv.h252 __field(int, trap)
260 __entry->trap = vcpu->arch.trap;
268 __print_symbolic(__entry->trap, kvm_trace_symbol_exit),
Dbook3s_hv_builtin.c238 void kvmhv_commence_exit(int trap) in kvmhv_commence_exit() argument
261 if (trap != BOOK3S_INTERRUPT_HV_DECREMENTER) in kvmhv_commence_exit()
Dbook3s_hv.c288 vcpu->arch.pc, vcpu->arch.shregs.msr, vcpu->arch.trap); in kvmppc_dump_regs()
844 switch (vcpu->arch.trap) { in kvmppc_handle_exit_hv()
948 vcpu->arch.trap, kvmppc_get_pc(vcpu), in kvmppc_handle_exit_hv()
950 run->hw.hardware_exit_reason = vcpu->arch.trap; in kvmppc_handle_exit_hv()
2230 if (vcpu->arch.trap) in post_guest_process()
2235 vcpu->arch.trap = 0; in post_guest_process()
2563 vcpu->arch.trap = 0; in kvmppc_run_vcpu()
/linux-4.4.14/include/linux/
Dlguest_launcher.h40 __u8 trap; member
Dkdebug.h20 struct pt_regs *regs, long err, int trap, int sig);
/linux-4.4.14/arch/alpha/oprofile/
Dop_model_ev67.c157 unsigned trap: 1; /* 39 */ in ev67_handle_interrupt() member
188 if (i_stat.fields.trap) { in ev67_handle_interrupt()
/linux-4.4.14/arch/mips/loongson32/
DPlatform3 -Wa,-mips32r2 -Wa,--trap
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_post.c871 u32 trap, trap_AC2, trap_MRS; in get_ddr3_info() local
876 trap = (ast_mindwm(ast, 0x1E6E2070) >> 25) & 0x3; in get_ddr3_info()
877 trap_AC2 = 0x00020000 + (trap << 16); in get_ddr3_info()
878 trap_AC2 |= 0x00300000 + ((trap & 0x2) << 19); in get_ddr3_info()
879 trap_MRS = 0x00000010 + (trap << 4); in get_ddr3_info()
880 trap_MRS |= ((trap & 0x2) << 18); in get_ddr3_info()
1236 u32 trap, trap_AC2, trap_MRS; in get_ddr2_info() local
1241 trap = (ast_mindwm(ast, 0x1E6E2070) >> 25) & 0x3; in get_ddr2_info()
1242 trap_AC2 = (trap << 20) | (trap << 16); in get_ddr2_info()
1244 trap_MRS = 0x00000040 | (trap << 4); in get_ddr2_info()
/linux-4.4.14/arch/mips/include/asm/
Dkgdb.h40 struct pt_regs *regs, long err, int trap, int sig);
/linux-4.4.14/Documentation/frv/
Dkernel-ABI.txt210 A TIHI #2 instruction (trap #2 if condition HI - Z==0 && C==0) would
211 be used to trap if interrupts were now virtually enabled, but
212 physically disabled - which they're not, so the trap isn't taken. The
245 then trap as both Z==0 [interrupts virtually enabled] and C==0
248 (9) The trap #2 handler would simply enable hardware interrupts
261 This trap (#2) is only available in kernel mode. In user mode it will
Dgdbstub.txt8 trap exceptions that happen in kernel space and interrupt execution. It also
Dfeatures.txt156 (4) Syscall entry/exit trap.
Dmmu-layout.txt193 00000000-00003fff 4KB NULL pointer access trap
/linux-4.4.14/Documentation/ia64/
Dfsys.txt169 transfer trap: arch/ia64/kernel/process.c:do_notify_resume_user()
172 "br.ret" instruction that lowers the privilege level, a trap will
173 occur. The trap handler clears PSR.lp again and returns immediately.
207 PSR.tb Lazy redirect. If a taken-branch trap occurs while in
208 fsys-mode, the trap-handler modifies the saved machine state
215 return will trigger a taken-branch trap, but since the trap is
227 be taken. The trap handler then modifies the saved machine
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dex.S51 .long nmi_trap_handler /* 1C0 */ ! Allow trap to debugger
Dentry.S494 mov r15, r8 ! trap handlers take saved regs in r8
/linux-4.4.14/arch/powerpc/sysdev/
Ddcr-low.S25 1: trap; \
/linux-4.4.14/arch/x86/include/asm/
Dkgdb.h87 struct pt_regs *regs, long err, int trap, int sig);
/linux-4.4.14/fs/debugfs/
Dinode.c671 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
674 trap = lock_rename(new_dir, old_dir); in debugfs_rename()
679 if (d_really_is_negative(old_dentry) || old_dentry == trap || in debugfs_rename()
684 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
/linux-4.4.14/Documentation/powerpc/
Dqe_firmware.txt75 3) The TIBCR trap registers are loaded with the addresses of the trap handlers
236 'vtraps' is an array of 8 words that contain virtual trap values for each
247 'traps' is an array of 16 words that contain hardware trap values
248 for each of the 16 traps. If trap[i] is 0, then this particular
249 trap is to be ignored (i.e. not written to TIBCR[i]). The entire value
Dtransactional_memory.txt179 TM_CAUSE_FAC_UNAV FP/VEC/VSX unavailable trap.
/linux-4.4.14/arch/blackfin/include/asm/
Dirq_handler.h26 asmlinkage void trap(void);
/linux-4.4.14/arch/arm/include/asm/
Dbug.h69 unsigned long err, unsigned long trap);
/linux-4.4.14/arch/unicore32/kernel/
Dtraps.c241 struct siginfo *info, unsigned long err, unsigned long trap) in uc32_notify_die() argument
245 current->thread.trap_no = trap; in uc32_notify_die()
Dentry.S216 @ Enable the alignment trap while in kernel mode
/linux-4.4.14/Documentation/parisc/
Dregisters56 H (Higher-privilege trap) 0
57 L (Lower-privilege trap) 0
67 R (Recovery Counter trap) 0
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Dqe.c515 u32 trap = be32_to_cpu(ucode->traps[j]); in qe_upload_firmware() local
517 if (trap) in qe_upload_firmware()
518 out_be32(&qe_immr->rsp[i].tibcr[j], trap); in qe_upload_firmware()
/linux-4.4.14/arch/mips/loongson64/
DPlatform6 cflags-$(CONFIG_CPU_LOONGSON2) += -Wa,--trap
/linux-4.4.14/arch/powerpc/math-emu/
Dmath.c234 int eflag, trap; in do_mathemu() local
441 trap = record_exception(regs, eflag); in do_mathemu()
442 if (trap) in do_mathemu()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
Dptrace.h46 unsigned long trap; /* Reason for being here */ member
/linux-4.4.14/kernel/
Dnotifier.c537 struct pt_regs *regs, long err, int trap, int sig) in notify_die() argument
543 .trapnr = trap, in notify_die()
/linux-4.4.14/arch/sh/mm/
Dfault.c26 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
32 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
/linux-4.4.14/drivers/lguest/x86/
Dcore.c361 cpu->pending.trap = 13; in setup_emulate_insn()
368 cpu->pending.trap = 14; in setup_iomem_insn()
/linux-4.4.14/fs/overlayfs/
Ddir.c714 struct dentry *trap; in ovl_rename2() local
841 trap = lock_rename(new_upperdir, old_upperdir); in ovl_rename2()
866 if (olddentry == trap) in ovl_rename2()
868 if (newdentry == trap) in ovl_rename2()
/linux-4.4.14/fs/cachefiles/
Dnamei.c273 struct dentry *grave, *trap; in cachefiles_bury_object() local
318 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
335 if (trap == rep) { in cachefiles_bury_object()
377 if (trap == grave) { in cachefiles_bury_object()
/linux-4.4.14/arch/mips/kvm/
D00README.txt25 LL/TLBP/SC. Since the TLBP instruction causes a trap the reservation gets cleared
/linux-4.4.14/arch/mn10300/kernel/
Dgdb-low.S110 # GDB stub BUG() trap
Dhead.S86 # turn on AM33v2 exception handling mode and set the trap table base
/linux-4.4.14/arch/arm/nwfpe/
Dfpmodule.inl27 that caused the invalid instruction trap to occur. We adjust
Dsoftfloat-specialize43 defined here if desired. It is currently not possible for such a trap to
/linux-4.4.14/fs/ecryptfs/
Dinode.c610 struct dentry *trap = NULL; in ecryptfs_rename() local
620 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in ecryptfs_rename()
622 if (trap == lower_old_dentry) { in ecryptfs_rename()
627 if (trap == lower_new_dentry) { in ecryptfs_rename()
/linux-4.4.14/tools/testing/selftests/seccomp/
Dseccomp_bpf.c740 struct sock_fprog trap; in FIXTURE_DATA() local
787 FILTER_ALLOC(trap); in FIXTURE_SETUP()
797 FILTER_FREE(trap); in FIXTURE_TEARDOWN()
816 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F()
840 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
869 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
892 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
911 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->trap); in TEST_F_SIGNAL()
/linux-4.4.14/Documentation/leds/
Dledtrig-oneshot.txt5 no clear trap points to put standard led-on and led-off settings. Using this
/linux-4.4.14/arch/x86/kernel/
Dkgdb.c577 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument
583 .trapnr = trap, in kgdb_ll_trap()
/linux-4.4.14/arch/arm/kernel/
Dtraps.c337 struct siginfo *info, unsigned long err, unsigned long trap) in arm_notify_die() argument
341 current->thread.trap_no = trap; in arm_notify_die()
/linux-4.4.14/lib/
DKconfig.kmemcheck7 bool "kmemcheck: trap use of uninitialized memory"
/linux-4.4.14/drivers/net/wireless/p54/
Dtxrx.c607 struct p54_trap *trap = (struct p54_trap *) hdr->data; in p54_rx_trap() local
608 u16 event = le16_to_cpu(trap->event); in p54_rx_trap()
609 u16 freq = le16_to_cpu(trap->frequency); in p54_rx_trap()
/linux-4.4.14/arch/powerpc/lib/
Dsstep.c775 goto trap; in analyse_instr()
780 goto trap; in analyse_instr()
935 goto trap; in analyse_instr()
940 goto trap; in analyse_instr()
1678 trap: in analyse_instr()
/linux-4.4.14/drivers/leds/trigger/
DKconfig28 sporadic events, when there are no clear begin and end trap points,
/linux-4.4.14/Documentation/
Dkprobes.txt25 can trap at almost any kernel code address(*), specifying a handler
62 When a CPU hits the breakpoint instruction, a trap occurs, the CPU's
90 handler routine, and returns from the trap. As a result, control
121 address, and that's where execution resumes upon return from the trap.
208 - code to push the CPU's registers (emulating a breakpoint trap)
281 (trapping) such functions can cause a recursive trap (e.g. double
394 architecture-specific trap number associated with the fault (e.g.,
Dkmemcheck.txt95 Debugging" / "kmemcheck: trap use of uninitialized memory"). Here follows
Ddevices.txt352 132 = /dev/hwtrap Hardware fault trap
353 133 = /dev/exttrp External device trap
/linux-4.4.14/arch/mn10300/
DKconfig.debug27 Kprobes allows you to trap at almost any kernel address and
/linux-4.4.14/arch/sh/kernel/cpu/sh5/
Dswitchto.S71 st.q r0, (14*8), r14 ! for unwind, want to look as though we took a trap at
/linux-4.4.14/arch/blackfin/kernel/
Dtraps.c60 bfin_write_EVT3(trap); in trap_init()
Dtrace.c686 if (!fault && addr == (unsigned short *)trap && in dump_bfin_trace_buffer()
/linux-4.4.14/Documentation/arm/nwfpe/
DTODO63 instructions will trap if tried in user mode.
DREADME.FPE57 presently check the CPU mode, and do an invalid instruction trap if not called
/linux-4.4.14/fs/nfsd/
Dvfs.c1603 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1633 trap = lock_rename(tdentry, fdentry); in nfsd_rename()
1647 if (odentry == trap) in nfsd_rename()
1655 if (ndentry == trap) in nfsd_rename()
/linux-4.4.14/Documentation/x86/
Dentry_64.txt81 If we are at an interrupt or user-trap/gate-alike boundary then we can
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/
Dentry.S114 bt trap_entry ! 64 > vec >= 32 is trap
/linux-4.4.14/arch/nios2/
DKconfig88 bool "Catch alignment trap"
/linux-4.4.14/Documentation/kdump/
Dgdbmacros.txt177 'trapinfo <pid>' will tell you by which trap & possibly
/linux-4.4.14/arch/nios2/kernel/
Dentry.S557 trap
/linux-4.4.14/arch/sh/kernel/cpu/sh2/
Dentry.S149 bt trap_entry ! 64 > vec >= 32 is trap
/linux-4.4.14/arch/
DKconfig46 Kprobes allows you to trap at almost any kernel address and
131 unable to perform such accesses efficiently (e.g. trap on
/linux-4.4.14/Documentation/fault-injection/
Dfault-injection.txt249 trap "echo 0 > /sys/kernel/debug/$FAILTYPE/probability" SIGINT SIGTERM EXIT
/linux-4.4.14/Documentation/trace/
Dmmiotrace.txt111 fault handler. The instruction that faulted is executed and debug trap is
/linux-4.4.14/tools/lguest/
Dlguest.c3165 if (notify.trap == 13) { in run_guest()
3169 } else if (notify.trap == 14) { in run_guest()
3175 notify.trap, notify.addr); in run_guest()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dspu_base.c185 unsigned long trap, unsigned long dsisr); //XXX
/linux-4.4.14/Documentation/virtual/kvm/
Dppc-pv.txt5 space code in PR=1 which is user space. This way we trap all privileged
Dtimekeeping.txt520 Since CPUID may actually be virtualized by a trap and emulate mechanism, this
/linux-4.4.14/arch/cris/arch-v10/
DREADME.mm87 0..8191, is never mapped, in order to trap NULL references).
/linux-4.4.14/arch/blackfin/mach-common/
Dints-priority.c949 bfin_write_EVT3(trap); in init_exception_vectors()
/linux-4.4.14/fs/
Dnamei.c4316 struct dentry *trap; in SYSCALL_DEFINE5() local
4373 trap = lock_rename(new_path.dentry, old_path.dentry); in SYSCALL_DEFINE5()
4411 if (old_dentry == trap) in SYSCALL_DEFINE5()
4416 if (new_dentry == trap) in SYSCALL_DEFINE5()
/linux-4.4.14/arch/arm/kvm/
Dinterrupts_head.S605 bic r3, r2, r3 @ Don't trap defined coproc-accesses
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db156 API-ptrace-trap-notify
159 API-do-jobctl-trap
/linux-4.4.14/arch/x86/math-emu/
DREADME167 affected by the FPU instruction trap overhead.
/linux-4.4.14/Documentation/development-process/
D4.Coding41 The other trap is to assume that code which is already in the kernel is
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3173 tripped that trap.
3396 stick a trap on the segfault handler which will stop if it sees any
3404 After setting a trap in the SEGV handler for accesses to the signal
3408 fsck hung again, this time by hitting the trap:
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES1045 3) Fixed eventual trap when mounting twice to different shares on the same server when the first su…
/linux-4.4.14/init/
DKconfig1343 Enable support for /proc/sys/kernel/unaligned-trap
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dfpsp.S16162 # then, the SNAN bit is set in the FPSR EXC byte. If the SNAN trap #
16163 # enable bit is set in the FPCR, then the trap is taken and the #
16164 # destination is not modified. If the SNAN trap enable bit is not set, #