Searched defs:txc (Results 1 - 4 of 4) sorted by relevance
/kernel/time/ |
H A D | time.c | 212 struct timex txc; /* Local copy of parameter */ local 219 if(copy_from_user(&txc, txc_p, sizeof(struct timex))) 221 ret = do_adjtimex(&txc); 222 return copy_to_user(txc_p, &txc, sizeof(struct timex)) ? -EFAULT : ret;
|
H A D | ntp.c | 185 static inline void pps_fill_timex(struct timex *txc) argument 187 txc->ppsfreq = shift_right((pps_freq >> PPM_SCALE_INV_SHIFT) * 189 txc->jitter = pps_jitter; 191 txc->jitter /= NSEC_PER_USEC; 192 txc->shift = pps_shift; 193 txc->stabil = pps_stabil; 194 txc->jitcnt = pps_jitcnt; 195 txc->calcnt = pps_calcnt; 196 txc->errcnt = pps_errcnt; 197 txc 217 pps_fill_timex(struct timex *txc) argument 535 process_adj_status(struct timex *txc, struct timespec64 *ts) argument 557 process_adjtimex_modes(struct timex *txc, struct timespec64 *ts, s32 *time_tai) argument 610 ntp_validate_timex(struct timex *txc) argument 644 __do_adjtimex(struct timex *txc, struct timespec64 *ts, s32 *time_tai) argument [all...] |
H A D | timekeeping.c | 1743 int do_adjtimex(struct timex *txc) argument 1752 ret = ntp_validate_timex(txc); 1756 if (txc->modes & ADJ_SETOFFSET) { 1758 delta.tv_sec = txc->time.tv_sec; 1759 delta.tv_nsec = txc->time.tv_usec; 1760 if (!(txc->modes & ADJ_NANO)) 1773 ret = __do_adjtimex(txc, &ts, &tai);
|
/kernel/ |
H A D | compat.c | 33 static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp) argument 35 memset(txc, 0, sizeof(struct timex)); 38 __get_user(txc->modes, &utp->modes) || 39 __get_user(txc->offset, &utp->offset) || 40 __get_user(txc->freq, &utp->freq) || 41 __get_user(txc->maxerror, &utp->maxerror) || 42 __get_user(txc->esterror, &utp->esterror) || 43 __get_user(txc->status, &utp->status) || 44 __get_user(txc->constant, &utp->constant) || 45 __get_user(txc 63 compat_put_timex(struct compat_timex __user *utp, struct timex *txc) argument 778 struct timex txc; local 1069 struct timex txc; local [all...] |
Completed in 95 milliseconds