Home
last modified time | relevance | path

Searched refs:datap (Results 1 – 22 of 22) sorted by relevance

/arch/cris/arch-v10/kernel/
Dptrace.c83 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
101 ret = put_user(tmp, datap); in arch_ptrace()
138 if (put_user(tmp, datap)) { in arch_ptrace()
143 datap++; in arch_ptrace()
156 if (get_user(tmp, datap)) { in arch_ptrace()
167 datap++; in arch_ptrace()
/arch/m68k/kernel/
Dptrace.c167 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
195 ret = put_user(tmp, datap); in arch_ptrace()
227 ret = put_user(tmp, datap); in arch_ptrace()
230 datap++; in arch_ptrace()
236 ret = get_user(tmp, datap); in arch_ptrace()
244 datap++; in arch_ptrace()
249 if (copy_to_user(datap, &child->thread.fp, in arch_ptrace()
255 if (copy_from_user(&child->thread.fp, datap, in arch_ptrace()
261 ret = put_user(task_thread_info(child)->tp_value, datap); in arch_ptrace()
/arch/arm/kvm/
Dmmio.c28 void *datap = NULL; in mmio_write_buf() local
39 datap = &tmp.byte; in mmio_write_buf()
43 datap = &tmp.hword; in mmio_write_buf()
47 datap = &tmp.word; in mmio_write_buf()
51 datap = &tmp.dword; in mmio_write_buf()
55 memcpy(buf, datap, len); in mmio_write_buf()
/arch/cris/arch-v32/kernel/
Dptrace.c131 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
156 ret = put_user(tmp,datap); in arch_ptrace()
169 ret = put_user(tmp, datap); in arch_ptrace()
205 if (put_user(tmp, datap)) { in arch_ptrace()
210 datap++; in arch_ptrace()
223 if (get_user(tmp, datap)) { in arch_ptrace()
234 datap++; in arch_ptrace()
/arch/sh/lib/
Dio.c17 void __raw_readsl(const void __iomem *addr, void *datap, int len) in __raw_readsl() argument
21 for (data = datap; (len != 0) && (((u32)data & 0x1f) != 0); len--) in __raw_readsl()
/arch/unicore32/kernel/
Dptrace.c91 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
95 ret = ptrace_read_user(child, addr, datap); in arch_ptrace()
104 datap); in arch_ptrace()
/arch/frv/kernel/
Dptrace.c262 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
304 ret = put_user(tmp, datap); in arch_ptrace()
324 datap); in arch_ptrace()
330 datap); in arch_ptrace()
336 datap); in arch_ptrace()
342 datap); in arch_ptrace()
/arch/blackfin/kernel/
Dptrace.c41 unsigned long __user *datap) in get_reg() argument
70 return put_user(tmp, datap); in get_reg()
251 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
304 ret = put_user(tmp, datap); in arch_ptrace()
361 ret = get_reg(child, addr, datap); in arch_ptrace()
376 datap); in arch_ptrace()
383 datap); in arch_ptrace()
/arch/tile/kernel/
Dptrace.c152 unsigned long __user *datap = (long __user __force *)data; in arch_ptrace() local
169 (compat_long_t __user *)datap); in arch_ptrace()
175 ret = put_user(*(long *)childreg, datap); in arch_ptrace()
202 sizeof(struct pt_regs), datap); in arch_ptrace()
208 sizeof(struct pt_regs), datap); in arch_ptrace()
/arch/mn10300/kernel/
Dptrace.c302 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
315 ret = put_user(tmp, datap); in arch_ptrace()
334 datap); in arch_ptrace()
340 datap); in arch_ptrace()
346 datap); in arch_ptrace()
352 datap); in arch_ptrace()
/arch/x86/um/
Dptrace_32.c255 void __user *datap = (void __user *) data; in subarch_ptrace() local
258 ret = get_fpregs(datap, child); in subarch_ptrace()
261 ret = set_fpregs(datap, child); in subarch_ptrace()
264 ret = get_fpxregs(datap, child); in subarch_ptrace()
267 ret = set_fpxregs(datap, child); in subarch_ptrace()
Dptrace_64.c255 void __user *datap = (void __user *) data; in subarch_ptrace() local
259 ret = get_fpregs(datap, child); in subarch_ptrace()
262 ret = set_fpregs(datap, child); in subarch_ptrace()
/arch/arm/kernel/
Dptrace.c802 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
806 ret = ptrace_read_user(child, addr, datap); in arch_ptrace()
817 datap); in arch_ptrace()
824 datap); in arch_ptrace()
831 datap); in arch_ptrace()
838 datap); in arch_ptrace()
843 ret = ptrace_getwmmxregs(child, datap); in arch_ptrace()
847 ret = ptrace_setwmmxregs(child, datap); in arch_ptrace()
853 datap); in arch_ptrace()
863 ret = ptrace_getcrunchregs(child, datap); in arch_ptrace()
[all …]
/arch/x86/kernel/
Dptrace.c825 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
844 ret = put_user(tmp, datap); in arch_ptrace()
868 datap); in arch_ptrace()
875 datap); in arch_ptrace()
882 datap); in arch_ptrace()
889 datap); in arch_ptrace()
896 datap) ? -EIO : 0; in arch_ptrace()
902 datap) ? -EIO : 0; in arch_ptrace()
1139 void __user *datap = compat_ptr(data); in x32_arch_ptrace() local
1161 ret = put_user(tmp, (__u32 __user *)datap); in x32_arch_ptrace()
[all …]
/arch/xtensa/kernel/
Dptrace.c274 void __user *datap = (void __user *) data; in arch_ptrace() local
283 ret = ptrace_peekusr(child, addr, datap); in arch_ptrace()
296 ret = ptrace_getregs(child, datap); in arch_ptrace()
300 ret = ptrace_setregs(child, datap); in arch_ptrace()
304 ret = ptrace_getxregs(child, datap); in arch_ptrace()
308 ret = ptrace_setxregs(child, datap); in arch_ptrace()
/arch/sh/kernel/
Dptrace_32.c373 unsigned long __user *datap = (unsigned long __user *)data; in arch_ptrace() local
416 ret = put_user(tmp, datap); in arch_ptrace()
449 datap); in arch_ptrace()
454 datap); in arch_ptrace()
460 datap); in arch_ptrace()
465 datap); in arch_ptrace()
472 datap); in arch_ptrace()
477 datap); in arch_ptrace()
Dptrace_64.c390 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
416 ret = put_user(tmp, datap); in arch_ptrace()
460 datap); in arch_ptrace()
465 datap); in arch_ptrace()
471 datap); in arch_ptrace()
476 datap); in arch_ptrace()
/arch/avr32/kernel/
Dptrace.c153 void __user *datap = (void __user *) data; in arch_ptrace() local
163 ret = ptrace_read_user(child, addr, datap); in arch_ptrace()
177 ret = ptrace_getregs(child, datap); in arch_ptrace()
181 ret = ptrace_setregs(child, datap); in arch_ptrace()
/arch/arm64/kernel/
Dptrace.c1036 void __user *datap = compat_ptr(data); in compat_arch_ptrace() local
1041 ret = compat_ptrace_read_user(child, addr, datap); in compat_arch_ptrace()
1053 datap); in compat_arch_ptrace()
1061 datap); in compat_arch_ptrace()
1066 (compat_ulong_t __user *)datap); in compat_arch_ptrace()
1079 datap); in compat_arch_ptrace()
1087 datap); in compat_arch_ptrace()
1092 ret = compat_ptrace_gethbpregs(child, addr, datap); in compat_arch_ptrace()
1096 ret = compat_ptrace_sethbpregs(child, addr, datap); in compat_arch_ptrace()
/arch/m32r/kernel/
Dptrace.c627 unsigned long __user *datap = (unsigned long __user *) data; in arch_ptrace() local
642 ret = ptrace_read_user(child, addr, datap); in arch_ptrace()
663 ret = ptrace_getregs(child, datap); in arch_ptrace()
667 ret = ptrace_setregs(child, datap); in arch_ptrace()
/arch/score/kernel/
Dptrace.c332 unsigned long __user *datap = (void __user *)data; in arch_ptrace() local
339 datap); in arch_ptrace()
346 datap); in arch_ptrace()
/arch/tile/include/asm/
Dpgtable.h537 pte_t *ptep, void **datap);