Lines Matching refs:EFAULT
33 __get_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_get_timeval()
40 __put_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_put_timeval()
47 __get_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_get_timespec()
54 __put_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_put_timespec()
60 return copy_from_user(tv, utv, sizeof(*tv)) ? -EFAULT : 0; in compat_get_timeval()
69 return copy_to_user(utv, tv, sizeof(*tv)) ? -EFAULT : 0; in compat_put_timeval()
78 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in compat_get_timespec()
87 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in compat_put_timespec()
98 return -EFAULT; in get_compat_itimerval()
114 return copy_to_user(o, &v32, sizeof(struct compat_itimerval)) ? -EFAULT : 0; in put_compat_itimerval()
139 return -EFAULT; in COMPAT_SYSCALL_DEFINE3()
163 return -EFAULT; in COMPAT_SYSCALL_DEFINE3()
194 return -EFAULT; in put_compat_rusage()
251 ret = -EFAULT; in COMPAT_SYSCALL_DEFINE3()
278 ? -EFAULT : 0; in get_compat_sigevent()
291 return -EFAULT; in compat_get_bitmap()
307 return -EFAULT; in compat_get_bitmap()
320 return -EFAULT; in compat_put_bitmap()
334 return -EFAULT; in compat_put_bitmap()
343 return -EFAULT; in get_compat_sigset()
355 return -EFAULT; in get_compat_sigset()