Searched defs:now (Results 326 - 350 of 446) sorted by relevance

<<1112131415161718

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c241 struct timeval now; local
320 (void) gettimeofday(&now, (struct timezone *)0);
321 call_msg.rm_xid = getpid() ^ now.tv_sec ^ now.tv_usec;
745 /* now decode and validate the response header */
1503 * wrap it now.
1594 * connection, flush it now, and free it.
1688 * buffer. We have to check this now because it may be impossible
1695 /* Can we store the message now ? */
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c208 int64_t now; local
216 now = ddi_get_lbolt64();
228 expiry = now - SEC_TO_TICK(connp->conn_expiry);
230 connp->conn_server->iser_die_time < now)
1314 int64_t now, expiry; local
1320 now = ddi_get_lbolt64();
1328 expiry = now - SEC_TO_TICK(s->expiry);
/illumos-gate/usr/src/cmd/cron/
H A Dat.c165 time_t now; local
302 time(&now);
305 when = now;
324 tp = localtime(&now);
352 if (when < now) /* time has already past */
593 * put out a prompt now, instead of waiting for a lot of file
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1110 timestruc_t now; local
1113 gethrestime(&now);
1117 timespecadd(rqtp, &now);
2536 * Unpause the process now.
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_znode.c772 timestruc_t now; local
785 now = vap->va_ctime; /* see zfs_replay_create() */
789 gethrestime(&now);
876 ZFS_TIME_ENCODE(&now, crtime);
877 ZFS_TIME_ENCODE(&now, ctime);
882 ZFS_TIME_ENCODE(&now, atime);
888 ZFS_TIME_ENCODE(&now, mtime);
1361 timestruc_t now; local
1363 gethrestime(&now);
1373 ZFS_TIME_ENCODE(&now, z
[all...]
H A Dzfs_ctldir.c330 timestruc_t now; local
347 * We live in the now (for atime).
349 gethrestime(&now);
350 vap->va_atime = now;
H A Ddmu_tx.c120 * now, at least).
787 * the size will change between now and the dbuf dirty call.
917 /* XXX No checking on the meta dnode for now */
1109 hrtime_t wakeup, min_tx_time, now; local
1122 now = gethrtime();
1125 if (now > tx->tx_start + min_tx_time)
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Dasm10k.c680 * Make sure we start at gpr id 2 for now; 0 and 1 may be used
868 clock_t now; local
893 now = time(NULL);
894 strftime(when, sizeof (when), "%c", localtime(&now));
/illumos-gate/usr/src/cmd/stat/kstat/
H A Dkstat.c410 hrtime_t now, pause, pause_left; local
414 now = gethrtime();
415 pause = *wakeup + interval - now;
419 *wakeup = now + interval;
440 now = gethrtime();
441 pause_left = *wakeup - now;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c328 time_t now; local
333 now = gethrestime_sec();
334 if ((tstamp + 60) < now) {
335 tstamp = now;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DDNSDigest.c1424 mDNSs32 now; local
1436 // We only support HMAC-MD5 for now
1453 now = mDNSPlatformUTC();
1454 if (now == -1)
1478 delta = (now > then) ? now - then : then - now;
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c1361 sfxge_rx_packet_t *srpp, clock_t now)
1383 if (now - srfp->srf_lbolt > srp->sr_rto) {
1474 srfp->srf_lbolt = now;
1483 srfp->srf_lbolt = now;
1491 clock_t now; local
1497 now = ddi_get_lbolt();
1609 if (!sfxge_rx_qflow_add(srp, srfp, srpp, now))
1642 if (now - srfp->srf_lbolt <= srp->sr_rto)
1663 srfp->srf_lbolt = now;
1360 sfxge_rx_qflow_add(sfxge_rxq_t *srp, sfxge_rx_flow_t *srfp, sfxge_rx_packet_t *srpp, clock_t now) argument
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c239 * Print the reboot message now, before pausing other cpus.
250 * We can't bring up the console from above lock level, so do it now
641 * This routine is now totally misnamed, since it does not in fact
704 * This routine is almost correct now, but not quite. It still needs the
724 timestruc_t now; local
730 now = hrestime;
740 now.tv_nsec += nslt;
751 now.tv_nsec += adj;
753 while ((unsigned long)now.tv_nsec >= NANOSEC) {
771 now
793 timestruc_t now; local
1116 hrtime_t now, start; local
[all...]
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c513 time_t now; local
516 now = time(NULL);
518 if (checkidle_time <= now && checkidle_time != 0)
519 check_idleness(&now, &hr_now);
520 if (shutdown_time <= now && shutdown_time != 0)
521 check_shutdown(&now, &hr_now);
523 set_alarm(now);
530 time_t now; local
602 now = last_resume = time(NULL);
604 check_idleness(&now,
610 check_shutdown(time_t *now, hrtime_t *hr_now) argument
772 is_ok2shutdown(time_t *now) argument
876 check_idleness(time_t *now, hrtime_t *hr_now) argument
976 set_alarm(time_t now) argument
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Dsysdc.c444 const clock_t now = ddi_get_lbolt(); local
493 sdc->sdc_reset = now;
518 if (!update && sdc->sdc_pri_check == now) {
524 sdc->sdc_pri_check = now;
700 hrtime_t now, diff; local
711 now = gethrtime();
712 diff = now - sysdc_last_update;
713 sysdc_last_update = now;
1282 return (EBUSY); /* can't unload for now */
/illumos-gate/usr/src/uts/common/fs/
H A Dxattr.c483 timestruc_t now; local
503 gethrestime(&now);
504 vap->va_atime = now;
1082 timestruc_t now; local
1135 gethrestime(&now);
1136 vap->va_atime = now;
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c466 print_entry(nsc_db_t *nscdb, time_t now, nsc_entry_t *entry) { argument
484 if (entry->stats.timestamp < now)
487 now - entry->stats.timestamp);
491 entry->stats.timestamp - now);
557 hash_dump(nsc_db_t *nscdb, time_t now) { argument
565 print_entry(nscdb, now, entry);
574 avl_dump(nsc_db_t *nscdb, time_t now) { argument
582 print_entry(nscdb, now, entry);
590 queue_dump(nsc_db_t *nscdb, time_t now) { argument
603 print_entry(nscdb, now, entr
1049 time_t now; local
1302 check_db_file(nsc_ctx_t *ctx, nscd_cfg_cache_t cfg, char *whoami, time_t now) argument
1364 time_t now = time(NULL); /* current time */ local
2255 time_t now; local
[all...]
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c1358 } else { /* ok to print error report now */
1430 static char *now = NULL; local
1435 if (now == NULL) {
1440 now = time_buf;
1442 return (now);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c344 * Initialize magic number generator now so that protocols may
556 * If we're doing dial-on-demand, set up the interface now.
709 * on most systems we set CLOCAL for now so that we can talk
723 * start up the character shunt now.
802 * Clear CLOCAL if modem option -- we now have carrier
1574 struct timeval now; local
1577 if (gettimeofday(&now, NULL) >= 0) {
1578 link_connect_time = now.tv_sec - start_time.tv_sec;
1678 * calltimeout - Call any timeout routines which are now due.
2780 struct timeval now; local
2905 struct timeval now; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c779 /* everything should be fine now */
1186 time_t now; local
1196 now = time(NULL);
1199 mtime = now;
1204 atime = now;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c719 * This phyint instance is now enabled for probes; this
811 logmsg(pri, "Test address now configured on "
927 logerr("IP interface %s is now"
970 uint_t now; local
978 now = getcurrenttime();
984 if (timer_active && TIME_GE(now + delay, timer_next)) {
987 "now %u next %u\n", delay, now, timer_next);
991 timer_next = now + delay;
1145 uint_t now local
[all...]
H A Dmpd_tables.c338 /* Refresh the group state now that this phyint has been added */
730 * while we are yet to update our tables. Do it now.
741 * changed, while we are yet to update our tables. Do it now.
1177 * otherwise at startup we'll log a "now usable" message when the
1182 logerr("At least 1 IP interface (%s) in group %s is now "
1186 logerr("All IP interfaces in group %s are now unusable\n",
1362 /* Refresh the group state now that this phyint has been removed */
1446 * The interface is now offline, so stop probing it. Note that
1473 * hardware address from being online, bring that one online now.
1517 logerr("IP interface %s now ha
2040 hrtime_t now; local
2126 hrtime_t now; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c1127 uint_t now; local
1130 now = getcurrenttime();
1132 logmsg(LOG_DEBUG, "timer_schedule(%u): now %u next %u\n",
1133 delay, now, timer_next);
1136 if (delay >= timer_next - now) {
1140 delay, timer_next - now);
1148 timer_next = now + delay;
1173 uint_t now; local
1176 now = getcurrenttime();
1177 elapsed = now
1200 uint_t now; local
1356 uint_t now = getcurrenttime(); local
2112 time_t now; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c2150 * event now, but attach it to the instance for processing when
2300 * We'll assume this means the method succeeded for now whilst
2352 * this method, so now we're online start listening for
2360 * If we're now out of transition (process_offline_inst() could have
3247 time_t now = time(NULL); local
3249 if ((now - instance->conn_rate_start) > 1) {
3250 instance->conn_rate_start = now;
3366 time_t now = time(NULL); local
3368 if ((now - instance->fail_rate_start) >
3370 instance->fail_rate_start = now;
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_stats.c217 time_t now; local
220 now = time(NULL);
221 now_tm = localtime(&now);
919 * even if rlist_sz was > rcount, it's now
946 * stats now points to new, and vice versa

Completed in 865 milliseconds

<<1112131415161718