Home
last modified time | relevance | path

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

1234

/linux-2.4.37.9/arch/s390x/mm/
Dfault.c71 static int __check_access_register(struct pt_regs *regs, int error_code) in __check_access_register() argument
86 die("page fault via unknown access register", regs, error_code); in __check_access_register()
95 static inline int check_user_space(struct pt_regs *regs, int error_code) in check_user_space() argument
107 return __check_access_register(regs, error_code); in check_user_space()
115 static void force_sigsegv(struct pt_regs *regs, unsigned long error_code, in force_sigsegv() argument
126 error_code); in force_sigsegv()
148 extern inline void do_exception(struct pt_regs *regs, unsigned long error_code) in do_exception() argument
166 if (error_code == 4 && !(S390_lowcore.trans_exc_code & 4)) { in do_exception()
177 die ("Low-address protection", regs, error_code); in do_exception()
187 user_address = check_user_space(regs, error_code); in do_exception()
[all …]
/linux-2.4.37.9/arch/arm/mm/
Dfault-common.c125 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, int error_code, in __do_kernel_fault() argument
151 die("Oops", regs, error_code); in __do_kernel_fault()
160 __do_user_fault(struct task_struct *tsk, unsigned long addr, int error_code, in __do_user_fault() argument
168 tsk->comm, regs->ARM_pc, regs->ARM_lr, addr, error_code); in __do_user_fault()
173 tsk->thread.error_code = error_code; in __do_user_fault()
184 int error_code, struct pt_regs *regs) in do_bad_area() argument
191 __do_user_fault(tsk, addr, error_code, SEGV_MAPERR, regs); in do_bad_area()
193 __do_kernel_fault(mm, addr, error_code, regs); in do_bad_area()
197 __do_page_fault(struct mm_struct *mm, unsigned long addr, int error_code, in __do_page_fault() argument
215 if (READ_FAULT(error_code)) /* read? */ in __do_page_fault()
[all …]
Dfault-armv.c32 extern int do_page_fault(unsigned long addr, int error_code,
34 extern int do_translation_fault(unsigned long addr, int error_code,
37 unsigned long addr, int error_code,
41 extern int do_alignment(unsigned long addr, int error_code, struct pt_regs *regs);
52 do_sect_fault(unsigned long addr, int error_code, struct pt_regs *regs) in do_sect_fault() argument
55 do_bad_area(tsk, tsk->active_mm, addr, error_code, regs); in do_sect_fault()
67 do_external_fault(unsigned long addr, int error_code, struct pt_regs *regs) in do_external_fault() argument
78 do_bad(unsigned long addr, int error_code, struct pt_regs *regs) in do_bad() argument
84 int (*fn)(unsigned long addr, int error_code, struct pt_regs *regs);
110 do_DataAbort(unsigned long addr, int error_code, struct pt_regs *regs, int fsr) in do_DataAbort() argument
[all …]
Dalignment.c35 int error_code, struct pt_regs *regs);
489 int do_alignment(unsigned long addr, int error_code, struct pt_regs *regs) in do_alignment() argument
580 do_bad_area(current, current->mm, addr, error_code, regs); in do_alignment()
598 current->pid, instrptr, instr, addr, error_code); in do_alignment()
/linux-2.4.37.9/arch/s390/mm/
Dfault.c72 static int __check_access_register(struct pt_regs *regs, int error_code) in __check_access_register() argument
87 die("page fault via unknown access register", regs, error_code); in __check_access_register()
96 static inline int check_user_space(struct pt_regs *regs, int error_code) in check_user_space() argument
108 return __check_access_register(regs, error_code); in check_user_space()
116 static void force_sigsegv(struct pt_regs *regs, unsigned long error_code, in force_sigsegv() argument
127 error_code); in force_sigsegv()
148 extern inline void do_exception(struct pt_regs *regs, unsigned long error_code) in do_exception() argument
166 if (error_code == 4 && !(S390_lowcore.trans_exc_code & 4)) { in do_exception()
177 die ("Low-address protection", regs, error_code); in do_exception()
187 user_address = check_user_space(regs, error_code); in do_exception()
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dtraps.c314 struct pt_regs * regs, long error_code, siginfo_t *info) in do_trap() argument
328 tsk->thread.error_code = error_code; in do_trap()
342 die(str, regs, error_code); in do_trap()
347 int ret = handle_vm86_trap((struct kernel_vm86_regs *) regs, error_code, trapnr); in do_trap()
354 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
356 do_trap(trapnr, signr, str, 0, regs, error_code, NULL); \
360 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
367 do_trap(trapnr, signr, str, 0, regs, error_code, &info); \
371 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
373 do_trap(trapnr, signr, str, 1, regs, error_code, NULL); \
[all …]
Dbluesmoke.c20 static void intel_machine_check(struct pt_regs * regs, long error_code) in intel_machine_check() argument
75 static void pentium_machine_check(struct pt_regs * regs, long error_code) in pentium_machine_check() argument
89 static void winchip_machine_check(struct pt_regs * regs, long error_code) in winchip_machine_check() argument
98 static void unexpected_machine_check(struct pt_regs * regs, long error_code) in unexpected_machine_check() argument
107 static void (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
109 asmlinkage void do_machine_check(struct pt_regs * regs, long error_code) in do_machine_check() argument
111 machine_check_vector(regs, error_code); in do_machine_check()
254 asmlinkage void do_machine_check(struct pt_regs * regs, long error_code) {} in do_machine_check() argument
Dentry.S274 error_code: label
305 jmp error_code
310 jmp error_code
330 jmp error_code
345 jmp error_code
350 jmp error_code
355 jmp error_code
360 jmp error_code
365 jmp error_code
369 jmp error_code
[all …]
/linux-2.4.37.9/arch/x86_64/mm/
Dfault.c190 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code) in do_page_fault() argument
209 regs->rip,regs->rsp,regs->cs,regs->ss,address,error_code); in do_page_fault()
228 if (unlikely(!(error_code & 5) && in do_page_fault()
258 if (error_code & 4) { in do_page_fault()
272 switch (error_code & 3) { in do_page_fault()
317 if (error_code & 4) { in do_page_fault()
327 regs->rsp, error_code); in do_page_fault()
331 tsk->thread.error_code = error_code | (address >= TASK_SIZE); in do_page_fault()
349 tsk->comm, regs->rip, address, error_code); in do_page_fault()
370 __die("Oops", regs, error_code); in do_page_fault()
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Dtraps.c408 struct pt_regs * regs, long error_code, siginfo_t *info) in do_trap() argument
426 tsk->thread.error_code = error_code; in do_trap()
434 regs->rip,regs->rsp,error_code); in do_trap()
449 die(str, regs, error_code); in do_trap()
455 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
457 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) == NOTIFY_BAD) \
459 do_trap(trapnr, signr, str, regs, error_code, NULL); \
463 asmlinkage void do_##name(struct pt_regs * regs, long error_code) \
470 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr)==NOTIFY_BAD) \
472 do_trap(trapnr, signr, str, regs, error_code, &info); \
[all …]
Dbluesmoke.c37 static void generic_machine_check(struct pt_regs * regs, long error_code) in generic_machine_check() argument
113 static void unexpected_machine_check(struct pt_regs *regs, long error_code) in unexpected_machine_check() argument
115 printk("unexpected machine check %lx\n", error_code); in unexpected_machine_check()
122 static void (*machine_check_vector)(struct pt_regs *, long error_code) = unexpected_machine_check;
124 void do_machine_check(struct pt_regs * regs, long error_code) in do_machine_check() argument
126 notify_die(DIE_NMI, "machine check", regs, error_code, 255, SIGKILL); in do_machine_check()
127 machine_check_vector(regs, error_code); in do_machine_check()
393 static void k8_machine_check(struct pt_regs * regs, long error_code) in k8_machine_check() argument
/linux-2.4.37.9/arch/i386/mm/
Dfault.c140 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code) in do_page_fault() argument
173 if (address >= TASK_SIZE && !(error_code & 5)) in do_page_fault()
195 if (error_code & 4) { in do_page_fault()
214 switch (error_code & 3) { in do_page_fault()
271 if (error_code & 4) { in do_page_fault()
274 tsk->thread.error_code = error_code | (address >= TASK_SIZE); in do_page_fault()
328 die("Oops", regs, error_code); in do_page_fault()
343 if (error_code & 4) in do_page_fault()
355 tsk->thread.error_code = error_code; in do_page_fault()
364 if (!(error_code & 4)) in do_page_fault()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dshubio.c47 int error_code, in hub_xp_error_handler() argument
101 error_code, mode, ioerror); in hub_xp_error_handler()
152 int error_code, in hub_ioerror_handler() argument
163 IOERROR_DUMP("hub_ioerror_handler", error_code, mode, ioerror); in hub_ioerror_handler()
173 switch(error_code) { in hub_ioerror_handler()
290 IOERROR_DUMP("hub_ioerror_handler", error_code, in hub_ioerror_handler()
314 error_code, mode, ioerror); in hub_ioerror_handler()
320 hub_v, nasid, error_code, mode, ioerror); in hub_ioerror_handler()
355 error_code, mode, ioerror); in hub_ioerror_handler()
360 hub_v, nasid, error_code, mode, ioerror); in hub_ioerror_handler()
[all …]
Dxbow.c800 int error_code, in xbow_error_handler() argument
839 if (error_code & IOECODE_DMA) { in xbow_error_handler()
845 if (error_code & IOECODE_PIO) { in xbow_error_handler()
880 if (error_code & IOECODE_DMA) { in xbow_error_handler()
886 if (error_code & IOECODE_PIO) { in xbow_error_handler()
938 if (error_code & IOECODE_DMA) { in xbow_error_handler()
944 if (error_code & IOECODE_PIO) { in xbow_error_handler()
983 (error_code & IOECODE_DMA) ? "DMA " : "", in xbow_error_handler()
984 (error_code & IOECODE_PIO) ? "PIO " : "", in xbow_error_handler()
988 if ((error_code & IOECODE_PIO) && in xbow_error_handler()
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/sn2/pcibr/
Dpcibr_error.c979 pcibr_error_cleanup(pcibr_soft_t pcibr_soft, int error_code) in pcibr_error_cleanup() argument
983 ASSERT(error_code & IOECODE_PIO); in pcibr_error_cleanup()
984 error_code = error_code; in pcibr_error_cleanup()
1078 int error_code, in pcibr_pioerror() argument
1338 pcibr_error_cleanup(pcibr_soft, error_code); in pcibr_pioerror()
1344 pciio_error_handler(pcibr_vhdl, error_code, mode, ioe); in pcibr_pioerror()
1395 retval = pciio_error_handler(pcibr_vhdl, error_code, mode, ioe); in pcibr_pioerror()
1474 pcibr_error_cleanup(pcibr_soft, error_code); in pcibr_pioerror()
1489 int error_code, in pcibr_dmard_error() argument
1537 retval = pciio_error_handler(pcibr_vhdl, error_code, mode, ioe); in pcibr_dmard_error()
[all …]
/linux-2.4.37.9/arch/ppc/mm/
Dfault.c97 unsigned long error_code) in do_page_fault() argument
104 int is_write = error_code & ESR_DST; in do_page_fault()
115 error_code &= 0x48200000; in do_page_fault()
117 is_write = error_code & 0x02000000; in do_page_fault()
126 if (error_code & 0x00400000) { in do_page_fault()
186 if (error_code & 0x95700000) in do_page_fault()
196 if (error_code & 0x10000000) in do_page_fault()
208 if (error_code & 0x08000000) in do_page_fault()
/linux-2.4.37.9/arch/sh/kernel/
Dtraps.c53 unsigned long error_code; \
62 asm volatile("stc r2_bank, %0": "=r" (error_code)); \
64 tsk->thread.error_code = error_code; \
68 die_if_no_fixup(str,&regs,error_code); \
483 unsigned long error_code; in do_address_error() local
488 asm volatile("stc r2_bank,%0": "=r" (error_code)); in do_address_error()
494 current->thread.error_code = error_code; in do_address_error()
521 die("unaligned program counter", regs, error_code); in do_address_error()
Dfpu.c277 tsk->thread.error_code = 0; in ieee_fpe_handler()
300 tsk->thread.error_code = 0; in do_fpu_error()
/linux-2.4.37.9/arch/sh64/kernel/
Dtraps.c51 unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk);
54 asmlinkage void do_##name(unsigned long error_code, struct pt_regs *regs) \
56 do_unhandled_exception(trapnr, signr, str, __FUNCTION__, error_code, regs, current); \
101 asmlinkage void do_address_error_load(unsigned long error_code, struct pt_regs *regs) in do_address_error_load() argument
105 error_code, regs, current); in do_address_error_load()
110 asmlinkage void do_address_error_store(unsigned long error_code, struct pt_regs *regs) in do_address_error_store() argument
114 error_code, regs, current); in do_address_error_store()
144 void do_reserved_inst(unsigned long error_code, struct pt_regs *regs) in do_reserved_inst() argument
233 …do_unhandled_exception(trapnr, signr, exception_name, "do_reserved_inst", error_code, regs, curren… in do_reserved_inst()
329 unsigned long error_code, struct pt_regs *regs, struct task_struct *tsk) in do_unhandled_exception() argument
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/
Dsnia_if.c108 snia_ioerror_dump(char *name, int error_code, int error_mode, ioerror_t *ioerror) in snia_ioerror_dump() argument
118 (error_code & IOECODE_PIO) ? " PIO" : "", in snia_ioerror_dump()
119 (error_code & IOECODE_DMA) ? " DMA" : "", in snia_ioerror_dump()
120 (error_code & IOECODE_READ) ? " Read" : "", in snia_ioerror_dump()
121 (error_code & IOECODE_WRITE) ? " Write" : "", in snia_ioerror_dump()
/linux-2.4.37.9/arch/cris/mm/
Dfault.c100 int error_code);
262 int error_code) in do_page_fault() argument
293 !(error_code & 1) && in do_page_fault()
301 writeaccess = error_code & 2; in do_page_fault()
432 die_if_kernel("Oops", regs, error_code); in do_page_fault()
/linux-2.4.37.9/arch/ppc64/mm/
Dfault.c106 unsigned long error_code) in do_page_fault() argument
112 unsigned long is_write = error_code & 0x02000000; in do_page_fault()
130 if (error_code & 0x00400000) { in do_page_fault()
204 if (error_code & 0x08000000) in do_page_fault()
/linux-2.4.37.9/arch/m68k/mm/
Dfault.c85 unsigned long error_code) in do_page_fault() argument
93 regs->sr, regs->pc, address, error_code, in do_page_fault()
135 switch (error_code & 3) { in do_page_fault()
/linux-2.4.37.9/drivers/char/
Dn_r3964.c116 static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code);
127 int error_code, struct r3964_block_header *pBlock);
304 static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code) in remove_from_tx_queue() argument
328 if(error_code) in remove_from_tx_queue()
331 error_code, NULL); in remove_from_tx_queue()
336 error_code, NULL); in remove_from_tx_queue()
978 int error_code, struct r3964_block_header *pBlock) in add_msg() argument
998 pMsg->error_code = error_code; in add_msg()
1023 && (pClient->last_msg->error_code==R3964_OVERFLOW)) in add_msg()
1032 error_code = R3964_OVERFLOW; in add_msg()
[all …]
/linux-2.4.37.9/include/linux/
Dn_r3964.h134 int error_code; member
148 int error_code; member

1234