Home
last modified time | relevance | path

Searched refs:NFS_HZ (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/nfsclient/
H A Dnfs.h49 #define NFS_HZ (hz / nfs_ticks) /* Ticks/sec */ macro
50 #define NFS_TIMEO (1 * NFS_HZ) /* Default timeout = 1 second */
51 #define NFS_MINTIMEO (1 * NFS_HZ) /* Min timeout to use */
52 #define NFS_MAXTIMEO (60 * NFS_HZ) /* Max timeout to backoff to */
53 #define NFS_MINIDEMTIMEO (5 * NFS_HZ) /* Min timeout for non-idempotent ops*/
220 #define NFS_MINRTO (NFS_HZ >> 2)
226 #define NFS_MAXRTO (20 * NFS_HZ)
237 #define NFS_INITRTT (NFS_HZ << 3)
/freebsd/sys/nfsserver/
H A Dnfs.h49 #define NFS_HZ (hz / nfs_ticks) /* Ticks/sec */ macro
50 #define NFS_TIMEO (1 * NFS_HZ) /* Default timeout = 1 second */
51 #define NFS_MINTIMEO (1 * NFS_HZ) /* Min timeout to use */
52 #define NFS_MAXTIMEO (60 * NFS_HZ) /* Max timeout to backoff to */
53 #define NFS_MINIDEMTIMEO (5 * NFS_HZ) /* Min timeout for non-idempotent ops*/
/freebsd/sys/fs/nfs/
H A Dnfs.h43 #define NFS_HZ (hz / nfscl_ticks) /* Ticks/sec */ macro
44 #define NFS_TIMEO (1 * NFS_HZ) /* Default timeout = 1 second */
45 #define NFS_MINTIMEO (1 * NFS_HZ) /* Min timeout to use */
46 #define NFS_MAXTIMEO (60 * NFS_HZ) /* Max timeout to backoff to */
49 #define NFS_MINIDEMTIMEO (5 * NFS_HZ) /* Min timeout for non-idempotent ops*/
56 #define NFSV4_UPCALLTIMEO (15 * NFS_HZ) /* Timeout in ticks for upcalls */
H A Dnfs_commonkrpc.c502 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()
947 timo.tv_sec = timeo / NFS_HZ; in newnfs_request()
948 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
949 NFS_HZ; in newnfs_request()
952 timo.tv_sec = NFS_MAXTIMEO / NFS_HZ; in newnfs_request()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clvfsops.c661 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args()
2150 timeop->tv_sec = nmp->nm_timeo / NFS_HZ; in nfs_getnlminfo()
2151 timeop->tv_usec = (nmp->nm_timeo % NFS_HZ) * (1000000 / NFS_HZ); in nfs_getnlminfo()