Lines Matching refs:copy_to_user
901 if (copy_to_user(tbuf, &tmp, sizeof(struct tms))) in SYSCALL_DEFINE1()
1104 copy_to_user(name->machine, COMPAT_UTS_MACHINE, \
1136 ret = copy_to_user(release, buf, copy + 1); in override_release()
1146 if (copy_to_user(name, utsname(), sizeof *name)) in SYSCALL_DEFINE1()
1169 if (copy_to_user(name, utsname(), sizeof(*name))) in SYSCALL_DEFINE1()
1254 if (copy_to_user(name, u->nodename, i)) in SYSCALL_DEFINE2()
1297 ret = copy_to_user(rlim, &value, sizeof(*rlim)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1321 return copy_to_user(rlim, &x, sizeof(x)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1482 if (copy_to_user(old_rlim, &old64, sizeof(old64))) in SYSCALL_DEFINE4()
1621 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in getrusage()
2144 if (copy_to_user((char __user *)arg2, comm, sizeof(comm))) in SYSCALL_DEFINE5()
2361 if (copy_to_user(info, &val, sizeof(struct sysinfo))) in SYSCALL_DEFINE1()