Lines Matching refs:copy_to_user
137 copy_to_user(dirent->d_name, name, namlen) || in osf_filldir()
299 return copy_to_user(osf_stat, &tmp, sizeof(tmp)) ? -EFAULT : 0; in linux_to_osf_stat()
320 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs()
340 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs64()
542 if (copy_to_user(name, tmp, sizeof(tmp))) in SYSCALL_DEFINE1()
576 if (copy_to_user(name, tmp, len)) in SYSCALL_DEFINE2()
756 if (copy_to_user(buf, tmp, len)) in SYSCALL_DEFINE3()
807 if (copy_to_user(buffer, hwrpb, nbytes) != 0) in SYSCALL_DEFINE5()
959 return copy_to_user(o, &(struct timeval32){ in put_tv32()
968 return copy_to_user(o, &(struct timeval32){ in put_tv_to_tv32()
990 return copy_to_user(o, &(struct itimerval32){ in put_it32()
1016 if (copy_to_user(tz, &sys_tz, sizeof(sys_tz))) in SYSCALL_DEFINE2()
1173 return copy_to_user(ru, &r, sizeof(r)) ? -EFAULT : 0; in SYSCALL_DEFINE2()
1189 if (copy_to_user(&ur->ru_maxrss, &r.ru_maxrss, in SYSCALL_DEFINE4()
1270 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1()
1271 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()