Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv50.c153 u32 trap[6], idx, chan; in nv50_fb_intr() local
164 trap[i] = nv_rd32(priv, 0x100c94); in nv50_fb_intr()
171 st0 = (trap[0] & 0x0000000f) >> 0; in nv50_fb_intr()
172 st1 = (trap[0] & 0x000000f0) >> 4; in nv50_fb_intr()
173 st2 = (trap[0] & 0x00000f00) >> 8; in nv50_fb_intr()
174 st3 = (trap[0] & 0x0000f000) >> 12; in nv50_fb_intr()
176 st0 = (trap[0] & 0x000000ff) >> 0; in nv50_fb_intr()
177 st1 = (trap[0] & 0x0000ff00) >> 8; in nv50_fb_intr()
178 st2 = (trap[0] & 0x00ff0000) >> 16; in nv50_fb_intr()
179 st3 = (trap[0] & 0xff000000) >> 24; in nv50_fb_intr()
[all …]
Dmcp89.c37 .trap = 0x089d1fff,
Dmcp77.c37 .trap = 0x001d07ff,
Dgt215.c37 .trap = 0x000d0fff,
Dg84.c37 .trap = 0x001d07ff,
Dnv50.h19 u32 trap; member
/linux-4.1.27/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) \
Dmmu-hash64.h324 unsigned long vsid, pte_t *ptep, unsigned long trap,
327 unsigned long vsid, pte_t *ptep, unsigned long trap,
330 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap);
332 unsigned long access, unsigned long trap,
334 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
337 pte_t *ptep, unsigned long trap, unsigned long flags,
341 unsigned long vsid, pmd_t *pmdp, unsigned long trap,
346 unsigned long trap, unsigned long flags, in __hash_page_thp() argument
354 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.h619 int trap; member
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgf100.c775 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
778 trap[0] = nv_rd32(priv, GPC_UNIT(gpc, 0x0420)); in gf100_gr_trap_gpc_rop()
779 trap[1] = nv_rd32(priv, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
780 trap[2] = nv_rd32(priv, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
781 trap[3] = nv_rd32(priv, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
785 if (!(trap[0] & (1 << i))) in gf100_gr_trap_gpc_rop()
793 trap[1] & 0xffff, trap[1] >> 16, (trap[2] >> 8) & 0x3f, in gf100_gr_trap_gpc_rop()
794 trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
861 u32 trap = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
862 nv_error(priv, "GPC%d/TPC%d/TEX: 0x%08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/powerpc/mm/
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()
Dhash_utils_64.c851 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument
862 if (trap == 0x400) { in hash_page_do_lazy_icache()
959 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
967 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
993 unsigned long access, unsigned long trap, in hash_page_mm() argument
1006 ea, access, trap); in hash_page_mm()
1091 trap, flags, ssize, psize); in hash_page_mm()
1094 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1154 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm()
1163 rc = __hash_page_4K(ea, access, vsid, ptep, trap, in hash_page_mm()
[all …]
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()
520 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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
234 rdpr %tl, %g1 ! Save original trap level
237 1: wrpr %g2, %tl ! Set trap level to check
241 wrpr %g1, %tl ! Restore original trap level
242 add %g2, 1, %g2 ! Next trap level
246 wrpr %g1, %tl ! Restore original trap level
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
Dwof.S116 restore %g0, %g0, %g0 ! go back into trap window
123 jmp %t_pc ! Return from trap
Dspiterrs.S168 cmp %g3, 0x80 ! first win spill/fill trap
170 cmp %g3, 0xff ! last win spill/fill trap
Drtrap_32.S183 be 1f ! Nope, just return from the trap
Dentry.S203 mov %l7, %o1 ! trap number
709 jmp %l2 ! advance over trap instruction
729 jmp %l2 ! advance over trap instruction
1068 st %fsr, [%o1] ! this can trap on us if fpu is in bogon state
Dhead_32.S159 andn %g1, 0xfff, %g1 ! proms trap table base
560 wr %g0, 0x0, %wim ! so we do not get a trap
Dtsb.S302 ba,pt %xcc, etrap ! Save trap state
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/xmon/
Dxmon.c433 cpu, regs->trap, getvecname(TRAP(regs))); in xmon_core()
546 regs->trap, getvecname(TRAP(regs))); in xmon_core()
998 regs->trap = 0xd00 | (regs->trap & 1); in do_step()
1423 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1476 unsigned long trap; in excprint() local
1482 trap = TRAP(fp); in excprint()
1483 printf("Vector: %lx %s at [%lx]\n", fp->trap, getvecname(trap), fp); in excprint()
1493 if (trap == 0x300 || trap == 0x380 || trap == 0x600 || trap == 0x200) { in excprint()
1495 if (trap != 0x380) in excprint()
1509 if (trap == 0x700) in excprint()
[all …]
/linux-4.1.27/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()
1255 regs->trap &= ~1UL; in start_thread()
1596 regs->trap, (void *)regs->nip, (void *)lr); in show_stack()
Dppc32.h29 unsigned int trap; /* Reason for being here */ member
Dtraps.c770 regs->nip, regs->msr, regs->trap); in unknown_exception()
1326 "%lx at %lx\n", regs->trap, regs->nip); in kernel_fp_unavailable_exception()
1344 "%lx at %lx\n", regs->trap, regs->nip); in altivec_unavailable_exception()
1361 "%lx at %lx\n", regs->trap, regs->nip); in vsx_unavailable_exception()
1383 hv = (regs->trap == 0xf80); in facility_unavailable_exception()
1672 regs->nip, regs->msr, regs->trap, print_tainted()); in TAUException()
1814 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
437 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.c331 regs->trap = 0; in restore_sigcontext()
455 err |= __get_user(regs->trap, &sc->gp_regs[PT_TRAP]); in restore_tm_sigcontexts()
Dhead_8xx.S187 #define EXC_XFER_TEMPLATE(n, hdlr, trap, copyee, tfer, ret) \ argument
188 li r10,trap; \
Dhead_40x.S215 #define EXC_XFER_TEMPLATE(hdlr, trap, msr, copyee, tfer, ret) \ argument
216 li r10,trap; \
Dasm-offsets.c326 DEFINE(_TRAP, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, trap)); in main()
551 DEFINE(VCPU_TRAP, offsetof(struct kvm_vcpu, arch.trap)); in main()
Dsignal_32.c679 regs->trap = 0; in restore_user_regs()
/linux-4.1.27/arch/unicore32/include/asm/
Dbug.h20 struct siginfo *info, unsigned long err, unsigned long trap);
/linux-4.1.27/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.c237 void kvmhv_commence_exit(int trap) in kvmhv_commence_exit() argument
259 if (trap != BOOK3S_INTERRUPT_HV_DECREMENTER) in kvmhv_commence_exit()
Dbook3s_hv.c274 vcpu->arch.pc, vcpu->arch.shregs.msr, vcpu->arch.trap); in kvmppc_dump_regs()
829 switch (vcpu->arch.trap) { in kvmppc_handle_exit_hv()
933 vcpu->arch.trap, kvmppc_get_pc(vcpu), in kvmppc_handle_exit_hv()
935 run->hw.hardware_exit_reason = vcpu->arch.trap; in kvmppc_handle_exit_hv()
1935 if (vcpu->arch.trap) in post_guest_process()
1940 vcpu->arch.trap = 0; in post_guest_process()
2123 vcpu->arch.trap = 0; in kvmppc_run_vcpu()
/linux-4.1.27/include/linux/
Dlguest_launcher.h40 __u8 trap; member
Dkdebug.h20 struct pt_regs *regs, long err, int trap, int sig);
/linux-4.1.27/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.1.27/arch/mips/loongson1/
DPlatform3 -Wa,-mips32r2 -Wa,--trap
/linux-4.1.27/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.1.27/arch/mips/include/asm/
Dkgdb.h41 struct pt_regs *regs, long err, int trap, int sig);
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/powerpc/sysdev/
Ddcr-low.S25 1: trap; \
/linux-4.1.27/arch/x86/include/asm/
Dkgdb.h87 struct pt_regs *regs, long err, int trap, int sig);
/linux-4.1.27/fs/debugfs/
Dinode.c674 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
677 trap = lock_rename(new_dir, old_dir); in debugfs_rename()
682 if (d_really_is_negative(old_dentry) || old_dentry == trap || in debugfs_rename()
687 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
/linux-4.1.27/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.txt178 TM_CAUSE_FAC_UNAV FP/VEC/VSX unavailable trap.
/linux-4.1.27/arch/blackfin/include/asm/
Dirq_handler.h26 asmlinkage void trap(void);
/linux-4.1.27/arch/arm/include/asm/
Dbug.h68 unsigned long err, unsigned long trap);
/linux-4.1.27/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.1.27/Documentation/parisc/
Dregisters56 H (Higher-privilege trap) 0
57 L (Lower-privilege trap) 0
67 R (Recovery Counter trap) 0
/linux-4.1.27/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.1.27/arch/mips/loongson/
DPlatform6 cflags-$(CONFIG_CPU_LOONGSON2) += -Wa,--trap
/linux-4.1.27/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.1.27/arch/powerpc/include/uapi/asm/
Dptrace.h46 unsigned long trap; /* Reason for being here */ member
/linux-4.1.27/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.1.27/arch/sh/mm/
Dfault.c25 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
31 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
/linux-4.1.27/fs/cachefiles/
Dnamei.c270 struct dentry *grave, *trap; in cachefiles_bury_object() local
315 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
332 if (trap == rep) { in cachefiles_bury_object()
374 if (trap == grave) { in cachefiles_bury_object()
/linux-4.1.27/drivers/lguest/x86/
Dcore.c361 cpu->pending.trap = 13; in setup_emulate_insn()
368 cpu->pending.trap = 14; in setup_iomem_insn()
/linux-4.1.27/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.1.27/arch/mips/kvm/
D00README.txt25 LL/TLBP/SC. Since the TLBP instruction causes a trap the reservation gets cleared
/linux-4.1.27/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.1.27/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.1.27/fs/ecryptfs/
Dinode.c611 struct dentry *trap = NULL; in ecryptfs_rename() local
621 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in ecryptfs_rename()
623 if (trap == lower_old_dentry) { in ecryptfs_rename()
628 if (trap == lower_new_dentry) { in ecryptfs_rename()
/linux-4.1.27/Documentation/leds/
Dledtrig-oneshot.txt5 no clear trap points to put standard led-on and led-off settings. Using this
/linux-4.1.27/arch/x86/kernel/
Dkgdb.c572 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument
578 .trapnr = trap, in kgdb_ll_trap()
/linux-4.1.27/lib/
DKconfig.kmemcheck7 bool "kmemcheck: trap use of uninitialized memory"
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/leds/trigger/
DKconfig28 sporadic events, when there are no clear begin and end trap points,
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/mn10300/
DKconfig.debug27 Kprobes allows you to trap at almost any kernel address and
/linux-4.1.27/fs/nfsd/
Dvfs.c1679 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1709 trap = lock_rename(tdentry, fdentry); in nfsd_rename()
1723 if (odentry == trap) in nfsd_rename()
1731 if (ndentry == trap) in nfsd_rename()
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
Dentry.S114 bt trap_entry ! 64 > vec >= 32 is trap
/linux-4.1.27/Documentation/x86/
Dentry_64.txt81 If we are at an interrupt or user-trap/gate-alike boundary then we can
/linux-4.1.27/arch/nios2/
DKconfig88 bool "Catch alignment trap"
/linux-4.1.27/Documentation/kdump/
Dgdbmacros.txt177 'trapinfo <pid>' will tell you by which trap & possibly
/linux-4.1.27/arch/nios2/kernel/
Dentry.S557 trap
/linux-4.1.27/arch/sh/kernel/cpu/sh2/
Dentry.S149 bt trap_entry ! 64 > vec >= 32 is trap
/linux-4.1.27/arch/
DKconfig43 Kprobes allows you to trap at almost any kernel address and
123 unable to perform such accesses efficiently (e.g. trap on
/linux-4.1.27/Documentation/fault-injection/
Dfault-injection.txt238 trap "echo 0 > /sys/kernel/debug/$FAILTYPE/probability" SIGINT SIGTERM EXIT
/linux-4.1.27/Documentation/trace/
Dmmiotrace.txt111 fault handler. The instruction that faulted is executed and debug trap is
/linux-4.1.27/tools/lguest/
Dlguest.c3161 if (notify.trap == 13) { in run_guest()
3165 } else if (notify.trap == 14) { in run_guest()
3171 notify.trap, notify.addr); in run_guest()
/linux-4.1.27/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.1.27/arch/powerpc/platforms/cell/
Dspu_base.c185 unsigned long trap, unsigned long dsisr); //XXX
/linux-4.1.27/arch/cris/arch-v10/
DREADME.mm87 0..8191, is never mapped, in order to trap NULL references).
/linux-4.1.27/arch/blackfin/mach-common/
Dints-priority.c949 bfin_write_EVT3(trap); in init_exception_vectors()
/linux-4.1.27/fs/
Dnamei.c4275 struct dentry *trap; in SYSCALL_DEFINE5() local
4332 trap = lock_rename(new_dir, old_dir); in SYSCALL_DEFINE5()
4370 if (old_dentry == trap) in SYSCALL_DEFINE5()
4375 if (new_dentry == trap) in SYSCALL_DEFINE5()
/linux-4.1.27/arch/arm/kvm/
Dinterrupts_head.S608 bic r3, r2, r3 @ Don't trap defined coproc-accesses
/linux-4.1.27/arch/x86/math-emu/
DREADME167 affected by the FPU instruction trap overhead.
/linux-4.1.27/Documentation/development-process/
D4.Coding41 The other trap is to assume that code which is already in the kernel is
/linux-4.1.27/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.1.27/Documentation/filesystems/cifs/
DCHANGES1045 3) Fixed eventual trap when mounting twice to different shares on the same server when the first su…
/linux-4.1.27/init/
DKconfig1332 Enable support for /proc/sys/kernel/unaligned-trap
/linux-4.1.27/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, #