Lines Matching refs:timo
266 struct timeval timo; in newnfs_connect() local
420 timo.tv_sec = nfsrv_lease / 4; in newnfs_connect()
421 if (timo.tv_sec < 10) in newnfs_connect()
422 timo.tv_sec = 10; in newnfs_connect()
423 timo.tv_usec = 0; in newnfs_connect()
425 &timo); in newnfs_connect()
460 timo.tv_sec = nfsrv_lease / 4; in newnfs_connect()
461 if (timo.tv_sec < 10) in newnfs_connect()
462 timo.tv_sec = 10; in newnfs_connect()
463 timo.tv_usec = 0; in newnfs_connect()
464 CLNT_CONTROL(client, CLSET_TIMEOUT, &timo); in newnfs_connect()
502 timo.tv_sec = nmp->nm_timeo / NFS_HZ; in newnfs_connect()
503 timo.tv_usec = (nmp->nm_timeo % NFS_HZ) * 1000000 / NFS_HZ; in newnfs_connect()
504 CLNT_CONTROL(client, CLSET_RETRY_TIMEOUT, &timo); in newnfs_connect()
680 struct timeval timo; in newnfs_request() local
925 timo.tv_sec = NFSV4_UPCALLTIMEO; in newnfs_request()
926 timo.tv_usec = 0; in newnfs_request()
928 timo.tv_sec = NFSV4_CALLBACKTIMEO / 1000; in newnfs_request()
929 timo.tv_usec = NFSV4_CALLBACKTIMEO * 1000; in newnfs_request()
933 timo.tv_usec = 0; in newnfs_request()
935 timo.tv_sec = INT_MAX; in newnfs_request()
937 timo.tv_sec = NFS_TCPTIMEO; in newnfs_request()
947 timo.tv_sec = timeo / NFS_HZ; in newnfs_request()
948 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
952 timo.tv_sec = NFS_MAXTIMEO / NFS_HZ; in newnfs_request()
953 timo.tv_usec = 0; in newnfs_request()
972 nd->nd_mreq, &nd->nd_mrep, timo, sep->nfsess_xprt); in newnfs_request()
985 &ext, procnum, nd->nd_mreq, &nd->nd_mrep, timo); in newnfs_request()
988 nd->nd_mreq, &nd->nd_mrep, timo); in newnfs_request()
1606 newnfs_msleep(struct thread *td, void *ident, struct mtx *mtx, int priority, char *wmesg, int timo) in newnfs_msleep() argument
1612 return msleep(ident, mtx, priority, wmesg, timo); in newnfs_msleep()
1616 error = msleep(ident, mtx, priority, wmesg, timo); in newnfs_msleep()