D | itimer.c | 100 static int put_itimerval(struct __kernel_old_itimerval __user *o, in put_itimerval() argument 109 return copy_to_user(o, &v, sizeof(struct __kernel_old_itimerval)) ? -EFAULT : 0; in put_itimerval() 129 static int put_old_itimerval32(struct old_itimerval32 __user *o, in put_old_itimerval32() argument 138 return copy_to_user(o, &v32, sizeof(struct old_itimerval32)) ? -EFAULT : 0; in put_old_itimerval32() 313 static int get_itimerval(struct itimerspec64 *o, const struct __kernel_old_itimerval __user *i) in get_itimerval() argument 325 o->it_interval.tv_sec = v.it_interval.tv_sec; in get_itimerval() 326 o->it_interval.tv_nsec = v.it_interval.tv_usec * NSEC_PER_USEC; in get_itimerval() 327 o->it_value.tv_sec = v.it_value.tv_sec; in get_itimerval() 328 o->it_value.tv_nsec = v.it_value.tv_usec * NSEC_PER_USEC; in get_itimerval() 359 static int get_old_itimerval32(struct itimerspec64 *o, const struct old_itimerval32 __user *i) in get_old_itimerval32() argument [all …]
|