Searched refs:timeo (Results 1 - 7 of 7) sorted by relevance

/xnu-2422.115.4/bsd/nfs/
H A Dnfs_lock.c415 int timeo, starttime, endtime, lastmsg, wentdown = 0; local
444 timeo = 4;
477 endtime = now.tv_sec + timeo;
590 timeo = 2;
629 timeo = 2;
638 timeo *= 2;
639 if (timeo > 30)
640 timeo = 30;
663 timeo = 30;
H A Dnfs_socket.c590 struct timeval timeo; local
593 timeo.tv_usec = 0;
594 timeo.tv_sec = (NMFLAG(nmp, SOFT) || nfs_can_squish(nmp)) ? 5 : 60;
595 sock_setsockopt(nso->nso_so, SOL_SOCKET, SO_RCVTIMEO, &timeo, sizeof(timeo));
596 sock_setsockopt(nso->nso_so, SOL_SOCKET, SO_SNDTIMEO, &timeo, sizeof(timeo));
1050 nfs_connect(struct nfsmount *nmp, int verbose, int timeo) argument
1101 nss.nss_timeo = timeo;
1235 (nso->nso_sotype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP, timeo);
1617 int timeo; local
2058 struct timeval timeo; local
2289 struct timeval timeo, now; local
4633 int timeo, maxtime, finish_asyncio, error; local
4983 nfs_aux_request( struct nfsmount *nmp, thread_t thd, struct sockaddr *saddr, socket_t so, int sotype, mbuf_t mreq, uint32_t xid, int bindresv, int timeo, struct nfsm_chain *nmrep) argument
5155 nfs_portmap_lookup( struct nfsmount *nmp, vfs_context_t ctx, struct sockaddr *sa, socket_t so, uint32_t protocol, uint32_t vers, uint32_t ipproto, int timeo) argument
5357 int timeo = (nfs_squishy_flags & NFS_SQUISH_QUICK) ? NFS_SQUISHY_QUICKTIMEOUT : NFS_SQUISHY_DEADTIMEOUT; local
[all...]
H A Dnfs_syscalls.c738 struct timeval timeo; local
777 timeo.tv_usec = 0;
778 timeo.tv_sec = 1;
779 error |= sock_setsockopt(so, SOL_SOCKET, SO_RCVTIMEO, &timeo, sizeof(timeo));
780 timeo.tv_sec = 30;
781 error |= sock_setsockopt(so, SOL_SOCKET, SO_SNDTIMEO, &timeo, sizeof(timeo));
H A Dnfs_subs.c1625 uint32_t timeo; local
1634 timeo = isdir ? nmp->nm_acdirmax : nmp->nm_acregmax;
1637 timeo = isdir ? nmp->nm_acdirmin : nmp->nm_acregmin;
1643 timeo = (now.tv_sec - (np)->n_vattr.nva_timesec[NFSTIME_MODIFY]) / 10;
1645 if (timeo < nmp->nm_acdirmin)
1646 timeo = nmp->nm_acdirmin;
1647 else if (timeo > nmp->nm_acdirmax)
1648 timeo = nmp->nm_acdirmax;
1650 if (timeo < nmp->nm_acregmin)
1651 timeo
1671 int32_t timeo; local
[all...]
H A Dnfs_vfsops.c1509 args.timeo = tempargs.timeo;
1653 if ((args.flags & NFSMNT_TIMEO) && (args.timeo > 0))
1749 xb_add_32(error, &xb, args.timeo/10);
1750 xb_add_32(error, &xb, (args.timeo%10)*100000000);
2513 int done = 0, timeo, tries, maxtries; local
2516 timeo = 8;
2519 timeo = 30;
2524 error = nfs_connect(nmp, 1, timeo);
3949 nfs3_mount_rpc(struct nfsmount *nmp, struct sockaddr *sa, int sotype, int nfsvers, char *path, vfs_context_t ctx, int timeo, fhandle_ argument
4032 nfs3_umount_rpc(struct nfsmount *nmp, vfs_context_t ctx, int timeo) argument
4464 int error = 0, slen, timeo; local
4835 int i, timeo, error = 0; local
[all...]
H A Dnfs.h239 int timeo; /* initial timeout in .1 secs */ member in struct:nfs_args
283 int timeo; /* initial timeout in .1 secs */ member in struct:user_nfs_args
H A Dnfs_gss.c1167 int timeo = NFS_TRYLATERDEL; local
1179 waituntil = now.tv_sec + timeo;
1195 timeo *= 2;
1196 if (timeo > 60)
1197 timeo = 60;

Completed in 86 milliseconds