Home
last modified time | relevance | path

Searched refs:copy_to_user (Results 1 – 25 of 167) sorted by relevance

1234567

/arch/avr32/lib/
Dcopy_user.S34 .global copy_to_user symbol
35 .type copy_to_user, @function
36 copy_to_user: label
39 .size copy_to_user, . - copy_to_user
/arch/parisc/include/asm/
Dtermios.h43 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \
47 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
49 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
/arch/ia64/include/asm/
Dtermios.h49 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \
53 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
55 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
/arch/m32r/include/asm/
Dtermios.h43 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \
47 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
49 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
/arch/cris/include/asm/
Dtermios.h43 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \
47 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
49 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
/arch/mn10300/include/uapi/asm/
Dtermios.h71 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \
77 copy_to_user(u, k, sizeof(struct termios2))
81 copy_to_user(u, k, sizeof(struct termios))
/arch/powerpc/lib/
Dusercopy_64.c21 unsigned long copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() function
39 EXPORT_SYMBOL(copy_to_user);
/arch/sparc/kernel/
Dsigutil_64.c22 err |= copy_to_user(&fpu->si_float_regs[0], fpregs, in save_fpu_state()
25 err |= copy_to_user(&fpu->si_float_regs[32], fpregs+16, in save_fpu_state()
66 err |= copy_to_user(&rwin->reg_window[i], rp, in save_rwin_state()
Dwindows.c74 if (copy_to_user((char __user *) sp, &tp->reg_window[window], in synchronize_user_stack()
122 copy_to_user((char __user *) sp, &tp->reg_window[window], in try_to_clear_window_buffer()
/arch/m68k/include/asm/
Duaccess_no.h131 #define copy_to_user(to, from, n) (memcpy(to, from, n), 0) macro
134 #define __copy_to_user(to, from, n) copy_to_user(to, from, n)
138 #define copy_to_user_ret(to,from,n,retval) ({ if (copy_to_user(to,from,n)) return retval; })
/arch/powerpc/math-emu/
Dstfiwx.c12 if (copy_to_user(ea, &frS[1], sizeof(frS[1]))) in stfiwx()
Dstfd.c16 if (copy_to_user(ea, frS, sizeof(double))) in stfd()
/arch/s390/include/asm/
Dtermios.h21 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
/arch/hexagon/mm/
DMakefile6 obj-y += copy_to_user.o copy_from_user.o strnlen_user.o vm_tlb.o
/arch/s390/hypfs/
Dhypfs_sprp.c91 if (copy_to_user(udata, data, PAGE_SIZE)) { in __hypfs_sprp_ioctl()
96 rc = copy_to_user(user_area, &diag304, sizeof(diag304)) ? -EFAULT : 0; in __hypfs_sprp_ioctl()
/arch/ia64/kernel/
Dcrash_dump.c43 if (copy_to_user(buf, (vaddr + offset), csize)) { in copy_oldmem_page()
/arch/mips/include/asm/
Dtermios.h90 return copy_to_user(u, k, sizeof(struct termios2)) ? -EFAULT : 0; in kernel_termios_to_user_termios()
102 return copy_to_user(u, k, sizeof(struct termios)) ? -EFAULT : 0; in kernel_termios_to_user_termios_1()
/arch/sh/kernel/
Dcrash_dump.c36 if (copy_to_user(buf, (vaddr + offset), csize)) { in copy_oldmem_page()
/arch/arm/kernel/
Dcrash_dump.c47 if (copy_to_user(buf, vaddr + offset, csize)) { in copy_oldmem_page()
/arch/blackfin/include/asm/
Duaccess.h167 #define __copy_to_user(to, from, n) copy_to_user(to, from, n)
171 #define copy_to_user_ret(to,from,n,retval) ({ if (copy_to_user(to,from,n))\
189 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() function
/arch/x86/kernel/
Dcrash_dump_64.c39 if (copy_to_user(buf, vaddr + offset, csize)) { in copy_oldmem_page()
/arch/arm64/lib/
DMakefile2 copy_to_user.o copy_in_user.o copy_page.o \
/arch/frv/kernel/
Dsysctl.c110 if (copy_to_user(buffer, buff, len) != 0) in procctl_frv_cachemode()
164 if (copy_to_user(buffer, buff, len) != 0) in procctl_frv_pin_cxnr()
/arch/alpha/include/asm/
Dtermios.h71 copy_to_user(u_termio, &k_termio, sizeof(k_termio)); \
78 copy_to_user(u, k, sizeof(struct termios))
/arch/alpha/kernel/
Dosf_sys.c132 copy_to_user(dirent->d_name, name, namlen) || in osf_filldir()
294 return copy_to_user(osf_stat, &tmp, sizeof(tmp)) ? -EFAULT : 0; in linux_to_osf_stat()
315 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
335 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs64()
531 if (copy_to_user(name + 0, utsname()->sysname, 32)) in SYSCALL_DEFINE1()
533 if (copy_to_user(name + 32, utsname()->nodename, 32)) in SYSCALL_DEFINE1()
535 if (copy_to_user(name + 64, utsname()->release, 32)) in SYSCALL_DEFINE1()
537 if (copy_to_user(name + 96, utsname()->version, 32)) in SYSCALL_DEFINE1()
539 if (copy_to_user(name + 128, utsname()->machine, 32)) in SYSCALL_DEFINE1()
757 if (copy_to_user(buf, res, len)) in SYSCALL_DEFINE3()
[all …]

1234567