| /src/usr.sbin/timed/timed/ |
| tspname.c | 42 set_tsp_name(struct tsp *tsp, const char *name) 44 (void)strncpy(tsp->tsp_name, name, sizeof(tsp->tsp_name)); 45 tsp->tsp_name[sizeof(tsp->tsp_name) - 1] = '\0'; 49 get_tsp_name(const struct tsp *tsp, char *name, size_t size) 51 size = MIN(size, sizeof(tsp->tsp_name)); 53 (void)strncpy(name, tsp->tsp_name, size) [all...] |
| timed-extern.h | 38 struct tsp; 44 struct tsp *readmsg(int, char *, struct timeval *, struct netinfo *); 45 struct tsp *acksend(struct tsp *, 49 void adj_msg_time(struct tsp *, struct timeval *); 50 void bytehostorder(struct tsp *); 51 void bytenetorder(struct tsp *); 52 void byteorder(struct tsp *); 57 void doquit(struct tsp *); 72 void newslave(struct tsp *); [all...] |
| acksend.c | 44 struct tsp *answer; 51 static struct tsp msg; 63 sendtsp(int s, struct tsp *msg, struct sockaddr_in *addr) 83 struct tsp * 84 acksend(struct tsp *message, /* this message */
|
| byteorder.c | 46 bytenetorder(struct tsp *ptr) 65 bytehostorder(struct tsp *ptr)
|
| /src/usr.sbin/timed/timedc/ |
| timedc-extern.h | 34 struct tsp; 36 void bytehostorder(struct tsp *); 37 void bytenetorder(struct tsp *);
|
| /src/lib/libc/compat/sys/ |
| compat__lwp_park.c | 59 struct timespec ts, *tsp; variable in typeref:struct:timespec * 62 timespec50_to_timespec(ts50, tsp = &ts); 64 tsp = NULL; 65 return ___lwp_park50(tsp, unpark, hint, unparkhint);
|
| compat_adjtime.c | 62 struct timeval ts, *tsp; variable in typeref:struct:timeval * 68 timeval50_to_timeval(ts50, tsp = &ts); 70 tsp = NULL; 71 error = __adjtime50(tsp, rtsp);
|
| compat_aio_suspend.c | 63 struct timespec ts, *tsp; variable in typeref:struct:timespec * 66 timespec50_to_timespec(ts50, tsp = &ts); 68 tsp = NULL; 69 return __aio_suspend50(list, nent, tsp);
|
| compat_nanosleep.c | 62 struct timespec ts, *tsp; variable in typeref:struct:timespec * 68 timespec50_to_timespec(ts50, tsp = &ts); 70 tsp = NULL; 71 error = __nanosleep50(tsp, rtsp);
|
| compat_lfs_segwait.c | 57 struct timeval ts, *tsp; variable in typeref:struct:timeval * 60 timeval50_to_timeval(ts50, tsp = &ts); 62 tsp = NULL; 63 return __lfs_segwait50(fsid, tsp);
|
| compat_mqueue.c | 66 struct timespec ts, *tsp; variable in typeref:struct:timespec * 69 timespec50_to_timespec(ts50, tsp = &ts); 71 tsp = NULL; 72 return __mq_timedreceive50(mq, name, len, buf, tsp); 79 struct timespec ts, *tsp; local in function:mq_timedsend 82 timespec50_to_timespec(ts50, tsp = &ts); 84 tsp = NULL; 85 return __mq_timedsend50(mq, name, len, buf, tsp);
|
| compat___lwp_park50.c | 56 struct timespec ts1, *tsp = &ts1; variable in typeref:struct:timespec * 60 tsp = NULL; 61 return ___lwp_park60(CLOCK_REALTIME, TIMER_ABSTIME, tsp, unpark,
|
| compat_kevent.c | 60 struct timespec ts, *tsp; variable in typeref:struct:timespec * 63 timespec50_to_timespec(ts50, tsp = &ts); 65 tsp = NULL; 66 return __kevent50(kq, changelist, nchanges, eventlist, nevents, tsp); 71 struct kevent100 *eventlist100, size_t nevents, const struct timespec *tsp) 91 retval = __kevent100(kq, changelist, nchanges, eventlist, nevents, tsp);
|
| /src/lib/libc/sys/ |
| epoll.c | 59 struct timespec ts, *tsp; local in function:epoll_pwait 64 tsp = &ts; 66 tsp = NULL; 68 return epoll_pwait2(epfd, events, maxevents, tsp, sigmask);
|
| /src/usr.bin/touch/ |
| touch.c | 239 stime_arg0(const char *arg, struct timespec *tsp) 241 tsp[1].tv_sec = tsp[0].tv_sec = parsedate(arg, NULL, NULL); 242 if (tsp[0].tv_sec == NO_TIME) 244 tsp[0].tv_nsec = tsp[1].tv_nsec = 0; 248 stime_arg1(char *arg, struct timespec *tsp) 257 tmptime = tsp[0].tv_sec; 308 tsp[0].tv_sec = tsp[1].tv_sec = mktime(t) [all...] |
| /src/games/monop/ |
| getinp.c | 106 const char *sp, *tsp; local in function:comp 110 for (sp = buf, tsp = s1; *sp; ) { 111 c = tolower((unsigned char)*tsp); 112 tsp++;
|
| /src/sys/compat/common/ |
| kern_time_60.c | 66 struct timespec ts, *tsp; local in function:compat_60_sys__lwp_park 69 tsp = NULL; 74 tsp = &ts; 83 return lwp_park(CLOCK_REALTIME, TIMER_ABSTIME, tsp);
|
| /src/sys/compat/netbsd32/ |
| netbsd32_compat_60.c | 58 struct timespec ts, *tsp; local in function:compat_60_netbsd32__lwp_park 63 tsp = NULL; 69 tsp = &ts; 78 return lwp_park(CLOCK_REALTIME, TIMER_ABSTIME, tsp);
|
| netbsd32_futex.c | 63 struct timespec ts, *tsp; local in function:netbsd32___futex 74 tsp = &ts; 76 tsp = NULL; 80 SCARG(uap, val), tsp, SCARG_P32(uap, uaddr2), SCARG(uap, val2),
|
| netbsd32_mqueue.c | 269 struct timespec ts, *tsp; local in function:netbsd32___mq_timedsend50 280 tsp = &ts; 282 tsp = NULL; 286 SCARG(uap, msg_len), SCARG(uap, msg_prio), tsp); 300 struct timespec ts, *tsp; local in function:netbsd32___mq_timedreceive50 312 tsp = &ts; 314 tsp = NULL; 318 SCARG(uap, msg_len), SCARG_P32(uap, msg_prio), tsp, &mlen); 339 struct timespec ts, *tsp; local in function:compat_50_netbsd32_mq_timedsend 350 tsp = &ts 371 struct timespec ts, *tsp; local in function:compat_50_netbsd32_mq_timedreceive [all...] |
| /src/sys/arch/alpha/pci/ |
| tsc.c | 71 CFATTACH_DECL_NEW(tsp, 0, tspmatch, tspattach, NULL, NULL); 116 struct tsp_attach_args tsp; local in function:tscattach 139 memset(&tsp, 0, sizeof tsp); 140 tsp.tsp_name = "tsp"; 141 tsp.tsp_slot = 0; 143 config_found(self, &tsp, tscprint, CFARGS_NONE); 145 tsp.tsp_slot += 2; 146 config_found(self, &tsp, tscprint, CFARGS_NONE) 167 struct tsp_attach_args *tsp = aux; local in function:tscprint 186 #define tsp macro 277 struct tsp_config *tsp = &tsp_configuration[tsp_console_hose]; local in function:tsp_bus_get_window [all...] |
| /src/share/man/man4/man4.alpha/ |
| Makefile | 6 tsp.4 ttwoga.4 ttwopci.4
|
| /src/sys/sys/ |
| time.h | 243 #define timespecclear(tsp) (tsp)->tv_sec = (time_t)((tsp)->tv_nsec = 0L) 244 #define timespecisset(tsp) ((tsp)->tv_sec || (tsp)->tv_nsec) 245 #define timespeccmp(tsp, usp, cmp) \ 246 (((tsp)->tv_sec == (usp)->tv_sec) ? \ 247 ((tsp)->tv_nsec cmp (usp)->tv_nsec) : \ 248 ((tsp)->tv_sec cmp (usp)->tv_sec) [all...] |
| /src/sys/arch/alpha/alpha/ |
| dec_6600.c | 107 struct tsp_config *tsp; local in function:dec_6600_cons_init 116 tsp = tsp_init(tsp_console_hose); 118 isa_iot = &tsp->pc_iot; 119 isa_memt = &tsp->pc_memt; 131 tsp = tsp_init(tsp_console_hose); 140 pci_consinit(&tsp->pc_pc, &tsp->pc_iot, &tsp->pc_memt, 187 if (device_is_a(dev, "tsp")) { 188 struct tsp_attach_args *tsp = aux local in function:dec_6600_device_register [all...] |
| /src/sys/kern/ |
| subr_time_arith.c | 221 * timespecaddok(tsp, usp) 223 * True if tsp + usp can be computed without overflow, i.e., if it 224 * is OK to do timespecadd(tsp, usp, ...). 227 timespecaddok(const struct timespec *tsp, const struct timespec *usp) 230 time_t a = tsp->tv_sec; 239 KASSERT(tsp->tv_nsec >= 0); 241 KASSERT(tsp->tv_nsec < 1000000000L); 254 carry = (tsp->tv_nsec + usp->tv_nsec >= 1000000000L); 334 * timespecsubok(tsp, usp) 336 * True if tsp - usp can be computed without overflow, i.e., if i [all...] |