/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_op.c | 236 * 'rv' now contains everything we know about the attributes and 966 * '[' and ']' left in place ? Assume so for now. 1352 struct timeval tv, start, now; local 1760 (void) gettimeofday(&now, 0); 1761 tmp = now; 1762 now.tv_sec -= start.tv_sec; 1763 now.tv_usec -= start.tv_usec; 1764 if (now.tv_usec < 0) { 1765 now.tv_usec += 1000000; 1766 now [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 720 * Any response we send will use ctx_handle, so set it now; 766 * client_data is now responsible for freeing 1723 time_t now = gethrestime_sec(); local 1727 last_reference_needed = now - (from_reclaim ? 1742 cl->expiration <= now) || cl->stale || 1746 cl->expiration <= now) || cl->stale ||
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 46 * ordering requirements of the current mechanism now can create trouble 47 * down the line. Also, this makes the API easier to use now, which 1052 time_t now = time(NULL); local 1054 ctx->expires_not_before = now + MINIMUM_TTL; 1055 ctx->expires_not_after = now + MAXIMUM_TTL; 1152 * We have the FQDN of the SRV RR name, so now we extract the
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 70 hrtime_t now = gethrtime(); local 73 msp->mutex_hold_time += now - msp->mutex_begin_hold; 75 return (now); 1130 * libsched.so.1 is now a filter library onto libc. 1979 * Add it to the table and register it now. 2812 * system call then perform the cancellation action now. 3339 * Take any deferred signal now, after we have reacquired the mutex. 3419 * Take any deferred signal now, after we have reacquired the mutex. 3450 * Therefore, we must return EINVAL now if the timout is invalid.
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 195 * alignment now. 745 * From now on, we'll always be listening to ICMP packets. As SIGALRM 1016 * leave it blank for now. 1275 /* now we need the sys_ip_config privilege */ 1327 /* now we need the net_icmpaccess privilege */ 1880 /* target is the middle gateway now */ 2596 hrtime_t now; local 2599 now = gethrtime(); 2602 now - ns_starttime >= ns_warntime * NANOSEC) { 2603 if (now [all...] |
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_impl.c | 348 clock_t now, idle_period; local 366 now = ddi_get_lbolt(); 368 clock_t, now); 414 if (hostp->nh_idle_timeout > now) 447 hostp->nh_idle_timeout > now) 458 hostp->nh_idle_timeout = now + idle_period; 471 * So, now we can destroy it. 1500 * some time ago, but doesn't have them now. 1627 * Host is inuse now. Remove it from idle 1763 * Host is inuse now [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 1129 * of memory. To keep it simple for now we 1902 hrtime_t now; local 1938 now = gethrtime(); 1946 ((hrtime_t)age * NANOSEC)) > now)
|
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 153 * fmd_adm_rsrc_iter(). However this is now only necessary for the -i option. 257 time_t now = time(NULL); local 258 if (tod > now+60 || 259 tod < now - 6L*30L*24L*60L*60L) { /* 6 months ago */
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 199 time_t now = gethrestime_sec(); local 207 SOTOTPI(so)->sti_atime = now; 209 SOTOTPI(so)->sti_mtime = now;
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 500 timestruc_t now; local 588 gethrestime(&now); 589 ip->i_ctime.tv_sec = now.tv_sec; 590 ip->i_ctime.tv_nsec = now.tv_nsec; 1784 * Can be a reader from now on. 1925 * for write) then update the inode access time and mod time now. 2808 * set elsewhere (e.g. for write/setattr) we set the time now.
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 1241 clock_t now = ddi_get_lbolt(); \ 1242 if ((mac_srs)->srs_bw->mac_bw_curr_time != now) { \ 1243 (mac_srs)->srs_bw->mac_bw_curr_time = now; \ 2345 * ensure that we don't drop the srs_lock from now 2813 clock_t now; local 2820 now = ddi_get_lbolt(); 2821 if (mac_srs->srs_bw->mac_bw_curr_time != now) { 2822 mac_srs->srs_bw->mac_bw_curr_time = now; 3875 clock_t now; local 3902 now 4033 clock_t now; local [all...] |
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_subr.c | 251 timestruc_t now; local 271 gethrestime(&now); 272 attrp->va_atime = (mask & AT_ATIME) ? vap->va_atime : now; 273 attrp->va_mtime = (mask & AT_MTIME) ? vap->va_mtime : now; 274 attrp->va_ctime = (mask & AT_CTIME) ? vap->va_ctime : now; 681 * for now, follow the lead of tmpfs here 891 timestruc_t now; local 895 gethrestime(&now); 897 attr.va_ctime = now; 899 attr.va_mtime = now; 1129 timestruc_t now; local 2440 timestruc_t now; local [all...] |
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vnops.c | 129 timestruc_t now; local 426 gethrestime(&now); 427 tp->tn_mtime = now; 428 tp->tn_ctime = now; 1555 /* should now be just past the end. */ 1793 timestruc_t now; local 1833 gethrestime(&now); 1834 tp->tn_atime = now; 1836 tp->tn_mtime = now;
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_input.c | 944 * using the listeners queues from now on. 1148 * The eager is now established in its own perimeter as soon as SYN is 1349 * be to set the "tcp_syn_defense" flag now. 1376 int64_t now; local 1380 now = ddi_get_lbolt64(); 1384 if (now - tlc->tlc_report_time > 1391 tlc->tlc_report_time = now; 1757 * Insert the eager in its own perimeter now. We are ready to deal 1866 * No one from read or write side can access us now 1944 /* No need for the push timer now [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 704 hrtime_t now = gethrtime(); local 708 if (now - dtp->dt_lastagg < interval) 713 dtp->dt_lastagg = now; 946 * elements; we must now compare the keys themselves as a tie-breaker. 1392 * And now one final pass to set everyone's total. 1505 * And now one final pass to set everyone's minbin and maxbin. 1820 * We have our description -- now we need to 1973 * We've loaded our array; now we need to sort by value to allow us
|
H A D | dt_consume.c | 1355 * determining <symbol, offset> from <pid, address>. For now, if 2879 hrtime_t now = gethrtime(); local 2882 if (now - dtp->dt_lastswitch < interval) 2887 dtp->dt_lastswitch = now;
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/ |
H A D | pvscsi.c | 974 * Assume command is completely cancelled now, 1660 clock_t now; local 1667 now = ddi_get_lbolt(); 1677 now > c->timeout_lbolt) { 1680 (void *)c, now, c->timeout_lbolt); 1921 /* Assume command is completely cancelled now */
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client.c | 684 hrtime_t now; local 696 now = gethrtime(); 706 rp->r_time_cache_inval = now + mi->mi_acdirmax; 726 rp->r_time_attr_saved = now; 732 delta = now - rp->r_time_attr_saved; 745 rp->r_time_attr_inval = now + delta; 758 rp->r_time_attr_inval = now; 759 rp->r_time_attr_saved = now; 769 * just set it to 0 for now. Eventually it would be 777 * now, i 2678 clock_t now = ddi_get_lbolt(); local [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | metaslab.c | 1425 * a new one (txg == TXG_INITIAL), all space is available now. 2183 * This metaslab has just been added so there's no work to do now. 2782 * the metaslab is now loaded so metaslab_should_allocate() can 3104 * If we haven't tried hard, do so now. 3122 metaslab_free_dva(spa_t *spa, const dva_t *dva, uint64_t txg, boolean_t now) argument 3150 if (now) { 3335 metaslab_free(spa_t *spa, const blkptr_t *bp, uint64_t txg, boolean_t now) argument 3341 ASSERT(!now || bp->blk_birth >= spa_syncing_txg(spa)); 3346 metaslab_free_dva(spa, &dva[d], txg, now);
|
/illumos-gate/usr/src/lib/librestart/common/ |
H A D | librestart.c | 1127 struct timeval now; local 1168 ret = gettimeofday(&now, NULL); 1204 if (scf_value_set_time(v_stime, now.tv_sec, now.tv_usec * 1000) != 0) 3860 * Stubs for now.
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 1667 hrtime_t now; local 1703 now = gethrtime(); 1704 if (localinfo == NULL || ((now - then) > IFINFOTIMEOUT)) { 1713 if (localinfo == NULL || ((now - then) > IFINFOTIMEOUT)) { 1721 then = now;
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ps.c | 154 static struct timeval now; variable in typeref:struct:timeval 404 (void) gettimeofday(&now, NULL); 2235 if ((now.tv_sec - starttime) >= 24*60*60) { 2436 time_t seconds = now.tv_sec - start->tv_sec; 2437 long nanosecs = now.tv_usec * 1000 - start->tv_nsec;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | typegraph.c | 847 * This could become significantly more sophisticated, but for now it's pretty 1370 * We have the symbol; now get its type. 1554 hrtime_t now = gethrtime(); local 1556 pass = now - ts; 1557 ts = now; 1811 * this structure; for now, we punt.
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 232 static time_t now; variable 269 if (time(&now) == (time_t)(-1)) { 926 l = (now-t)/A_DAY; 938 l = (now-t)/A_MIN; 1685 time_t now; local 1691 (void) time(&now); 1693 sixmonthsago = now - 6L*30L*24L*60L*60L; 1818 if (stp->st_mtime < sixmonthsago || stp->st_mtime > now)
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | conf.c | 435 ** we need something to point to now for the mailer setup, 949 time_t now = curtime(); local 954 if ((now - servicecachetime) > (time_t) ServiceCacheMaxAge) 965 servicecachetime = now; 2182 ** (for now). 2213 time_t now; local 2215 now = curtime(); 2218 if (now != lastconn[dn]) 2220 lastconn[dn] = now; 2237 else if (now ! 2260 time_t now; local 2290 time_t now; local [all...] |