Searched refs:cur_time (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/contrib/tcsh/
H A Dtc.sched.c66 time_t cur_time; local
154 (void) time(&cur_time);
155 ltp = localtime(&cur_time);
171 tp->t_when = cur_time - ltp->tm_sec + dif_hour * 3600 + dif_min * 60;
173 tp->t_when = cur_time - ltp->tm_sec + dif_hour * 3600L + dif_min * 60L;
190 time_t cur_time; local
199 (void) time(&cur_time);
207 if (!(sched_ptr && sched_ptr->t_when < cur_time)) {
215 while ((tp = sched_ptr) != NULL && tp->t_when < cur_time) {
/freebsd-9.3-release/usr.bin/ctlstat/
H A Dctlstat.c119 struct timespec cur_time, prev_time; member in struct:ctlstat_context
135 struct timespec *cur_time, int *lun_time_valid);
154 struct timespec *cur_time, int *flags)
205 cur_time->tv_sec = stats.timestamp.tv_sec;
206 cur_time->tv_nsec = stats.timestamp.tv_nsec;
419 etime = ctx->cur_time.tv_sec - ctx->prev_time.tv_sec +
420 (ctx->prev_time.tv_nsec - ctx->cur_time.tv_nsec) * 1e-9;
694 ctx.prev_time = ctx.cur_time;
697 &ctx.cur_time, &ctx.flags) != 0)
153 getstats(int fd, int *num_luns, struct ctl_lun_io_stats **xlun_stats, struct timespec *cur_time, int *flags) argument
/freebsd-9.3-release/sbin/dhclient/
H A Ddhclient.c84 time_t cur_time; variable
411 time(&cur_time);
570 ip->client->first_sending = cur_time;
597 ip->client->first_sending = cur_time;
667 ip->client->new->expiry = cur_time + 12000;
668 ip->client->new->renewal += cur_time + 8000;
669 ip->client->new->rebind += cur_time + 10000;
681 ip->client->first_sending = cur_time;
761 ip->client->new->expiry += cur_time;
763 if (ip->client->new->expiry < cur_time)
[all...]
H A Ddispatch.c168 if (timeouts->when <= cur_time) {
183 howlong = timeouts->when - cur_time;
213 time(&cur_time);
220 time(&cur_time);
H A Ddhcpd.h352 extern time_t cur_time;
H A Dclparse.c584 if (ip->client->active->expiry < cur_time)
/freebsd-9.3-release/lib/libdevstat/
H A Ddevstat.h165 long double devstat_compute_etime(struct bintime *cur_time,
H A Ddevstat.c1172 devstat_compute_etime(struct bintime *cur_time, struct bintime *prev_time) argument
1176 etime = cur_time->sec;
1177 etime += cur_time->frac * BINTIME_SCALE;
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_hfsc.c757 u_int64_t cur_time; local
765 cur_time = read_machclk();
773 realtime = (cl->cl_e <= cur_time);
780 if ((cl = ellist_get_mindl(hif->hif_eligible, cur_time))
794 cl = actlist_firstfit(cl, cur_time);
829 update_vf(cl, len, cur_time);
943 u_int64_t cur_time; local
945 cur_time = read_machclk();
948 rtsc_min(&cl->cl_deadline, cl->cl_rsc, cur_time, cl->cl_cumul);
987 u_int64_t vt, f, cur_time; local
1075 update_vf(struct hfsc_class *cl, int len, u_int64_t cur_time) argument
1275 ellist_get_mindl(ellist_t *head, u_int64_t cur_time) argument
1373 actlist_firstfit(struct hfsc_class *cl, u_int64_t cur_time) argument
1789 u_int64_t cur_time; local
[all...]
H A Daltq_hfsc.h91 u_int64_t cur_time; member in struct:hfsc_classstats
158 u_int64_t cur_time; /* current time */ member in struct:hfsc_class_stats
/freebsd-9.3-release/sbin/pfctl/missing/altq/
H A Daltq_hfsc.h96 u_int64_t cur_time; member in struct:hfsc_classstats
163 u_int64_t cur_time; /* current time */ member in struct:hfsc_class_stats
/freebsd-9.3-release/sys/dev/vxge/
H A Dvxge-osdep.h191 struct timeval cur_time; \
192 gettimeofday(&cur_time, 0); \
194 cur_time.tv_sec, cur_time.tv_usec); \
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/
H A Dosm_perfmgr_db.c103 time_t cur_time = 0; local
114 cur_time = time(NULL);
116 rc->ports[i].last_reset = cur_time;
117 rc->ports[i].err_previous.time = cur_time;
118 rc->ports[i].dc_previous.time = cur_time;
/freebsd-9.3-release/sys/dev/twa/
H A Dtw_cl_io.c603 TW_TIME cur_time; local
608 cur_time = tw_osl_get_local_time();
614 (cur_time >= ctlr->ioctl_lock.timeout)) {
619 cur_time + (lock_pkt.timeout_msec / 1000);
626 (ctlr->ioctl_lock.timeout - cur_time) * 1000);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntpd.c1432 time_t cur_time; local
1444 cur_time = time(NULL);
1445 wait_rem = (wait_end_time > cur_time)
1446 ? (wait_end_time - cur_time)
/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Dsave.c553 time_t cur_time = time(NULL); local
554 char * time_str = ctime(&cur_time);
/freebsd-9.3-release/sys/dev/mpr/
H A Dmpr_sas_lsi.c1029 struct timeval cur_time, start_time; local
1113 getmicrotime(&cur_time);
1114 if ((cur_time.tv_sec - start_time.tv_sec) > 60) {
H A Dmpr.c2576 struct timeval cur_time, start_time; local
2607 getmicrotime(&cur_time);
2608 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) {
2633 struct timeval cur_time, start_time; local
2654 getmicrotime(&cur_time);
2655 timeout = cur_time.tv_sec - start_time.tv_sec;
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Dprintjob.c1266 time_t amtslept, cur_time, prev_mtime; local
1306 cur_time = time(NULL);
1307 if (statdf.st_mtime >= cur_time - MINWAIT_4DATA) {
1308 if (statdf.st_mtime >= cur_time) /* some TOD oddity */
1311 sleepreq = cur_time - statdf.st_mtime;
/freebsd-9.3-release/sys/dev/mps/
H A Dmps.c2498 struct timeval cur_time, start_time; local
2525 getmicrotime(&cur_time);
2526 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) {

Completed in 196 milliseconds