Lines Matching refs:copy_to_user
133 copy_to_user(dirent->d_name, name, namlen) || in osf_filldir()
295 return copy_to_user(osf_stat, &tmp, sizeof(tmp)) ? -EFAULT : 0; in linux_to_osf_stat()
316 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
336 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs64()
532 if (copy_to_user(name + 0, utsname()->sysname, 32)) in SYSCALL_DEFINE1()
534 if (copy_to_user(name + 32, utsname()->nodename, 32)) in SYSCALL_DEFINE1()
536 if (copy_to_user(name + 64, utsname()->release, 32)) in SYSCALL_DEFINE1()
538 if (copy_to_user(name + 96, utsname()->version, 32)) in SYSCALL_DEFINE1()
540 if (copy_to_user(name + 128, utsname()->machine, 32)) in SYSCALL_DEFINE1()
758 if (copy_to_user(buf, res, len)) in SYSCALL_DEFINE3()
813 if (copy_to_user(buffer, hwrpb, nbytes) != 0) in SYSCALL_DEFINE5()
1007 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
1167 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1292 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1()
1293 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()