Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 85) sorted by relevance

1234

/arch/x86/mm/
Dfault.c131 is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr) in is_prefetch() argument
141 if (error_code & PF_INSTR) in is_prefetch()
575 show_fault_oops(struct pt_regs *regs, unsigned long error_code, in show_fault_oops() argument
581 if (error_code & PF_INSTR) { in show_fault_oops()
604 pgtable_bad(struct pt_regs *regs, unsigned long error_code, in pgtable_bad() argument
621 tsk->thread.error_code = error_code; in pgtable_bad()
623 if (__die("Bad pagetable", regs, error_code)) in pgtable_bad()
630 no_context(struct pt_regs *regs, unsigned long error_code, in no_context() argument
642 tsk->thread.error_code = error_code | PF_USER; in no_context()
662 if (is_prefetch(regs, error_code, address)) in no_context()
[all …]
/arch/x86/kernel/
Dtraps.c112 long error_code, siginfo_t *info) in do_trap() argument
143 tsk->thread.error_code = error_code; in do_trap()
152 regs->ip, regs->sp, error_code); in do_trap()
166 tsk->thread.error_code = error_code; in do_trap()
168 die(str, regs, error_code); in do_trap()
175 error_code, trapnr)) in do_trap()
182 dotraplinkage void do_##name(struct pt_regs *regs, long error_code) \
184 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) \
188 do_trap(trapnr, signr, str, regs, error_code, NULL); \
192 dotraplinkage void do_##name(struct pt_regs *regs, long error_code) \
[all …]
Dentry_32.S537 RESTORE_REGS 4 # skip orig_eax/error_code
544 jmp error_code
868 jmp error_code
889 jmp error_code
897 jmp error_code
920 jmp error_code
928 jmp error_code
936 jmp error_code
944 jmp error_code
951 jmp error_code
[all …]
/arch/powerpc/mm/
Dfault.c199 unsigned long error_code) in do_page_fault() argument
218 error_code &= 0x48200000; in do_page_fault()
220 is_write = error_code & DSISR_ISSTORE; in do_page_fault()
222 is_write = error_code & ESR_DST; in do_page_fault()
234 if (error_code & ICSWX_DSI_UCT) { in do_page_fault()
235 int rc = acop_handle_fault(regs, address, error_code); in do_page_fault()
253 if (error_code & DSISR_DABRMATCH) { in do_page_fault()
255 do_dabr(regs, address, error_code); in do_page_fault()
353 if (error_code & 0x95700000) in do_page_fault()
362 if (error_code & 0x40000000) /* no translation? */ in do_page_fault()
[all …]
/arch/m32r/mm/
Dfault.c74 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, in do_page_fault() argument
108 if (address >= TASK_SIZE && !(error_code & ACE_USERMODE)) in do_page_fault()
136 if ((error_code & ACE_USERMODE) == 0 && in do_page_fault()
150 if (error_code & ACE_USERMODE) { in do_page_fault()
170 switch (error_code & (ACE_WRITE|ACE_PROTECTION)) { in do_page_fault()
187 if ((error_code & ACE_INSTRUCTION) && !(vma->vm_flags & VM_EXEC)) in do_page_fault()
196 set_thread_fault_code(error_code); in do_page_fault()
222 if (error_code & ACE_USERMODE) { in do_page_fault()
224 tsk->thread.error_code = error_code | (address >= TASK_SIZE); in do_page_fault()
262 die("Oops", regs, error_code); in do_page_fault()
[all …]
Dfault-nommu.c69 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code, in do_page_fault() argument
88 die("Oops", regs, error_code); in do_page_fault()
/arch/h8300/mm/
Dfault.c34 unsigned long error_code) in do_page_fault() argument
38 regs->sr, regs->pc, address, error_code); in do_page_fault()
51 die("Oops", regs, error_code); in do_page_fault()
/arch/m32r/kernel/
Dtraps.c248 struct pt_regs * regs, long error_code, siginfo_t *info) in do_trap() argument
253 tsk->thread.error_code = error_code; in do_trap()
263 die(str, regs, error_code); in do_trap()
269 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
271 do_trap(trapnr, signr, NULL, regs, error_code, NULL); \
275 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
282 do_trap(trapnr, signr, str, regs, error_code, &info); \
293 asmlinkage void do_alignment_check(struct pt_regs *regs, long error_code) in do_alignment_check() argument
303 current->thread.error_code = error_code; in do_alignment_check()
/arch/microblaze/mm/
Dfault.c87 unsigned long error_code) in do_page_fault() argument
93 int is_write = error_code & ESR_S; in do_page_fault()
97 regs->esr = error_code; in do_page_fault()
106 if ((error_code & 0x13) == 0x13 || (error_code & 0x11) == 0x11) in do_page_fault()
202 if (unlikely(error_code & 0x08000000)) in do_page_fault()
/arch/x86/um/shared/sysdep/
Dfaultinfo_64.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
Dfaultinfo_32.h19 int error_code; /* in ptrace_faultinfo misleadingly called is_write */ member
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
Dmcontext.h16 (fi).error_code = (mc)->gregs[REG_ERR]; \
25 (fi).error_code = (mc)->gregs[REG_ERR]; \
/arch/x86/include/asm/
Dkmemcheck.h14 unsigned long address, unsigned long error_code);
31 unsigned long address, unsigned long error_code) in kmemcheck_fault() argument
/arch/sh/kernel/
Dtraps_64.c45 unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk);
48 asmlinkage void do_##name(unsigned long error_code, struct pt_regs *regs) \
50 do_unhandled_exception(trapnr, signr, str, __stringify(name), error_code, regs, current); \
94 asmlinkage void do_address_error_load(unsigned long error_code, struct pt_regs *regs) in do_address_error_load() argument
99 error_code, regs, current); in do_address_error_load()
104 asmlinkage void do_address_error_store(unsigned long error_code, struct pt_regs *regs) in do_address_error_store() argument
109 error_code, regs, current); in do_address_error_store()
139 void do_reserved_inst(unsigned long error_code, struct pt_regs *regs) in do_reserved_inst() argument
228 …do_unhandled_exception(trapnr, signr, exception_name, "do_reserved_inst", error_code, regs, curren… in do_reserved_inst()
283 unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk) in do_unhandled_exception() argument
[all …]
/arch/s390/lib/
Duaccess_pt.c231 uaddr, done, size, error_code; in copy_in_user_pt() local
248 error_code = (unsigned long) pte_from; in copy_in_user_pt()
249 if (error_code < 0x1000) in copy_in_user_pt()
252 error_code = 0x11; in copy_in_user_pt()
259 error_code = (unsigned long) pte_to; in copy_in_user_pt()
260 if (error_code < 0x1000) in copy_in_user_pt()
263 error_code = 0x11; in copy_in_user_pt()
266 error_code = 0x04; in copy_in_user_pt()
287 if (__handle_fault(uaddr, error_code, write_user)) in copy_in_user_pt()
/arch/powerpc/include/asm/
Ddebug.h50 unsigned long error_code, int signal_code, int brkpt);
53 unsigned long error_code);
/arch/score/include/asm/
Dprocessor.h60 unsigned long error_code; member
95 .error_code = 0, \
/arch/m68k/mm/
Dfault.c71 unsigned long error_code) in do_page_fault() argument
79 regs->sr, regs->pc, address, error_code, in do_page_fault()
121 switch (error_code & 3) { in do_page_fault()
/arch/unicore32/include/asm/
Dsigcontext.h23 unsigned long error_code; member
/arch/arm/include/asm/
Dsigcontext.h11 unsigned long error_code; member
/arch/sh/include/asm/
Dprocessor_64.h124 unsigned long trap_no, error_code; member
142 .error_code = 0, \
/arch/x86/kernel/cpu/mcheck/
Dwinchip.c15 static void winchip_machine_check(struct pt_regs *regs, long error_code) in winchip_machine_check() argument
/arch/x86/kvm/
Dtrace.h334 TP_PROTO(unsigned exception, bool has_error, unsigned error_code),
335 TP_ARGS(exception, has_error, error_code),
340 __field( u32, error_code )
346 __entry->error_code = error_code;
352 __entry->has_error ? __entry->error_code : 0)
359 TP_PROTO(unsigned long fault_address, unsigned int error_code),
360 TP_ARGS(fault_address, error_code),
364 __field( unsigned int, error_code )
369 __entry->error_code = error_code;
373 __entry->fault_address, __entry->error_code)
/arch/sh/kernel/cpu/sh5/
Dfpu.c111 tsk->thread.error_code = 0; in do_fpu_error()
/arch/xtensa/include/asm/
Dprocessor.h107 unsigned long error_code; member
138 error_code: 0, \

1234