Lines Matching refs:EFAULT
39 return -EFAULT; in compat_get_timex()
92 return -EFAULT; in compat_put_timex()
100 __get_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_get_timeval()
107 __put_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_put_timeval()
114 __get_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_get_timespec()
121 __put_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_put_timespec()
127 return copy_from_user(tv, utv, sizeof(*tv)) ? -EFAULT : 0; in compat_get_timeval()
136 return copy_to_user(utv, tv, sizeof(*tv)) ? -EFAULT : 0; in compat_put_timeval()
145 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in compat_get_timespec()
154 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in compat_put_timespec()
165 return -EFAULT; in get_compat_itimerval()
181 return copy_to_user(o, &v32, sizeof(struct compat_itimerval)) ? -EFAULT : 0; in put_compat_itimerval()
206 return -EFAULT; in COMPAT_SYSCALL_DEFINE3()
230 return -EFAULT; in COMPAT_SYSCALL_DEFINE3()
261 return -EFAULT; in put_compat_rusage()
318 ret = -EFAULT; in COMPAT_SYSCALL_DEFINE3()
345 ? -EFAULT : 0; in get_compat_sigevent()
358 return -EFAULT; in compat_get_bitmap()
375 return -EFAULT; in compat_get_bitmap()
388 return -EFAULT; in compat_put_bitmap()
403 return -EFAULT; in compat_put_bitmap()
412 return -EFAULT; in get_compat_sigset()
421 return -EFAULT; in get_compat_sigset()