Lines Matching full:tx

97 	struct timex tx;  in clear_time_state()  local
106 tx.modes = ADJ_STATUS; in clear_time_state()
107 tx.status = STA_PLL; in clear_time_state()
108 ret = adjtimex(&tx); in clear_time_state()
111 tx.modes = ADJ_MAXERROR; in clear_time_state()
112 tx.maxerror = 0; in clear_time_state()
113 ret = adjtimex(&tx); in clear_time_state()
116 tx.modes = ADJ_STATUS; in clear_time_state()
117 tx.status = 0; in clear_time_state()
118 ret = adjtimex(&tx); in clear_time_state()
132 struct timex tx; in sigalarm() local
135 tx.modes = 0; in sigalarm()
136 ret = adjtimex(&tx); in sigalarm()
138 if (tx.time.tv_sec < next_leap) { in sigalarm()
142 tx.time.tv_sec, in sigalarm()
143 tx.time.tv_usec, in sigalarm()
144 tx.tai, in sigalarm()
151 tx.time.tv_sec, in sigalarm()
152 tx.time.tv_usec, in sigalarm()
153 tx.tai, in sigalarm()
239 struct timex tx; in main() local
262 tx.modes = ADJ_STATUS; in main()
264 tx.status = STA_INS; in main()
266 tx.status = STA_DEL; in main()
267 ret = adjtimex(&tx); in main()
275 tx.modes = 0; in main()
276 ret = adjtimex(&tx); in main()
277 if (tx.status != STA_INS && tx.status != STA_DEL) { in main()
315 tx.modes = 0; in main()
316 ret = adjtimex(&tx); in main()
317 if (tx.status != STA_INS && tx.status != STA_DEL) { in main()
319 tx.modes = ADJ_STATUS; in main()
321 tx.status = STA_INS; in main()
323 tx.status = STA_DEL; in main()
324 ret = adjtimex(&tx); in main()
328 now = tx.time.tv_sec; in main()
334 tx.modes = 0; in main()
335 ret = adjtimex(&tx); in main()
344 ctime_r(&tx.time.tv_sec, buf); in main()
349 tx.time.tv_usec, in main()
350 tx.tai, in main()
353 now = tx.time.tv_sec; in main()