/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 74 static time_t now, sixmonthsago, onehourfromnow; variable 102 (void) time(&now); 103 sixmonthsago = now - 6L*30L*24L*60L*60L; 104 onehourfromnow = now + 60L*60L; 105 now += 60;
|
/illumos-gate/usr/src/ucbcmd/shutdown/ |
H A D | shutdown.c | 477 if (strcmp(s, "now") == 0) 518 /* before now or after midnight */ 531 warn(FILE *termf, time_t sdt, time_t now, char *type, int first) argument 534 time_t delay = sdt - now; 554 if (first || sdt - now > 1 MINUTES) { 572 rwarn(char *host, time_t sdt, time_t now, char *type, int first) argument 575 time_t delay = sdt - now; 601 if (first || sdt - now > 1 MINUTES) {
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.c | 87 * Hash-algo generic definitions. For now, they are SHA1's. We use SHA1 138 time_t now; local 153 (void) drv_getparm(TIME, &now); 154 rndc_addbytes((uint8_t *)&now, sizeof (now)); 207 * and now a provider became available. So, set the flag so 977 * indicating that enough randomness is now available for reading,
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_common.c | 71 * as unreachable for now. When the heartbeat timer fires, it will 107 * If this addr is not reachable, mark it as unconfirmed for now, the 623 int64_t now = LBOLT_FASTPATH64; local 636 fp->sf_lastactive = now; 637 fp->sf_hb_expiry = now + SET_HB_INTVL(fp); 642 /* Should have a full IRE now */ 646 * If this is the primary, switch back to it now. And 1314 /* not included; add it now */ 1462 * We have the right address list now, update clustering's 1600 /* not included; add it now */ [all...] |
H A D | sctp_cookie.c | 487 int64_t *now; local 751 now = (int64_t *)(cookieph + 1); 753 bcopy(&nowt, now, sizeof (*now)); 756 lifetime = (uint32_t *)(now + 1); 816 hmac_md5((uchar_t *)now, cookielen - sizeof (*cookieph) - 16,
|
H A D | sctp_output.c | 365 * If this partially chunked, we ignore the next one for now and 1001 int64_t now = LBOLT_FASTPATH64; local 1135 if (now - fp->sf_lastactive > fp->sf_rto) { 1171 fp->sf_lastactive = now; 1184 sctp->sctp_out_time = now; 1289 sctp->sctp_active = now; 1700 * retransmitted is now abandoned 2056 * is the chunk we just retransmitted. So for now, let's 2203 * be missing. It is better for us to retransmit them now instead 2242 * unacknowledged using rxt_unacked, then the amount we can now sen [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 222 clock_t now = LBOLT_FASTPATH; local 374 (TICK_TO_MSEC(now - tcp->tcp_last_recv_time) >= tcp->tcp_rto)) { 390 * happen if the connection is ECN capable, return now. 456 local_time = (mblk_t *)now; 490 * (smaller than MSS bytes). We are calculating the usable now 845 * would now be treated as a plain stream, or a module 849 * interface from now on. 1100 clock_t now; local 1128 * down. Do backoff, now. 1190 now 3250 int64_t now; local 3621 tcp_fill_header(tcp_t *tcp, uchar_t *rptr, clock_t now, int num_sack_blk) argument [all...] |
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 604 hrtime_t now, elapsed; local 633 now = gethrtime(); 634 elapsed = now - pl->time; 637 pl->time = now; 871 * collecting/distributing now.
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | callout.c | 221 * thread for now. \ 411 hrtime_t now; local 415 now = gethrtime(); 417 if (cl->cl_expiration > now) 440 hrtime_t expiration, now; local 461 now = gethrtime(); 472 if ((cl->cl_expiration <= now) || 712 * We'll now compare our expiration to its expiration. 730 * no right child). We'll now compare our expiration 751 hrtime_t now, expiratio local 863 hrtime_t expiration, now; local 987 hrtime_t now, interval; local [all...] |
H A D | cyclic.c | 816 * We'll now compare our expiration time to its; if 835 * no right child). We'll now compare our expiration time 948 hrtime_t now = gethrtime(); local 951 CYC_TRACE(cpu, CY_HIGH_LEVEL, "fire", now, 0); 972 if ((exp = cyclic->cy_expire) > now) 1018 if (now - exp > NANOSEC) { 1022 "fire-first" : "fire-swing", now, exp); 1024 exp += ((now - exp) / interval + 1) * interval; 1067 * We can now let the remove operation complete. 1163 * (b) The pend _was_ non-zero, but it's now zer [all...] |
H A D | exacct.c | 1186 uint64_t now; local 1190 now = (uint64_t)(ulong_t)ts.tv_sec; 1191 (void) ea_attach_item(record, &now, sizeof (uint64_t),
|
H A D | fm.c | 206 * used for cache dumps right now, so we suppress them so as not to overwhelm 413 hrtime_t now; local 420 now = panic_hrtime; 423 now = gethrtime_waitfree(); 432 fm_msgid, tod.tv_sec, tod.tv_nsec, (u_longlong_t)now); 466 hrtime_t now; local 472 now = panic_hrtime; 477 now = gethrtime_waitfree(); 496 ed.ed_hrt_base = now;
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 181 time_t now; local 196 now = gethrestime_sec(); 198 now) || p->in_use) { 200 now) && p->in_use) { 1270 * XXX this function is not used right now.
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | platform.h | 197 uint64_t now; member in struct:xenpf_getidletime
|
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 154 * family 0xf to family 0x10 (ext code 0 now reserved on family 0x10). 838 hrtime_t now = gethrtime_waitfree(); local 842 if (now - last > 2 * pintvl || last == 0) { 850 ansp->ans_poll_timestamp = now;
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_chip.c | 369 RGE_REPORT((rgep, "rge_phy_reset: FAILED, control now 0x%x", control)); 500 * If autonegotiation is (now) enabled, we want to trigger 1362 clock_t now; local 1404 now = ddi_get_lbolt(); 1405 if (now - rgep->curr_tick >= rgep->tick_delta && 1433 if (now - rgep->curr_tick < 2*rgep->tick_delta) { 1466 rgep->curr_tick = now; 1689 * If an error is detected, stop the chip now, marking it as
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_io.c | 786 * The command* must be completed now, since we won't get a command 1491 * For now just let fail as another disconnect. 1508 * For now just let fail as anyother disconnect. 1525 * now we will request a logout. We can't 2137 * Task is now active 2767 * failed between when this LOGOUT was generated and now) then we 3413 clock_t now = ddi_get_lbolt(); local 3448 if (now <= icmdp->cmd_lbolt_timeout) 3487 if (now <= icmdp->cmd_lbolt_timeout) 3493 * we can flush it now [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | logger.c | 129 * Output logging is now controlled by the configuration file. We can specify 1042 time_t now; 1057 (void) time(&now); 1062 soff = strftime(outbuf, sizeof(outbuf), "%b %d %H:%M:%S", localtime(&now)); 1074 strncpy(outbuf, ctime(&now) + 4, 15); 1039 time_t now; local
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | logger.c | 130 * Output logging is now controlled by the configuration file. We can specify 1040 time_t now; 1055 (void) time(&now); 1060 soff = strftime(outbuf, sizeof(outbuf), "%b %d %H:%M:%S", localtime(&now)); 1072 strncpy(outbuf, ctime(&now) + 4, 15); 1037 time_t now; local
|
H A D | svr_principal.c | 218 krb5_int32 now; local 301 if ((ret = krb5_timeofday(handle->context, &now))) { 341 kdb.pw_expiration = now + polent.pw_max_life; 363 if ((ret = krb5_dbe_update_last_pwd_change(handle->context, &kdb, now))) { 1342 krb5_int32 now; local 1397 ret = krb5_timeofday(handle->context, &now); 1416 if ((now - last_pwd) < pol.pw_min_life && 1458 kdb.pw_expiration = now + pol.pw_max_life; 1501 ret = krb5_dbe_update_last_pwd_change(handle->context, &kdb, now); 1566 krb5_int32 now; local 1884 krb5_int32 now; local 2206 krb5_int32 now; local [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 548 time_t now; local 557 now = time((time_t *) NULL); 559 if (st.st_mtime >= now) { 1445 /* right now, no cleanup required */ 1954 now. */
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 475 time_t now; local 478 now = time(NULL); 482 adh->idletime + ADCONN_TIME < now) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | llc1.c | 265 * now do all the DDI stuff necessary 499 /* for now, we will always queue */ 1269 /* now append physical address */ 1773 llc->llc_state = DL_UNBOUND; /* now ready for action */ 1799 /* can now detach from the PPA */ 2181 * now setup the DL_UNITDATA_IND header 2294 * now construct the XID reply frame 2567 * now construct the TEST reply frame 2840 time_t now; local 2845 now [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_dlpi.c | 2277 time_t now; local 2282 now = gethrestime_sec(); 2283 if ((last == (now & ~1)) && (lastfmt == fmt)) 2286 last = now & ~1;
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | memscrub.c | 526 time_t now = gethrestime_sec(); local 528 if (now >= deadline) { 530 MEMSCRUB_STAT_NINC(late_sec, now - deadline); 536 deadline = now + memscrub_period_sec; 542 interval_ticks = (deadline - now) * hz; 544 MEMSCRUB_STAT_NINC(early_sec, deadline - now); 701 * now we have legal address, and its mlp, condition bytes 1125 * Protect read scrub from async faults. For now, we simply
|