/freebsd-10.0-release/contrib/tcsh/ |
H A D | tc.sched.c | 66 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-10.0-release/usr.bin/ctlstat/ |
H A D | ctlstat.c | 119 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-10.0-release/sbin/dhclient/ |
H A D | dhclient.c | 88 time_t cur_time; variable 417 time(&cur_time); 595 ip->client->first_sending = cur_time; 622 ip->client->first_sending = cur_time; 692 ip->client->new->expiry = cur_time + 12000; 693 ip->client->new->renewal += cur_time + 8000; 694 ip->client->new->rebind += cur_time + 10000; 706 ip->client->first_sending = cur_time; 786 ip->client->new->expiry += cur_time; 788 if (ip->client->new->expiry < cur_time) [all...] |
H A D | dispatch.c | 168 if (timeouts->when <= cur_time) { 183 howlong = timeouts->when - cur_time; 213 time(&cur_time); 220 time(&cur_time);
|
H A D | dhcpd.h | 355 extern time_t cur_time;
|
H A D | clparse.c | 584 if (ip->client->active->expiry < cur_time)
|
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_hfsc.c | 737 u_int64_t cur_time; local 745 cur_time = read_machclk(); 753 realtime = (cl->cl_e <= cur_time); 760 if ((cl = hfsc_get_mindl(hif, cur_time)) 774 cl = actlist_firstfit(cl, cur_time); 809 update_vf(cl, len, cur_time); 923 u_int64_t cur_time; local 925 cur_time = read_machclk(); 928 rtsc_min(&cl->cl_deadline, cl->cl_rsc, cur_time, cl->cl_cumul); 967 u_int64_t vt, f, cur_time; local 1055 update_vf(struct hfsc_class *cl, int len, u_int64_t cur_time) argument 1239 hfsc_get_mindl(struct hfsc_if *hif, u_int64_t cur_time) argument 1323 actlist_firstfit(struct hfsc_class *cl, u_int64_t cur_time) argument 1739 u_int64_t cur_time; local [all...] |
H A D | altq_hfsc.h | 91 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-10.0-release/lib/libdevstat/ |
H A D | devstat.h | 171 long double devstat_compute_etime(struct bintime *cur_time,
|
H A D | devstat.c | 1198 devstat_compute_etime(struct bintime *cur_time, struct bintime *prev_time) argument 1202 etime = cur_time->sec; 1203 etime += cur_time->frac * BINTIME_SCALE;
|
/freebsd-10.0-release/sys/dev/vxge/ |
H A D | vxge-osdep.h | 191 struct timeval cur_time; \ 192 gettimeofday(&cur_time, 0); \ 194 cur_time.tv_sec, cur_time.tv_usec); \
|
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_perfmgr_db.c | 103 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-10.0-release/sys/dev/twa/ |
H A D | tw_cl_io.c | 603 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-10.0-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 1267 time_t amtslept, cur_time, prev_mtime; local 1307 cur_time = time(NULL); 1308 if (statdf.st_mtime >= cur_time - MINWAIT_4DATA) { 1309 if (statdf.st_mtime >= cur_time) /* some TOD oddity */ 1312 sleepreq = cur_time - statdf.st_mtime;
|
/freebsd-10.0-release/sys/dev/mps/ |
H A D | mps.c | 2483 struct timeval cur_time, start_time; local 2510 getmicrotime(&cur_time); 2511 if ((cur_time.tv_sec - start_time.tv_sec) > timeout) {
|