Lines Matching refs:cest
71 struct ffclock_estimate cest; in ffclock_abstime() local
87 bcopy(&ffclock_estimate, &cest, sizeof(struct ffclock_estimate)); in ffclock_abstime()
96 bt->sec -= cest.leapsec_total; in ffclock_abstime()
97 if (ffc > cest.leapsec_next) in ffclock_abstime()
98 bt->sec -= cest.leapsec; in ffclock_abstime()
108 ffdelta_error = ffc - cest.update_ffcount; in ffclock_abstime()
111 bintime_mul(error_bound, cest.errb_rate * in ffclock_abstime()
114 bintime_addx(error_bound, cest.errb_abs * in ffclock_abstime()
411 struct ffclock_estimate *cest; member
418 struct ffclock_estimate cest; in sys_ffclock_setestimate() local
425 if ((error = copyin(uap->cest, &cest, sizeof(struct ffclock_estimate))) in sys_ffclock_setestimate()
430 memcpy(&ffclock_estimate, &cest, sizeof(struct ffclock_estimate)); in sys_ffclock_setestimate()
443 struct ffclock_estimate *cest; member
450 struct ffclock_estimate cest; in sys_ffclock_getestimate() local
454 memcpy(&cest, &ffclock_estimate, sizeof(struct ffclock_estimate)); in sys_ffclock_getestimate()
456 error = copyout(&cest, uap->cest, sizeof(struct ffclock_estimate)); in sys_ffclock_getestimate()