Searched refs:c_time (Results 1 - 10 of 10) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dclock.c70 time_t c_time; /* Time of call */ member in struct:callout
138 cpnew->c_time = t;
148 if (cp2->c_time >= t)
190 if (cp->c_time >= now && cp->c_time <= then) {
193 cp->c_id, (long) (cp->c_time - now));
194 next_softclock = cp->c_time = now;
218 while ((cp = callouts.c_next) && cp->c_time <= now) {
244 return cp->c_time - now;
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dcallout.h89 int c_time; /* when callout fires */ member in struct:callout_impl
/netbsd-6-1-5-RELEASE/dist/pppd/pppd/
H A Dmain.c1292 struct timeval c_time; /* time at which to call routine */ member in struct:callout
1320 newp->c_time.tv_sec = timenow.tv_sec + secs;
1321 newp->c_time.tv_usec = timenow.tv_usec + usecs;
1322 if (newp->c_time.tv_usec >= 1000000) {
1323 newp->c_time.tv_sec += newp->c_time.tv_usec / 1000000;
1324 newp->c_time.tv_usec %= 1000000;
1331 if (newp->c_time.tv_sec < p->c_time.tv_sec
1332 || (newp->c_time
[all...]
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_timeout.c65 * Timeouts are kept in a hierarchical timing wheel. The c_time is the
76 * be scheduled to timeout further in time than INT_MAX, but c->c_time can
78 * The only way we can use the c->c_time value in any predictable way is
79 * when we calculate how far in the future `to' will timeout - "c->c_time
345 old_time = c->c_time;
346 c->c_time = to_ticks + occ->cc_ticks;
347 if (c->c_time - old_time < 0) {
359 c->c_time = to_ticks + occ->cc_ticks;
365 c->c_time = to_ticks + cc->cc_ticks;
715 delta = c->c_time
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libparse/
H A Dparsesolaris.c646 timestamp_t c_time; local
653 c_time.tv.tv_sec = hres_time.tv_sec;
654 c_time.tv.tv_usec = hres_time.tv_nsec / 1000;
677 if (ch != ~0 && parse_ioread(&parse->parse_io, (unsigned int)ch, &c_time))
698 if (parse_ioread(&parse->parse_io, (unsigned int)0, &c_time))
728 timestamp_t c_time; local
734 c_time.tv.tv_sec = hres_time.tv_sec;
735 c_time.tv.tv_usec = hres_time.tv_nsec / 1000;
740 parse_iopps(&parse->parse_io, status ? SYNC_ONE : SYNC_ZERO, &c_time))
764 parse->parse_ppsclockev.tv = c_time
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/shark/shark/
H A Dscr.c535 int c_time; /* ticks to the event */
3591 p1->c_time -= scrClkCount;
3593 if (p1->c_time > 0)
3598 if (p1->c_time == 0)
3607 while ((c = scrClkCallTodo.c_next) != NULL && c->c_time <= 0)
3729 * as well. Watch out for negative c_time values; these represent
3732 for (p = &scrClkCallTodo; (t = p->c_next) != NULL && count > t->c_time; p = t)
3734 if (t->c_time > 0)
3736 count -= t->c_time;
3741 new->c_time
534 int c_time; /* ticks to the event */ member in struct:callout_t
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/ipcs/
H A Dipcs.c330 show_msginfo(time_t s_time, time_t r_time, time_t c_time, int ipcid, argument
341 cvt_time(c_time, c_time_buf, sizeof(c_time_buf));
385 show_shminfo(time_t atime, time_t dtime, time_t c_time, int ipcid, u_int64_t key, argument
394 cvt_time(c_time, c_time_buf, sizeof(c_time_buf));
437 show_seminfo(time_t otime, time_t c_time, int ipcid, u_int64_t key, mode_t mode, argument
444 cvt_time(c_time, c_time_buf, sizeof(c_time_buf));
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/ssl/
H A Dssltest.c310 int doit_biopair(SSL *s_ssl,SSL *c_ssl,long bytes,clock_t *s_time,clock_t *c_time);
542 clock_t s_time = 0, c_time = 0; local
1099 ret=doit_biopair(s_ssl,c_ssl,bytes,&s_time,&c_time);
1120 (double)c_time/CLOCKS_PER_SEC);
1128 (double)c_time);
1158 clock_t *s_time, clock_t *c_time)
1305 /* c_time and s_time increments will typically be very small
1313 *c_time += (clock() - c_clock);
1157 doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, clock_t *s_time, clock_t *c_time) argument
/netbsd-6-1-5-RELEASE/usr.sbin/trpt/
H A Dtrpt.c540 ci->c_time - hardticks);
/netbsd-6-1-5-RELEASE/usr.bin/netstat/
H A Dinet.c991 ci->c_time - hardticks : 0);

Completed in 110 milliseconds