Lines Matching refs:now

467 	struct timeval now;
496 microuptime(&now);
497 nso->nso_timestamp = now.tv_sec;
516 if (!error) { /* bind now to check for failure */
690 struct timeval now;
698 microuptime(&now);
699 NFS_SOCK_DBG(("nfs connect %s search %ld\n", vfs_statfs(nmp->nm_mountp)->f_mntfromname, now.tv_sec));
703 ((nss->nss_sockcnt < 4) && (now.tv_sec >= (nss->nss_last + 2)))) {
712 nss->nss_last = now.tv_sec;
752 nss->nss_last = now.tv_sec;
811 ((nso->nso_sotype == SOCK_DGRAM) && (now.tv_sec >= nso->nso_reqtimestamp+2))) {
832 nso->nso_reqtimestamp = now.tv_sec;
877 if (now.tv_sec >= (nso->nso_timestamp + nss->nss_timeo)) {
906 if (((now.tv_sec - nss->nss_timestamp) >= 30) && ((nss->nss_flags & (NSS_VERBOSE|NSS_WARNED)) == NSS_VERBOSE)) {
947 struct timeval now, start;
1369 microtime(&now);
1370 nmp->nm_mounttime = ((uint64_t)now.tv_sec << 32) | now.tv_usec;
1440 /* We have now successfully connected... make a note of it. */
1500 struct timeval now;
1506 microuptime(&now);
1507 lastmsg = now.tv_sec - (nmp->nm_tprintf_delay - nmp->nm_tprintf_initial_delay);
1523 microuptime(&now);
1524 if ((lastmsg + nmp->nm_tprintf_delay) < now.tv_sec) {
1525 lastmsg = now.tv_sec;
1654 struct timeval now;
1672 microuptime(&now);
1673 nmp->nm_reconnect_start = now.tv_sec;
1702 microuptime(&now);
1703 while (req && !(nmp->nm_state & NFSSTA_FORCE) && req->r_resendtime && (now.tv_sec < req->r_resendtime))
1859 struct timeval now;
1868 microuptime(&now);
1869 if ((now.tv_sec - nmp->nm_deadto_start) < nmp->nm_curdeadtimeout)
2120 struct timeval now;
2129 microuptime(&now);
2132 (now.tv_sec < (ncbsp->ncbs_stamp + NFS4_CB_IDLE_MAX)))
2157 struct timeval timeo, now;
2203 microuptime(&now);
2204 ncbsp->ncbs_stamp = now.tv_sec;
2246 struct timeval now;
2276 microuptime(&now);
2277 ncbsp->ncbs_stamp = now.tv_sec;
2323 /* XXX just ignore auth for now - handling kerberos may be tricky */
2818 /* If the socket needs reconnection, do that now. */
2848 struct timeval now;
2849 microuptime(&now);
2850 if ((now.tv_sec - nmp->nm_reconnect_start) >= 8) {
3011 * For now, ignore them all
3664 struct timeval now;
3678 microuptime(&now);
3680 req->r_start = now.tv_sec;
3681 req->r_lastmsg = now.tv_sec -
3929 struct timeval now;
3930 microuptime(&now);
3931 req->r_resendtime = now.tv_sec + delay;
4502 struct timeval now;
4516 microuptime(&now);
4541 ((req->r_lastmsg + nmp->nm_tprintf_delay) < now.tv_sec)) {
4542 req->r_lastmsg = now.tv_sec;
4570 ((nmp->nm_reconnect_start <= 0) || ((now.tv_sec - nmp->nm_reconnect_start) < 8)))
4610 (now.tv_sec - req->r_start)*NFS_HZ, maxtime));
4616 ((now.tv_sec - req->r_start) >= 3) &&
4628 ((now.tv_sec - req->r_start)*NFS_HZ > maxtime))) { /* too long */
4637 req->r_lastmsg = now.tv_sec;
4649 now.tv_sec - req->r_start));
4751 * on remote filesystems, then bail now.
5301 struct timeval now;
5328 microuptime(&now);
5330 nmp->nm_deadto_start = now.tv_sec;
5332 } else if ((now.tv_sec - nmp->nm_deadto_start) > nmp->nm_curdeadtimeout) {