Lines Matching refs:txc
570 struct __kernel_timex txc;
571 struct __kernel_old_timeval *tv = (void *)&txc.time;
578 if (copy_from_user(&txc, txc_p, sizeof(txc)))
585 txc.time.tv_usec = tv->tv_usec;
586 ret = do_adjtimex(&txc);
587 tv->tv_usec = txc.time.tv_usec;
589 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret;
595 struct __kernel_timex txc;
596 struct __kernel_old_timeval *tv = (void *)&txc.time;
611 if (copy_from_user(&txc, txc_p, sizeof(txc)))
618 txc.time.tv_usec = tv->tv_usec;
619 ret = do_clock_adjtime(which_clock, &txc);
620 tv->tv_usec = txc.time.tv_usec;
622 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret;