/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | poll.c | 35 const struct timespec *_RESTRICT_KYWD tsp, 38 return (_pollsys(fds, nfd, tsp, sigmask)); 45 timespec_t *tsp; local 48 tsp = NULL; 52 tsp = &ts; 55 return (_pollsys(fds, nfd, tsp, NULL)); 34 ppoll(struct pollfd *_RESTRICT_KYWD fds, nfds_t nfd, const struct timespec *_RESTRICT_KYWD tsp, const sigset_t *_RESTRICT_KYWD sigmask) argument
|
H A D | select.c | 59 const timespec_t *tsp, const sigset_t *sigmask) 85 if (tsp != NULL) { 87 if (tsp->tv_nsec < 0 || tsp->tv_nsec >= NANOSEC || 88 tsp->tv_sec < 0) { 139 rv = _pollsys(pfd, (nfds_t)n, tsp, sigmask); 288 timespec_t *tsp; local 291 tsp = NULL; 309 tsp = &ts; 312 return (pselect(nfds, in0, out0, ex0, tsp, NUL 58 pselect(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0, const timespec_t *tsp, const sigset_t *sigmask) argument [all...] |
H A D | select_large_fdset.c | 74 const timespec_t *tsp, const sigset_t *sigmask) 103 if (tsp != NULL) { 104 if (tsp->tv_nsec < 0 || tsp->tv_nsec >= NANOSEC || 105 tsp->tv_sec < 0) { 183 rv = _pollsys(pfd_list, (nfds_t)nused, tsp, sigmask); 340 timespec_t *tsp; local 343 tsp = NULL; 361 tsp = &ts; 364 return (pselect_large_fdset(nfds, in0, out0, ex0, tsp, NUL 73 pselect_large_fdset(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0, const timespec_t *tsp, const sigset_t *sigmask) argument [all...] |
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 55 long *tsp; local 78 tsp = sp + 1; 104 *tsp++ = tmp;
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lwp_rwlock.c | 42 __lwp_rwlock_rdlock(rwlock_t *rwl, timespec_t *tsp) argument 48 SUBSYS_lwp_rwlock_rdlock, rwl, tsp); 56 __lwp_rwlock_wrlock(rwlock_t *rwl, timespec_t *tsp) argument 62 SUBSYS_lwp_rwlock_wrlock, rwl, tsp);
|
H A D | time_util.c | 40 hrt2ts(hrtime_t hrt, timespec_t *tsp) argument 61 tsp->tv_sec = (time_t)sec; 62 tsp->tv_nsec = nsec;
|
H A D | utimesys.c | 53 timespec_t *tsp; local 56 tsp = NULL; 65 tsp = ts; 67 return (utimensat(AT_FDCWD, path, tsp, 0)); 75 timespec_t *tsp; local 78 tsp = NULL; 87 tsp = ts; 89 return (utimensat(AT_FDCWD, path, tsp, 0)); 98 timespec_t *tsp; local 101 tsp [all...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | makectxt.c | 58 long *tsp; local 89 tsp = &((struct frame *)sp)->fr_argd[0]; 96 *tsp++ = reg[REG_O0 + argno] = va_arg(ap, long); 98 *tsp++ = va_arg(ap, long); 111 long *tsp; local 136 tsp = &((struct frame *)sp)->fr_argd[0]; 143 *tsp++ = reg[REG_O0 + argno] = va_arg(ap, long); 145 *tsp++ = va_arg(ap, long);
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | makectxt.c | 58 long *tsp; local 89 tsp = &((struct frame *)sp)->fr_argd[0]; 96 *tsp++ = reg[REG_O0 + argno] = va_arg(ap, long); 98 *tsp++ = va_arg(ap, long); 111 long *tsp; local 136 tsp = &((struct frame *)sp)->fr_argd[0]; 143 *tsp++ = reg[REG_O0 + argno] = va_arg(ap, long); 145 *tsp++ = va_arg(ap, long);
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 79 long *tsp; local 87 tsp = (long *)(((uintptr_t)ucp->uc_stack.ss_sp + 95 sp = tsp - 1; 106 *tsp++ = va_arg(ap, long);
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | winsnstr.c | 56 winsnstr(WINDOW *win, char *tsp, int n) argument 62 unsigned char *sp = (unsigned char *)tsp;
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | readtab.c | 149 register struct sactab *tsp, *savtsp; /* scratch pointers */ local 155 savtsp = tsp = Sactab; 161 while (tsp) { 162 ret = strcmp(sp->sc_tag, tsp->sc_tag); 164 (void) sprintf(Scratch, "sp->sc_tag <%s> tsp->sc_tag <%s>, ret is %d", sp->sc_tag, tsp->sc_tag, ret); 169 savtsp = tsp; 170 tsp = tsp->sc_next; 180 if (tsp 255 register struct sactab *savesp, *tsp; /* scratch pointers */ local [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwp_timer.c | 95 lwp_timer_copyin(lwp_timer_t *lwptp, timespec_t *tsp) argument 100 if (tsp == NULL) /* not really an error, just need to bzero() */ 105 if (copyin(tsp, &lwptp->lwpt_rqtime, sizeof (timespec_t))) { 111 if (copyin(tsp, &ts32, sizeof (timespec32_t))) { 132 lwptp->lwpt_tsp = tsp;
|
/illumos-gate/usr/src/uts/i86pc/io/tzmon/ |
H A D | tzmon.h | 56 int tsp; member in struct:thermal_zone
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | misc.c | 166 hrt2ts(hrtime_t hrt, timestruc_t *tsp) argument 168 tsp->tv_sec = hrt / NANOSEC; 169 tsp->tv_nsec = hrt % NANOSEC;
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | sema.c | 83 sema_wait_impl(sema_t *sp, timespec_t *tsp) argument 123 error = ___lwp_sema_timedwait(lsp, tsp, 1); 158 error = __lwp_park(tsp, 0);
|
/illumos-gate/usr/src/head/protocols/ |
H A D | timed.h | 51 struct tsp { struct
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpmtab.c | 532 register struct pmtab *tsp, *savtsp; /* scratch pointers */ local 538 savtsp = tsp = PMtab; 544 while (tsp) { 545 ret = strcmp(sp->p_tag, tsp->p_tag); 548 savtsp = tsp; 549 tsp = tsp->p_next; 553 if (tsp->p_status) { 556 tsp->p_tag); 559 if (same_entry(tsp,s 670 register struct pmtab *savesp, *tsp; /* scratch pointers */ local [all...] |
/illumos-gate/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalwd.c | 204 xcalwd_state_t *tsp; local 210 tsp = ddi_get_soft_state(xcalwd_statep, instance); 211 if (tsp == NULL) 214 *resultp = tsp->dip; 232 xcalwd_state_t *tsp; local 250 tsp = ddi_get_soft_state(xcalwd_statep, instance); 251 if (tsp == NULL) { 263 mutex_init(&tsp->lock, NULL, MUTEX_DRIVER, NULL); 264 tsp->started = B_FALSE; 265 tsp 282 xcalwd_state_t *tsp; local 309 xcalwd_state_t *tsp; local 356 xcalwd_state_t *tsp; local 402 xcalwd_state_t *tsp; local [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | subr.c | 241 smb_time_local2server(struct timeval *tsp, int tzoff, long *seconds) argument 243 *seconds = tsp->tv_sec - tzoff * 60; 247 smb_time_server2local(ulong_t seconds, int tzoff, struct timeval *tsp) argument 249 tsp->tv_sec = seconds + tzoff * 60; 250 tsp->tv_usec = 0; 258 smb_time_NT2local(uint64_t nsec, int tzoff, struct timeval *tsp) argument 260 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp); 265 smb_time_local2NT(struct timeval *tsp, int tzoff, uint64_t *nsec) argument 269 smb_time_local2server(tsp, 0, &seconds);
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 256 tsparms_t *tsp = (tsparms_t *)pcparmp->pc_clparms; local 257 tsp->ts_uprilim = prio; 258 tsp->ts_upri = prio; 356 tsparms_t *tsp = (tsparms_t *)pcparm.pc_clparms; local 357 priority = tsp->ts_upri;
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | utils.c | 239 hrt2ts(hrtime_t hrt, timestruc_t *tsp) argument 241 tsp->tv_sec = hrt / NANOSEC; 242 tsp->tv_nsec = hrt % NANOSEC;
|
/illumos-gate/usr/src/cmd/date/ |
H A D | date.c | 373 const char *fmt, const struct timespec *tsp) 384 "%09lu", tsp->tv_nsec); 372 fmt_extensions(char *fmtbuf, size_t len, const char *fmt, const struct timespec *tsp) argument
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_rawfile.c | 260 rf_status(mdb_tgt_t *t, mdb_tgt_status_t *tsp) argument 262 bzero(tsp, sizeof (mdb_tgt_status_t)); 265 tsp->st_state = MDB_TGT_DEAD; 267 tsp->st_state = MDB_TGT_IDLE;
|
/illumos-gate/usr/src/cmd/touch/ |
H A D | touch.c | 82 timespec_t *tsp; local 214 tsp = NULL; 238 tsp = times; 241 if ((fd >= 0 && futimens(fd, tsp) != 0) || 242 (fd < 0 && utimensat(AT_FDCWD, argv[c], tsp, 0) != 0)) {
|