/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 111 * requirement will be increased to 64 bit. So, let's use 64 bit alignment now. 502 /* accept any length now, we'll check it later */ 725 /* now the host is an IPv4 address */ 1912 struct timeval now, wait; local 1921 (void) gettimeofday(&now, NULL); 1922 tv_sub(&wait, &now);
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fmdump.c | 147 time_t now = time(NULL); local 148 if (tod > now+60 || 149 tod < now - 6L*30L*24L*60L*60L) { /* 6 months ago */ 448 argt->nvarg_name = namevalue; /* now just name */
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | deliver.c | 336 ** want to make connections now, just mark these 495 time_t now; local 500 now = curtime(); 503 e->e_dtime = now; 508 ee->e_dtime = now; 544 ** If we belong in background, fork now. 603 /* now drop the envelope in the parent */ 630 ** close the maps now so the child will dynamically open 813 ** Don't attempt deliveries if we want to bounce now 864 /* now unloc 4231 time_t now = curtime(); local 5695 time_t now; local [all...] |
H A D | milter.c | 316 time_t now; local 318 now = curtime(); 319 if (now - readstart >= to) 335 to -= now - readstart; 336 readstart = now; 432 time_t now; local 434 now = curtime(); 435 if (now - readstart >= to) 447 to -= now - readstart; 1252 /* now sca [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uustat.c | 1253 /* now we have a C. and A. for same job */ 1483 time_t now; /* Current time. */ local 1485 now = time((time_t *) 0); 1488 DEBUG(9, "GMTS: now = %ld\n", now); 1491 temp = (now - inputsecs); 1525 time_t now; /* Current time. */ local 1527 now = time((time_t *) 0); 1528 td = gmtime(&now);
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 1389 static time_t year, now; local 1394 now = time((long *)NULL); 1395 year = now - 6L*30L*24L*60L*60L; /* 6 months ago */ 1396 now = now + 60; 1404 if ((stime < year) || (stime > now)) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 618 * If the peer had to authenticate, run the auth-up script now. 641 * If we negotiated callback, do it now. 836 * sent out now, at maxconnect-300, at maxconnect-120, and 849 * Detach now, if the updetach option was given. 1193 * Here we assume (for now, at least) that echo on means login name, and 1344 long now = time(NULL) / 86400L; local 1346 if ((spwd->sp_expire > 0 && now >= spwd->sp_expire) 1349 && now >= spwd->sp_lstchg + spwd->sp_max)) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 1587 time_t now; local 1614 if (time(&now) != (time_t)-1) { 1615 if ((local = localtime(&now)) != NULL) 1633 if (time(&now) != (time_t)-1) { 1634 if ((local = localtime(&now)) != NULL) { 2043 * are all constants, recalculating them now should give us the same 2547 * We now know that the size of the device is less than 2624 * meaning it's effectively an orphan. It needs to be noted now, so
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | analyze.c | 287 relocate_so(Lm_list *lml, Rt_map *lmp, int *relocated, int now, int *in_nfavl) argument 302 if ((LM_RELOC(lmp)(lmp, now, in_nfavl, &textrel) == 0) && 530 * failed objects now. 552 * Having completed this control list of objects, they can now be bound 947 * loaded non-RTLD_NOW, append this object to the relocation-now list 1856 * If this is ELF relocatable object, we're done for now. 3013 * a translator, skip any direct binding now that we've
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_arp.c | 1093 clock_t now; local 1156 now = ddi_get_lbolt(); 1157 if ((now - dst_ncec->ncec_last_time_defended) > 1159 dst_ncec->ncec_last_time_defended = now; 1162 * pull it out now. It no longer needs separate 1163 * defense, because we're now doing that with this 2196 * cannot be active now.
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_subr.c | 507 * no daemon errors; now process door/comm errors (if any) 536 * so just get out now if this is the case. 1017 timestruc_t now; local 1308 * Don't VN_RELE(newvp) here since dfnp now 1327 gethrestime(&now); 1328 dfnp->fn_atime = dfnp->fn_mtime = now; 1365 * free the action list now, 1385 timestruc_t now; local 1414 gethrestime(&now); 1415 fnp->fn_atime = fnp->fn_mtime = fnp->fn_ctime = now; 1473 timestruc_t now; local [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 540 * invalid, set WebNFS status to WNFSERR_CLNT_FLAVOR now. 4282 timestruc_t now; local 4310 gethrestime(&now); 4312 verfp->ts = (int)now.tv_sec; 4316 verfp->id = (uint_t)now.tv_nsec;
|
H A D | nfs4_stub_vnops.c | 390 timespec_t now; local 402 gethrestime(&now); 403 vap->va_atime = now; 404 vap->va_mtime = now; 405 vap->va_ctime = now; 735 * Sets newvp to be the root of the fs that is now covering vp. Note 975 * and it may now be ignored. 977 * Otherwise, try it again, since it may now have 1019 * if that mi_curr_serv was down but has now recovered. 2191 * now w 2852 time_t now = gethrestime_sec(); local [all...] |
H A D | nfs_client.c | 757 hrtime_t now; local 763 now = gethrtime(); 785 rp->r_mtime = now; 790 delta = now - rp->r_mtime; 803 rp->r_attrtime = now + delta; 1276 * mi->mi_max_threads, now non-zero) thinks we 2272 * The read of r_size is now protected by r_statelock. 2603 clock_t now; local 2617 now = ddi_get_lbolt(); 2619 now [all...] |
H A D | nfs_vnops.c | 1255 time_t now; local 1257 now = gethrestime_sec(); 1258 if (NFS_TIME_T_OK(now)) { 1260 vap->va_mtime.tv_sec = now; 1261 vap->va_atime.tv_sec = now;
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_input.c | 70 * unsent chunk for a message this now abandoned we need to check if a 139 * 4a. p may now border p->next from less; if so, coalesce those 871 * mp now points at the last chunk in the sequence, 903 * Deduct the balance from got and needed here, now that 1042 /* Got all fragments of this message now */ 1083 /* Got all fragments of this message now */ 1164 * If we now have both the beginning and the end of the message, 1193 * NULL unless a segment of the message now qualified for 1532 * Deliver the data directly. Recalculate dlen now since 1578 * Data now enqueue 3619 int64_t now; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | asy.c | 67 * set the RX FIFO trigger_level to half the RX FIFO size for now 1805 * break now and honor his implicit request by discarding the rest of 1915 * If nobody's using it now, turn off receiver interrupts. 2224 * 2: Rx register now holds a char to be picked up 2362 /* Have seen leading edge, now look for and record drop */ 2777 * Any data left in there is invalid now 3894 * Do it now. 4089 * Retry an "ioctl", now that "bufcall" claims we may be able to allocate 4363 time_t now; local 4374 now [all...] |
H A D | pm.c | 27 * pm This driver now only handles the ioctl interface. The scanning 28 * and policy stuff now lives in common/os/sunpm.c. 330 if (perm == CHECKPERMS) /* ok for now (is checked later) */ 1490 time_t now; local 1491 (void) drv_getparm(TIME, &now); 1492 *rval_p = (now - timestamp); 1618 ret = 0; /* can't fail now */ 1910 time_t now; local 1943 (void) drv_getparm(TIME, &now); 1998 retval = thresh - (now [all...] |
H A D | kbd.c | 101 * For now these are shared. 2422 struct timeval now; local 2434 uniqtime(&now); 2435 TIMEVAL_TO_TIMEVAL32(&fe->time, &now);
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_dyndns.c | 361 struct timeval now; local 363 (void) gettimeofday(&now, NULL); 365 dns_msgid = (0xffff & (now.tv_sec ^ now.tv_usec ^ getpid()));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio.c | 29 * This is only for raw devices now (as of Nov. 1993). 545 timestruc_t now; local 547 gethrestime(&now); 548 timespecadd(rqtp, &now); 690 timestruc_t now; local 692 gethrestime(&now); 693 timespecadd(rqtp, &now); 931 timestruc_t now; local 933 gethrestime(&now); 934 timespecadd(rqtp, &now); [all...] |
H A D | clock.c | 252 * now implemented in an event driven fashion, backed by gethrtime() coarsed to 409 clock_t now = LBOLT_NO_ACCOUNT; /* current tick */ local 771 * Note: the clock synchronization code now assumes 817 CLOCK_ADJ_HIST_SIZE] = now; 1019 * lbolt_hybrid points at lbolt_bootstrap until now. The LBOLT_* macros 2230 * tod_set_prev() saved tod and hrtime; we can now use
|
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 550 hrtime_t now = gethrtime_waitfree(); local 563 if (now - gcpu_last_bleat < gcpu_bleat_min_interval) 568 gcpu_last_bleat = now; 1639 * last poll then clear the status now since this appears 1641 * different status now then do not clear, but reconsider at 1656 * Status is unchanged so clear it now and, 1877 * If a second #MC had occured before now the system would have
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_psm.c | 62 /* As of now we don't support x2apic in xVM */ 196 * domU cannot set the TOD hardware, fault the TOD clock now to 885 hrtime_t now, timer_new, time_delta, xen_time; local 894 now = xpv_gethrtime(); 896 if (timer_req <= now) { 903 time_delta = timer_req - now;
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcmod.c | 672 * It is now safe to remove this queue from the stream. No kRPC 960 * For now, just free the message. 1459 * latest mblk onto the list and see if we now have enough 1671 * unless we store it now. 2155 clock_t now; local 2194 now = ddi_get_lbolt(); 2196 MSEC_TO_TICK(mir->mir_idle_timeout) - now >= 0) { 2200 TICK_TO_MSEC(now - mir->mir_use_timestamp); 2205 "to %d (ms)\n", TICK_TO_MSEC(now), 2215 printf("mir_timer[%d]: doing client timeout\n", now / h [all...] |