Lines Matching refs:txc
553 struct __kernel_timex txc; in SYSCALL_DEFINE1() local
554 struct __kernel_old_timeval *tv = (void *)&txc.time; in SYSCALL_DEFINE1()
561 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE1()
568 txc.time.tv_usec = tv->tv_usec; in SYSCALL_DEFINE1()
569 ret = do_adjtimex(&txc); in SYSCALL_DEFINE1()
570 tv->tv_usec = txc.time.tv_usec; in SYSCALL_DEFINE1()
572 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret; in SYSCALL_DEFINE1()
578 struct __kernel_timex txc; in SYSCALL_DEFINE2() local
579 struct __kernel_old_timeval *tv = (void *)&txc.time; in SYSCALL_DEFINE2()
594 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE2()
601 txc.time.tv_usec = tv->tv_usec; in SYSCALL_DEFINE2()
602 ret = do_clock_adjtime(which_clock, &txc); in SYSCALL_DEFINE2()
603 tv->tv_usec = txc.time.tv_usec; in SYSCALL_DEFINE2()
605 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret; in SYSCALL_DEFINE2()