Searched refs:tsp_time (Results 1 – 9 of 9) sorted by relevance
55 ptr->tsp_time.tv_sec = htonl((uint32_t)ptr->tsp_time.tv_sec); in bytenetorder()56 ptr->tsp_time.tv_usec = htonl((uint32_t)ptr->tsp_time.tv_usec); in bytenetorder()74 ptr->tsp_time.tv_sec = ntohl((uint32_t)ptr->tsp_time.tv_sec); in bytehostorder()75 ptr->tsp_time.tv_usec = ntohl((uint32_t)ptr->tsp_time.tv_usec); in bytehostorder()
77 to.tsp_time.tv_sec = tmptv.tv_sec; in correct()78 to.tsp_time.tv_usec = tmptv.tv_usec; in correct()81 tmptv.tv_sec = to.tsp_time.tv_sec ; in correct()82 tmptv.tv_usec = to.tsp_time.tv_usec ; in correct()84 to.tsp_time.tv_sec = tmptv.tv_sec; in correct()85 to.tsp_time.tv_usec = tmptv.tv_usec; in correct()191 timeradd(&msg->tsp_time, &diff, &msg->tsp_time); in adj_msg_time()
231 synch((long)tvtomsround(msg->tsp_time)); in slave()255 tmpt = msg->tsp_time.tv_sec; in slave()267 timersub(&msg->tsp_time, &otime, &ntime); in slave()333 tmpt = msg->tsp_time.tv_sec; in slave()341 tmpt = msg->tsp_time.tv_sec; in slave()645 to.tsp_time = msg->tsp_time; in schgdate()
167 tmpt = msg->tsp_time.tv_sec; in master()185 tmpt = msg->tsp_time.tv_sec; in master()361 timersub(&msg->tsp_time, &otime, &ntime); in mchgdate()470 to.tsp_time.tv_sec = tmptv.tv_sec; in spreadtime()471 to.tsp_time.tv_usec = tmptv.tv_usec; in spreadtime()750 to.tsp_time.tv_sec = tmptv.tv_sec; in newslave()751 to.tsp_time.tv_usec = tmptv.tv_usec; in newslave()
476 msgtime = msg->tsp_time.tv_sec; in print()493 (long)msg->tsp_time.tv_sec, in print()494 (long)msg->tsp_time.tv_usec, in print()
339 tv->tv_sec = msg->tsp_time.tv_sec; in update_time()340 tv->tv_usec = msg->tsp_time.tv_usec; in update_time()
127 msg.tsp_time.tv_sec = htonl((in_addr_t)tval); /* XXX: y2038 */ in netsettime()128 msg.tsp_time.tv_usec = htonl((in_addr_t)0); in netsettime()177 msg.tsp_time.tv_sec = ntohl(msg.tsp_time.tv_sec); in netsettime()178 msg.tsp_time.tv_usec = ntohl(msg.tsp_time.tv_usec); in netsettime()
54 #define tsp_time tsp_u.tspu_time macro139 sec = GET_BE_S_4(tsp->tsp_time.tv_sec); in timed_print()140 usec = GET_BE_S_4(tsp->tsp_time.tv_usec); in timed_print()
61 #define tsp_time tsp_u.tspu_time macro