Home
last modified time | relevance | path

Searched refs:fault_addr (Results 1 – 14 of 14) sorted by relevance

/arch/sparc/lib/
Duser_fixup.c23 unsigned long fault_addr = current_thread_info()->fault_address; in compute_size() local
26 if (fault_addr < start || fault_addr >= end) { in compute_size()
29 *offset = fault_addr - start; in compute_size()
30 size = end - fault_addr; in compute_size()
57 unsigned long fault_addr = current_thread_info()->fault_address; in copy_in_user_fixup() local
61 if (fault_addr >= start && fault_addr < end) in copy_in_user_fixup()
62 return end - fault_addr; in copy_in_user_fixup()
66 if (fault_addr >= start && fault_addr < end) in copy_in_user_fixup()
67 return end - fault_addr; in copy_in_user_fixup()
/arch/mips/math-emu/
Dcp1emu.c212 void *__user *fault_addr) in cop1Emulate() argument
220 *fault_addr = (mips_instruction __user *)xcp->cp0_epc; in cop1Emulate()
225 *fault_addr = (mips_instruction __user *)xcp->cp0_epc; in cop1Emulate()
257 *fault_addr = (mips_instruction __user *)emulpc; in cop1Emulate()
262 *fault_addr = (mips_instruction __user *)emulpc; in cop1Emulate()
287 *fault_addr = va; in cop1Emulate()
292 *fault_addr = va; in cop1Emulate()
308 *fault_addr = va; in cop1Emulate()
313 *fault_addr = va; in cop1Emulate()
327 *fault_addr = va; in cop1Emulate()
[all …]
/arch/parisc/lib/
Dmemcpy.c265 o_len, d->fault_addr, o_src, o_len - d->fault_addr + o_src); in copy_dstaligned()
266 return o_len * 4 - d->fault_addr + o_src; in copy_dstaligned()
272 o_len, d->fault_addr, o_dst, o_len - d->fault_addr + o_dst); in copy_dstaligned()
273 return o_len * 4 - d->fault_addr + o_dst; in copy_dstaligned()
459 o_len, d->fault_addr, o_src, o_len - d->fault_addr + o_src); in pa_memcpy()
460 return o_len - d->fault_addr + o_src; in pa_memcpy()
466 o_len, d->fault_addr, o_dst, o_len - d->fault_addr + o_dst); in pa_memcpy()
467 return o_len - d->fault_addr + o_dst; in pa_memcpy()
/arch/um/include/asm/
Dprocessor-generic.h33 void *fault_addr; member
63 .fault_addr = NULL, \
/arch/mips/kernel/
Dunaligned.c108 void *__user *fault_addr);
109 extern int process_fpemu_return(int sig, void __user *fault_addr);
117 void __user *fault_addr = NULL; in emulate_load_store_insn() local
548 res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1, &fault_addr); in emulate_load_store_insn()
552 process_fpemu_return(res, fault_addr); in emulate_load_store_insn()
Dtraps.c86 void *__user *fault_addr);
670 int process_fpemu_return(int sig, void __user *fault_addr) in process_fpemu_return() argument
674 si.si_addr = fault_addr; in process_fpemu_return()
677 if (find_vma(current->mm, (unsigned long)fault_addr)) in process_fpemu_return()
708 void __user *fault_addr = NULL; in do_fpe() local
725 &fault_addr); in do_fpe()
737 process_fpemu_return(sig, fault_addr); in do_fpe()
1030 void __user *fault_addr = NULL; in do_cpu() local
1033 0, &fault_addr); in do_cpu()
1034 if (!process_fpemu_return(sig, fault_addr)) in do_cpu()
/arch/arm/plat-samsung/include/plat/
Dsysmmu.h87 unsigned long fault_addr));
/arch/parisc/include/asm/
Duaccess.h70 #define ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr )\ argument
72 ASM_WORD_INSN #fault_addr ", " #except_addr "\n\t" \
82 unsigned long fault_addr; member
/arch/um/kernel/
Dtrap.c214 current->thread.fault_addr = (void *) address; in segv()
217 else if (current->thread.fault_addr != NULL) in segv()
/arch/arm/plat-s5p/
Dsysmmu.c53 unsigned long fault_addr);
115 unsigned long fault_addr)) in sysmmu_set_fault_handler() argument
/arch/powerpc/include/asm/
Dlppaca.h197 u64 fault_addr; member
/arch/parisc/mm/
Dfault.c151 d->fault_addr = regs->ior; in fixup_exception()
/arch/x86/um/shared/sysdep/
Dptrace_64.h75 #define REGS_FAULT_ADDR(r) ((r)->fault_addr)
/arch/parisc/kernel/
Dasm-offsets.c296 DEFINE(EXCDATA_ADDR, offsetof(struct exception_data, fault_addr)); in main()