/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.c | 284 * can now open any of them then we send a sysevent to indicate that a new topo 310 * see if we can open it now 324 "recheck_dir - can now open %s", sof->sof_path); 908 hrtime_t now; local 924 now = gethrtime(); 959 } else if (now - tp->set_snaptime > (ses_snap_freq * 1000 * 1000) && 2056 /* now create a libtopo node. */ 2208 * For now, we assume that logical id is the subchassis serial number.
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 1799 * and see whether they can now be enabled. 1866 * now be enabled because of the new primary IP 2914 struct timeval now; local 2947 (void) gettimeofday(&now, NULL); 2957 timeval_delta(now, vr->vvr_sinfo.vs_st_time)); 2982 timeval_delta(now, vr->vvr_peer.vp_time));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | uds_daemon.c | 1889 // If we don't already have this domain in our list for this registration, add it now 2159 // start any registrations right now, subsequent configuration changes may cause successful 2326 // If we don't already have this domain in our list for this browse operation, add it now 2361 // (This should actually no longer be necessary, now that we do the proper cleanup in 2565 // Delete any domains in our old AutoRegistrationDomains list that are now gone 2701 // start any browses right now, subsequent configuration changes may cause successful 4681 // If our header is complete, but we're still needing more body data, then try to read it now 5575 mDNSlocal void LogOneAuthRecord(mDNS *const m, const AuthRecord *ar, mDNSs32 now, const char *const ifname) argument 5582 (ar->LastAPTime + ar->ThisAPInterval - now) / mDNSPlatformOneSecond, 5583 ar->expire ? (ar->expire - now) / mDNSPlatformOneSecon 5600 LogAuthRecords(mDNS *const m, const mDNSs32 now, AuthRecord *ResourceRecords, int *proxy) argument 5771 const mDNSs32 now = mDNS_TimeNow(m); local 6182 mDNSs32 now = mDNS_TimeNow(&mDNSStorage); local [all...] |
H A D | mDNS.c | 238 LogInfo("RR Auth now using %ld objects", r->rrauth_totalused); 300 if (!ag) ag = GetAuthGroup(r, slot, &rr->resrec); // If we don't have a AuthGroup for this name, make one now 483 // Right now we just stop and re-use the existing query. If we really wanted to be 100% perfect, 615 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now 650 if (m->CurrentQuestion == q) // If m->CurrentQuestion was not auto-advanced, do it ourselves now 758 // For now, to make it easier to avoid false conflicts, we treat SPS Proxy records like shared records, 781 // so now we just need to check the name, type, class, rdata and TTL. 842 // If we have no probe suppression time set, or it is in the past, set it now 889 // After three probes one second apart with no answer, we conclude the client is now sleeping 896 // Set LastMCTime to now, t 6706 mDNSCoreReadyForSleep(mDNS *m, mDNSs32 now) argument 6818 mDNSCoreIntervalToNextWake(mDNS *const m, mDNSs32 now) argument [all...] |
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 132 static time_t now; variable 1674 if (now - then < 24 * 60 * 60) { 1677 } else if (now - then < 12 * 30 * 24 * 60 * 60) { 2950 if (now - psi.pr_start.tv_sec < 24 * 60 * 60) 2953 else if (now - psi.pr_start.tv_sec < 12 * 30 * 24 * 60 * 60) 3035 /* If we're supposed to list the processes, too, do that now. */ 3484 now = time(NULL); 3485 assert(now != -1); 3490 * need to know now so we know which options are valid. 3740 * If we're in long mode, take care of it now befor [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | graph.c | 1176 hrtime_t now; local 1181 now = gethrtime(); 1191 dep_cycle_ns += gethrtime() - now; 1193 now = gethrtime(); 1197 dep_insert_ns += gethrtime() - now; 1718 * an optional dependency, what was previously an unsatisfiable situation is now 1950 * but now can return online, clear the _TOOFFLINE 2004 /* disable the instance now if there is nothing else to offline */ 2017 /* skip the vertex we are disabling for now */ 3034 * make a list of them now fo 3585 time_t now; local [all...] |
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 2489 uint64_t now = gethrtime(); local 2493 1 + bytes / (1 + ((now - zcb->zcb_start) / 1000 / 1000)); 2506 zcb->zcb_lastprint = now;
|
/illumos-gate/usr/src/uts/common/io/usbgem/ |
H A D | usbgem.c | 278 clock_t now; local 279 now = ddi_get_lbolt(); 280 return (now ? now : (clock_t)1); 861 /* now the nic become quiescent, reset the chip */ 898 * before the restart event happen. If the link is down now, 927 clock_t now; local 939 now = ddi_get_lbolt(); 947 now - dp->fatal_error >= dp->ugc.usbgc_tx_timeout) || 951 now 1456 clock_t now; local [all...] |
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 647 * For now, zoneadmd doesn't do anything with the contract. 4538 time_t now; local 4587 now = time(NULL); 4588 if (now < 0) { 4602 if (now >= next_memory) { 4604 next_memory = now + g_interval; 4613 g_now = now;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpm.c | 702 * loadrootmodules already loaded these ppm drivers, now get them 1165 * Since we now maintain the counts correct at every node, we no longer 1194 time_t *timestamp, idletime, now, thresh; local 1246 now = gethrestime_sec(); 1286 idletime = now - timestamp[i]; /* idle time */ 1846 "pm_unresolved_deps now %d\n", pmf, 1872 * Try to grab keeper. Keeper may have gone away by now, 2396 * reset its timestamp to now. 2505 * total power state via phc code now. 4528 * This is now handle 6598 time_t now, service_seconds, tdiff; local [all...] |
H A D | sunddi.c | 1268 * If explicit undefine, return now. 1278 * If we only want to know if it exists, return now 1288 * service request and return now. 3459 * interfaces to the opposite. So the old interfaces now set the 4265 /* for now we invalidate the entire cached snapshot */ 4274 /* for now we invalidate the entire cached snapshot */ 5312 time_t now; local 5314 if ((now = gethrestime_sec()) == 0) { 5321 return (now); 5875 * OK, we found it, so get out now [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip.c | 1032 /* Old *IPSECONFIG ioctls are now deprecated, now see spdsock.c */ 1338 timestruc_t now; local 1499 gethrestime(&now); 1500 ts = (now.tv_sec % (24 * 60 * 60)) * 1000 + 1501 NSEC2MSEC(now.tv_nsec); 1603 /* Neither we nor raw sockets are interested. Drop packet now */ 1972 /* We now have a PMTU for sure */ 2927 clock_t now = TICK_TO_MSEC(ddi_get_lbolt()); local 2935 if (ipst->ips_icmp_pkt_err_last > now) { 8994 timestruc_t now; local 9245 timestruc_t now; local 11946 timestruc_t now; local 14428 int64_t now = LBOLT_FASTPATH64; local [all...] |
H A D | ip_if.c | 448 * ill (we actually walk all that now have stale references). 522 * We do an ipsq_flush once again now. New messages could have 1153 * since we are now executing as writer. After the 2 calls below, 1169 * ill (we actually walk all that now have stale references). 2289 * All message based capabilities have been disabled, now 2556 clock_t now; local 2564 now = ddi_get_lbolt(); 2565 if (TICK_TO_MSEC(now - ill->ill_last_frag_clean_time) <= 2574 ill->ill_last_frag_clean_time = now; 3461 * For now preten [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 1735 /* for now, ignore other message status */ 1809 * for now, set the session id to 0 as we cannot 1898 * stmf will now take over the task handling for this task 3400 /* Code set and ident length both match, now compare idents */ 5398 "online the port, set FORCED_OFFLINE now"); 5925 * For now we will abort all I/Os on the LU in case of ABORT_TASK_SET 6844 /* Right now we only do this for handling task management functions */ 7515 clock_t start, now, deadline; local 7517 start = now = ddi_get_lbolt(); 7523 now [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 788 hrtime_t now; /* current system time */ member in struct:callout_data 952 coargs->exp - coargs->now : coargs->exp); 956 coargs->exp - coargs->now : coargs->exp); 1084 coargs->exp - coargs->now : coargs->exp, 1335 /* need to get now in nsecs. Approximate with hrtime vars */ 1336 if (mdb_readsym(&(coargs->now), sizeof (hrtime_t), "hrtime_last") != 1338 if (mdb_readsym(&(coargs->now), sizeof (hrtime_t), 1422 coargs.time += coargs.now; 1423 coargs.atime += coargs.now; 1424 coargs.btime += coargs.now; [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | arc.c | 344 * The arc has filled available memory and has now warmed up. 2760 * ownership to the hdr since it's now being shared. 3063 * need to check this again now that we have the 4381 clock_t now; local 4399 now = ddi_get_lbolt(); 4418 hdr->b_l1hdr.b_arc_access = now; 4427 if (now > hdr->b_l1hdr.b_arc_access + ARC_MINTIME) { 4433 hdr->b_l1hdr.b_arc_access = now; 4468 * the head of the list now. 5172 * We have to recheck this conditional again now tha 6232 clock_t interval, next, now; local [all...] |
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 926 * -d If we can't destroy now, mark for deferred destruction 5718 time_t now = time(NULL); local 5719 if (last_spin_time + SPINNER_TIME < now) { 5721 last_spin_time = now; 5990 time_t now = time(NULL); local 5999 } else if (current != total && last_progress_time + MOUNT_TIME >= now) { 6004 last_progress_time = now;
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 5491 hrtime_t now; local 5495 while ((now = gethrtime()) < zs->zs_thread_stop) { 5499 if (now > zs->zs_thread_kill) 5516 if (now >= call_next && 5858 * so that the only way to record changes from now on is the ZIL. 6330 hrtime_t now = gethrtime(); local 6332 now = MIN(now, zs->zs_proc_stop); 6333 print_time(zs->zs_proc_stop - now, timebuf); 6343 100.0 * (now [all...] |
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 917 * keep the mapping list in ascending order by the hment size. For now, 5967 * Verify if hme still points to 'pp' now that 7273 * we did the HME_SUB() above. Hmecnt is now maintained 8763 * And now guarantee that any other cpu 9396 * have to grab it's lock now since we can't after all the 9538 * now flushed. 11677 * for 3 reasons: 1) we couldn't allocate a new context and now need to 11933 * tradeoff will depend on the size of the TLB. So for now flush the specific 12081 * Therefore we can't attempt to grab any locks. For now 12935 * register a relocation callback handler. Note that for now 15394 timestruc_t now; local [all...] |
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 1677 * therefore unable to clean it now. 1721 * We are now guaranteed that no hash chain contains a pointer 1999 * return NULL now. Before we return, check that the value 2154 * We have now allocated a new chunk. We copy the tuple keys into the 2476 * And now, a pathetic attempt to try to get a an odd (or 3009 * We now know that all CPUs have committed or discarded their 3010 * speculation buffers, as appropriate. We can now set the state 6079 * For now, this has no meaning. 6624 hrtime_t now; local 6633 now 6862 hrtime_t now, end; local 11432 hrtime_t now; local 13606 hrtime_t now; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_vnops.c | 953 timestruc_t now; local 955 gethrestime(&now); 956 verf.seconds = now.tv_sec; 957 verf.nseconds = now.tv_nsec; 1290 /* XXX Ignore this 'error' for now */ 1312 * and upate the open stateid now, before any call to makenfs4node. 1574 * the file we now need to return the error. 2098 * just assume every thing is ok for now. 2341 * done, then bail now (ie. no need for protocol 'close'). If 4244 * not what we wanted it to be, so set it now 5604 hrtime_t now; local 5982 hrtime_t now; local [all...] |