/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa.c | 229 time_t now; local 231 (void) time(&now); 232 while (wpa_s->pmksa && wpa_s->pmksa->expiration <= now) { 295 time_t now; local 297 (void) time(&now); 310 (int)(entry->expiration - now)); 1789 * an AP, so just allow any address to be used for now. The replies are
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 464 long now; local 546 * original request was received. Ensure that `now' 549 now = time(0); 550 if ((uint_t)(now - dinfo.timestamp) < DELAY_SECS) 551 (void) sleep(DELAY_SECS - (now - dinfo.timestamp));
|
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mdmn_commd_server.c | 378 time_t now, then; local 383 now = time((time_t *)NULL); 396 if ((then != 0) && (now > then)) { 591 * If the rpc client for this node has not been setup for any set, we do it now. 661 /* if clnt_create has not been done for that node, do it now */ 1126 /* In case of failure do the sendreply now */ 1142 * now done with this handle. Release it back to the pool. 1675 * class is busy right now, so we wait until the class becomes 1842 * We now check if the exitval is non zero. 2448 /* for now w [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_ckpt.c | 412 * We've added up all the sections by now: add two more for SECT_NONE 480 ckp->ckp_fd = -1; /* fd is now closed */ 770 hrtime_t now = gethrtime(); local 845 mp->mod_stats->ms_ckpt_time.fmds_value.ui64 += gethrtime() - now;
|
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 875 time_t now; local 898 now = time(NULL); 899 tim = *(localtime(&now));
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadc.c | 127 hrtime_t now, pause, pause_left; local 130 now = gethrtime(); 131 pause = *wakeup + interval - now; 136 *wakeup = now + interval; 167 now = gethrtime(); 168 pause_left = *wakeup - now; 359 * Load constant values now -- no need to reread each time 645 * If there was a state change such that now there are fewer
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | daemon.c | 215 time_t now; local 231 now = curtime(); 232 if (now < Daemons[idx].d_refuse_connections_until) 246 Daemons[idx].d_refuse_connections_until = now + 15; 355 lastrun = now; 360 lastrun + QueueIntvl + CheckQueueRunners < now) 371 lastrun = now; 600 RAND_seed((void *) &now, sizeof(now)); 969 time_t now; local 3922 time_t now; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_phys.c | 1286 uint32_t now, link_id; local 1306 now = NSEC_TO_SEC(gethrtime()); 1307 if ((now - link->nwamd_link_wifi_scan.nwamd_wifi_scan_last_time) < 1674 * across APs however. Do nothing for now.
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | dir.c | 157 * Leave now, if we don't have an extension (or room for one) 830 time_t now; local 840 (void) time(&now); 841 (void) localtime_r(&now, &tm);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin.c | 266 /* now db_name is not a seperate argument. It has to be passed as part of the db_args */ 948 time_t now; local 956 time(&now); 1043 oprinc->max_life = date - now; 1062 oprinc->max_renewable_life = date - now; 1347 * We now retrieve the intersection set of the generic flag settings and 1695 time_t now; local 1698 time(&now); 1712 policy->pw_max_life = date - now; 1727 policy->pw_min_life = date - now; [all...] |
/illumos-gate/usr/src/cmd/su/ |
H A D | su.c | 479 * arg0 for exec of shprog must now contain `-' 748 time_t now; local 757 now = time(0); 758 tmp = localtime(&now); 1050 * see adt_xml. The JNI breaks, so for now we leave
|
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 865 krb5_timestamp now; local 888 if ((code = krb5_timeofday(k5->ctx, &now))) { 892 krb5_max_duration = KRB5_KDB_EXPIRATION - now - 60*60;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 1193 * We cannot remove it right now otherwise the process will 2089 * Unreachable for now -- there's currently no graceful cleanup 2111 * instance may have been restarted and now be in a new 2431 hrtime_t now, timeout; local 2437 now = gethrtime(); 2443 if (timeout_sec >= (LLONG_MAX - now) / 1000000000LL) { 2450 timeout = now + (timeout_sec * 1000000000LL); 2499 hrtime_t now; local 2502 now = gethrtime(); 2512 e != NULL && e->te_timeout <= now; [all...] |
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 673 hrtime_t now; local 743 now = gethrtime(); 749 if (now - d_pkg->start_time > 1404 * It is now safe to unload the module
|
/illumos-gate/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 1686 (void) fprintf(logf, "now search for tnrhdb update %s \n", gettime()); 1748 time_t now; local 1752 (void) time(&now); 1753 tp = localtime(&now);
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_alloc.c | 114 clock_t now; local 162 now = ddi_get_lbolt(); 164 if ((now - ufsvfsp->vfs_lastwhinetime) > (hz << 2) && 166 ufsvfsp->vfs_lastwhinetime = now; 192 clock_t now; local 266 now = ddi_get_lbolt(); 268 if ((now - ufsvfsp->vfs_lastwhinetime) > (hz << 2) && 270 ufsvfsp->vfs_lastwhinetime = now; 324 * now. 1165 * Found a rotational position, now fin [all...] |
H A D | ufs_dir.c | 346 * found, but need to know later, so clear *ipp now 2073 timestruc_t now; local 2260 gethrestime(&now); 2261 if (now.tv_sec > TIME32_MAX) { 2268 ip->i_ctime.tv_sec = now.tv_sec; 2269 ip->i_ctime.tv_usec = now.tv_nsec / 1000; 2642 * reclaim the space of the now empty record by adding 2664 * If we were removing a directory, it is 'gone' now, but we cannot 2939 * open .., which now points to 3083 * window between the check and now, wher [all...] |
H A D | ufs_inode.c | 176 * There is now a range of values for ufs_HW that used to be 177 * legal on previous Solaris versions but no longer is now. 848 * This function is now safe to be called with either the reader 905 * entered for the access time changes - do it now. 1254 * Save old size and set inode's size now 1310 * actually allocated since ufs_bmap will now handle the case 1312 * be sure, we do it now independent of current allocation. 1745 timestruc_t now; local 1758 gethrestime(&now); 1764 nsec = now [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cmt.c | 804 * has changed the CPU's lgrp affiliation (since it now 1355 cmt_ev_thread_swtch(pg_t *pg, cpu_t *cp, hrtime_t now, kthread_t *old, argument 1377 cmt_ev_thread_swtch_pwr(pg_t *pg, cpu_t *cp, hrtime_t now, kthread_t *old, argument 1393 cpupm_utilization_event(cp, now, dom, 1409 cpupm_utilization_event(cp, now, dom,
|
H A D | disp.c | 724 * priority than the maximum on this CPU, take it now. 866 cp = CPU; /* now protected against migration */ 893 hrtime_t now; local 895 now = gethrtime_unscaled(); 896 pg_ev_thread_swtch(cp, now, t, next); 901 * Since we now finally know that we're switching away 906 t->t_waitrq = now; 1074 hrtime_t now; local 1085 now = gethrtime_unscaled(); 1086 pg_ev_thread_swtch(cp, now, curthrea 2216 hrtime_t now, nosteal, rqtime; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 1267 timestruc_t now; local 1283 gethrestime(&now); 1284 TIMESPEC_TO_TIMESPEC32(&lh.bh_timestamp, &now);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 712 timestruc_t now, *timep; local 722 * pcfs_setattr is now allowed on directories to avoid silly warnings 800 gethrestime(&now); 801 timep = &now; 828 gethrestime(&now); 829 timep = &now; 1378 /* offset now has the real offset value into directory file */ 1475 * set elsewhere (e.g. for read/setattr) we set the time now. 1781 * a call from msync (B_FORCE) we set the time now. 2095 /* Copy all the names, no filtering now */ [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7chttp.c | 608 time_t now = gethrestime_sec(); local 610 sec = now % 60; 611 now /= 60; 612 min = now % 60; 613 now /= 60; 614 hour = now % 24; 615 now /= 24; 616 dow = now % 7; 624 if (now < day) 626 now [all...] |
H A D | sockfilter.c | 661 clock_t now = ddi_get_lbolt(); local 669 (now - def->so_filter_defertime) > sof_defer_drop_time) {
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_inode.c | 630 * We now check the validity of ea_off. 1026 * Do nothing if inode is now busy -- inode may 1106 * cache now, put it back on the freelist. 1641 * actually allocated. Just to be sure, we do it now 1980 timestruc_t now; local 1982 gethrestime(&now); 1985 ip->i_atime.tv_sec = now.tv_sec; 1986 ip->i_atime.tv_nsec = now.tv_nsec; 1989 ip->i_mtime.tv_sec = now.tv_sec; 1990 ip->i_mtime.tv_nsec = now [all...] |