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

/freebsd-10.0-release/sys/fs/nfsclient/
H A Dnfs_clsubs.c196 int timeo, mustflush; local
207 timeo = (time_second - np->n_mtime.tv_sec) / 10;
211 ncl_printf("nfs_getattrcache: initial timeo = %d\n", timeo);
215 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin)
216 timeo = nmp->nm_acdirmin;
217 else if (timeo > nmp->nm_acdirmax)
218 timeo = nmp->nm_acdirmax;
220 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin)
221 timeo
[all...]
H A Dnfs_clvfsops.c237 args->timeo = oargs->timeo;
608 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) {
609 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10;
750 .timeo = 10,
970 ret = sscanf(opt, "%d", &args.timeo);
971 if (ret != 1 || args.timeo <= 0) {
/freebsd-10.0-release/sys/nfs/
H A Dnfsdiskless.h85 int timeo; /* initial timeout in .1 secs */ member in struct:onfs_args
/freebsd-10.0-release/tools/regression/kqueue/
H A Dmain.c42 struct timespec timeo; local
46 memset(&timeo, 0, sizeof(timeo));
47 nfds = kevent(kqfd, NULL, 0, &kev, 1, &timeo);
/freebsd-10.0-release/contrib/amd/amd/
H A Dinfo_exec.c70 struct timeval timeo; local
101 timeo.tv_usec = 0;
104 timeo.tv_sec = 0;
106 timeo.tv_sec = secs - now;
117 rval = select(rdfd+1, &fds, 0, 0, &timeo);
/freebsd-10.0-release/sys/nfsclient/
H A Dnfsargs.h55 int timeo; /* initial timeout in .1 secs */ member in struct:nfs_args
H A Dnfs_subs.c677 int timeo; local
687 timeo = (time_second - np->n_mtime.tv_sec) / 10;
691 nfs_printf("nfs_getattrcache: initial timeo = %d\n", timeo);
695 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin)
696 timeo = nmp->nm_acdirmin;
697 else if (timeo > nmp->nm_acdirmax)
698 timeo = nmp->nm_acdirmax;
700 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin)
701 timeo
[all...]
H A Dnfs_krpc.c439 int error = 0, timeo; local
524 timeo = nmp->nm_retry * nmp->nm_timeo / 2;
525 if (timeo < 1)
526 timeo = 1;
527 timo.tv_sec = timeo / NFS_HZ;
528 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / NFS_HZ;
H A Dnfs_vfsops.c232 args->timeo = oargs->timeo;
645 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) {
646 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10;
820 .timeo = 10,
1045 ret = sscanf(opt, "%d", &args.timeo);
1046 if (ret != 1 || args.timeo <= 0) {
/freebsd-10.0-release/usr.sbin/rpc.lockd/
H A Dlock_proc.c337 struct timeval timeo; local
341 timeo.tv_sec = 0; /* No timeout - not expecting response */
342 timeo.tv_usec = 0;
345 (xdrproc_t)xdr_void, &dummy, timeo);
368 struct timeval timeo; local
372 timeo.tv_sec = 0; /* No timeout - not expecting response */
373 timeo.tv_usec = 0;
377 (xdrproc_t)xdr_void, &dummy, timeo);
478 struct timeval timeo; local
506 timeo
980 struct timeval timeo; local
[all...]
H A Dlockd_lock.c2193 struct timeval timeo; local
2212 timeo.tv_sec = 0;
2213 timeo.tv_usec = (fl->flags & LOCK_ASYNC) ? 0 : 500000; /* 0.5s */
2231 (xdrproc_t)xdr_void, &dummy, timeo);
2235 (xdrproc_t)xdr_nlm4_res, &retval4, timeo);
2254 (xdrproc_t)xdr_void, &dummy, timeo);
2258 (xdrproc_t)xdr_nlm_res, &retval, timeo);
/freebsd-10.0-release/sys/fs/nfs/
H A Dnfs_commonport.c252 int error, timeo; local
255 timeo = hz * ts->tv_sec;
259 timeo += (int)nsecval;
261 timeo = 0;
263 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo);
H A Dnfs_commonkrpc.c481 int freeslot, timeo; local
715 timeo = nmp->nm_retry * nmp->nm_timeo / 2;
716 if (timeo < 1)
717 timeo = 1;
718 timo.tv_sec = timeo / NFS_HZ;
719 timo.tv_usec = (timeo % NFS_HZ) * 1000000 /
/freebsd-10.0-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c158 sdp_dbg_data(sk, "sleep till RdmaRdCompl. timeo = %ld.\n", *timeo_p);
242 long timeo = HZ * 5; /* Timeout for for RDMA read */ local
259 if (!timeo) {
268 sk_wait_event(sk, &timeo,
642 struct iovec *iov, long *timeo)
656 rc = wait_for_sndbuf(sk, timeo);
669 rc = sdp_wait_rdmardcompl(ssk, timeo, 0);
684 *timeo = 2 * HZ;
686 sdp_wait_rdmardcompl(ssk, timeo, 1);
715 long timeo; local
641 do_sdp_sendmsg_zcopy(struct socket *sk, struct tx_srcavail_state *tx_sa, struct iovec *iov, long *timeo) argument
[all...]
/freebsd-10.0-release/sys/sys/
H A Dbufobj.h129 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
/freebsd-10.0-release/contrib/amd/libamu/
H A Dmount_fs.c665 nap->timeo = hasmntval(mntp, MNTTAB_OPT_TIMEO);
667 if (nap->timeo)
982 plog(XLOG_DEBUG, "NA->timeo = %d", (int) nap->timeo);
/freebsd-10.0-release/sbin/mount_nfs/
H A Dmount_nfs.c489 .timeo = 10,
630 ret = sscanf(opt, "%d", &args.timeo);
631 if (ret != 1 || args.timeo <= 0) {
638 if (ret != 1 || args.timeo <= 0) {
/freebsd-10.0-release/contrib/ntp/ntpq/
H A Dntpq.c832 int timeo
886 if (timeo)
892 if (timeo)
/freebsd-10.0-release/sys/i386/ibcs2/
H A Dibcs2_misc.c296 na.timeo = sna.timeo;
/freebsd-10.0-release/sys/kern/
H A Dvfs_bio.c4416 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) argument
4426 slpflag | (PRIBIO + 1), "bo_wwait", timeo);

Completed in 292 milliseconds