Searched defs:now (Results 51 - 75 of 446) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/syscall/
H A Dsigtimedwait.c109 timespec_t now; local
112 gethrestime(&now);
130 timespecadd(&sig_timeout, &now);
H A Dutime.c120 timespec_t now; local
136 gethrestime(&now);
143 ts[0] = now;
152 ts[1] = now;
161 gethrestime(&now);
162 vattr->va_atime = now;
163 vattr->va_mtime = now;
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c55 /* Send the pkt now */
79 emlxs_pkt_send(fc_packet_t *pkt, uint32_t now) argument
85 if (now) {
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dttl_utils.c70 struct timeval now; local
138 gettimeofday(&now, NULL);
146 return (is_greater_timeval(&now, &old_time));
191 struct timeval now; local
195 gettimeofday(&now, NULL);
200 if (FAILURE == add_to_timeval(&now, ttl))
205 expire.dptr = (char *)&now;
/illumos-gate/usr/src/uts/common/os/
H A Dclock_realtime.c77 timespec_t now, interval2nth; local
127 gethrestime(&now);
128 if (timerspeccmp(val, &now) > 0)
137 ticks = timespectohz(val, now);
150 timespec_t now; local
155 gethrestime(&now);
157 if ((val->tv_sec > now.tv_sec) ||
158 (val->tv_sec == now.tv_sec && val->tv_nsec > now.tv_nsec)) {
188 timespec_t now; local
250 timespec_t now; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_acct_mgmt.c174 krb5_timestamp now, days, expiration; local
204 if (code = krb5_timeofday(kmd->kcontext, &now)) {
236 "princ/pw_exp exp=%ld, now =%ld, days=%ld",
238 now,
240 ? ((expiration - now) / DAY)
245 days = (expiration - now) / DAY;
/illumos-gate/usr/src/lib/pam_modules/krb5_migrate/
H A Dkrb5_migrate_authenticate.c56 time_t now; local
255 * Principal already exists in the KDC database, quit now
277 (void) time(&now);
284 now -= context->clockskew;
285 kadm5_userprinc.pw_expiration = now;
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcontext.c65 time_t now = time(0); local
84 *time_remaining = (now < cntx->expire) ? cntx->expire - now : 0;
216 time_t now = time(0); local
217 t = now > cntx->expire ? 0 : (OM_uint32)(cntx->expire - now);
351 * We now have the space for the inner wrap message, which is also
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dacquire_cred.c612 * if the princ wasn't filled in already, fill it in now unless
640 krb5_timestamp now; local
642 if ((code = krb5_timeofday(context, &now))) {
658 *time_rec = (cred->tgt_expire > now) ? (cred->tgt_expire - now) : 0;
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dsleep.c73 Time_t now,ns; local
75 now = TMX_NOW;
77 ns = tmxdate(cp, &last, now);
81 ns = tmxdate(pp, &last, now);
83 ns = tmxdate(pp, &last, now);
87 d = ns - now;
104 time_t now; local
111 if(tloc < (now=time(NIL(time_t*))))
113 d = (double)(tloc-now);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtimers.c49 register double now; local
53 now = tp.tv_sec + 1.e-6*tp.tv_usec;
56 now = (double)time((time_t*)0);
58 return(now+.001);
90 double now; local
109 now = getnow();
116 if(tp->wakeup <=now)
140 while((tp->wakeup += tp->incr) <= now);
144 if(tpmin && (left==0 || (tp && tpmin->wakeup < (now+left))))
148 left = setalarm(tpmin->wakeup-now);
[all...]
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_timeout.c182 hrtime_t now; local
192 now = (hrtime_t)tspec.tv_sec * (hrtime_t)NANOSEC + tspec.tv_nsec;
194 (hrtime_t)(timeout_time->tv_usec * MILLISEC) + now;
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_da_cache.c105 time_t now; local
118 now = time(NULL);
119 if ((*ans)->expires < now || (*ans)->max_life < now) {
152 time_t now; local
180 now = time(NULL);
181 ce->max_life = now + MAX_LIFETIME;
182 ce->expires = now + INIT_LIFETIME;
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c149 time_t now; local
159 now = time(NULL) - DUID_TIME_BASE;
160 dllt->dllt_time = htonl(now);
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_open.c143 struct timeval now; /* current time */ local
235 (void) gettimeofday(&now, NULL);
250 adr_int64(&adr, (int64_t *)&now, 2);
252 adr_int32(&adr, (int32_t *)&now, 2);
/illumos-gate/usr/src/lib/libcmd/common/
H A Ddate.c210 settime(void* context, const char* cmd, Time_t now, int adjust, int network) argument
218 return tmxsettime(now);
226 tmxfmt(buf, sizeof(buf), "%m%d%H" "%M%Y.%S", now);
232 tmxfmt(buf, sizeof(buf), "%Y%m%d%H" "%M.%S", now);
251 convert(register Fmt_t* f, char* s, Time_t now) argument
258 now = tmxscan(s, &t, f->format, &u, now, 0);
264 return now;
275 Time_t now; local
366 now
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/util/
H A Dlog.c107 time_t now; local
154 time(&now);
155 if (now-timelast > 60) {
157 timelast = now;
158 ctime_r(&now, timestr, 128);
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Di386_timer.c158 unsigned long long now; local
159 rdtscll(now);
160 return now < timer_timeout;
165 unsigned long long now; local
166 rdtscll(now);
167 timer_timeout = now + usecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000));
172 unsigned long long now; local
173 rdtscll(now);
174 timer_timeout = now + nsecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000*1000));
180 unsigned long long now; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Druptime.c65 static time_t now; variable
69 #define down(h) (now - (h)->hs_wd->wd_recvtime > 11 * 60)
186 (void) time(&now);
196 interval((int)(now - hsp->hs_wd->wd_recvtime),
293 (down(h2) ? h2->hs_wd->wd_recvtime - now :
296 (down(h1) ? h1->hs_wd->wd_recvtime - now :
H A Drwho.c71 #define down(w, now) ((now) - (w)->wd_recvtime > 11 * 60)
73 static time_t now; variable
93 (void) time(&now);
117 if (down(w, now)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dmain.c49 struct timeval now; /* current idea of time */ variable in typeref:struct:timeval
205 (void) gettimeofday(&now, (struct timezone *)NULL);
229 timevalsub(&waittime, &now);
260 (void) gettimeofday(&now,
264 lastmcast = now;
272 (void) gettimeofday(&now, (struct timezone *)NULL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c241 struct timeval tv, now; local
247 (void) gettimeofday(&now, NULL);
248 if (timercmp(&now, &eloop.timeout->time, < /* */))
249 timersub(&eloop.timeout->time, &now, &tv);
270 (void) gettimeofday(&now, NULL);
271 if (!timercmp(&now, &eloop.timeout->time, < /* */)) {
/illumos-gate/usr/src/cmd/filesync/
H A Drules.c327 /* now switch the new file for the old one */
355 time_t now; local
359 (void) time(&now);
360 local = localtime(&now);
611 /* now we have to run through the list */
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailstats.c65 time_t now; local
277 (void) time(&now);
279 (long) stats.stat_itime, (long) now);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dscript_handler.c83 time_t now; local
86 now = time(NULL);
87 if (now < timeout)
88 (void) alarm(timeout - now);
103 /* send SIGKILL SCRIPT_TIMEOUT_GRACE seconds from now */
127 time_t now; local
150 * the first timeout fires SCRIPT_TIMEOUT seconds from now.
171 now = time(NULL);
172 if (now >= timeout) {
180 timeout = now
[all...]

Completed in 120 milliseconds

1234567891011>>