Lines Matching defs:now
399 struct timeval now;
403 microuptime(&now);
404 lastmsg = now.tv_sec - (nmp->nm_tprintf_delay - nmp->nm_tprintf_initial_delay);
413 microuptime(&now);
414 if ((lastmsg + nmp->nm_tprintf_delay) < now.tv_sec) {
415 lastmsg = now.tv_sec;
529 struct timeval now;
541 microuptime(&now);
542 nmp->nm_reconnect_start = now.tv_sec;
556 microuptime(&now);
557 while (req && !force && req->r_resendtime && (now.tv_sec < req->r_resendtime))
719 /* If the socket needs reconnection, do that now. */
891 * For now, ignore them all
1565 auth_len = 5 * NFSX_UNSIGNED + 0; // zero context handle for now
1595 struct timeval now;
1605 microuptime(&now);
1607 req->r_start = now.tv_sec;
1608 req->r_lastmsg = now.tv_sec -
1845 struct timeval now;
1846 microuptime(&now);
1847 req->r_resendtime = now.tv_sec + delay;
2192 struct timeval now;
2206 microuptime(&now);
2231 ((req->r_lastmsg + nmp->nm_tprintf_delay) < now.tv_sec)) {
2232 req->r_lastmsg = now.tv_sec;
2259 else if ((req->r_flags & R_SETUP) || ((nmp->nm_reconnect_start <= 0) || ((now.tv_sec - nmp->nm_reconnect_start) < 8)))
2299 (now.tv_sec - req->r_start)*NFS_HZ, maxtime));
2304 ((now.tv_sec - req->r_start) >= 3) &&
2315 ((now.tv_sec - req->r_start)*NFS_HZ > maxtime))) { /* too long */
2324 req->r_lastmsg = now.tv_sec;
2331 now.tv_sec - req->r_start));
2430 * on remote filesystems, then bail now.