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

/freebsd-10-stable/contrib/amd/include/
H A Dnfs_common.h39 u_long timeo; member in struct:nfs_common_args
82 nap->timeo = a.timeo; \
95 a.timeo = nap->timeo; \
/freebsd-10-stable/sys/fs/nfsclient/
H A Dnfs_clsubs.c184 int timeo, mustflush; local
192 timeo = (time_second - np->n_mtime.tv_sec) / 10;
196 printf("ncl_getattrcache: initial timeo = %d\n", timeo);
200 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin)
201 timeo = nmp->nm_acdirmin;
202 else if (timeo > nmp->nm_acdirmax)
203 timeo = nmp->nm_acdirmax;
205 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin)
206 timeo
[all...]
H A Dnfs_clvfsops.c239 args->timeo = oargs->timeo;
616 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) {
617 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10;
738 "resvport", "readahead", "hostname", "timeo", "timeout", "addr", "fh",
769 .timeo = 10,
1010 if (vfs_getopt(mp->mnt_optnew, "timeo", (void **)&opt, NULL) == 0) {
1011 ret = sscanf(opt, "%d", &args.timeo);
1012 if (ret != 1 || args.timeo <= 0) {
1013 vfs_mount_error(mp, "illegal timeo
[all...]
/freebsd-10-stable/sys/nfs/
H A Dnfsdiskless.h85 int timeo; /* initial timeout in .1 secs */ member in struct:onfs_args
/freebsd-10-stable/contrib/amd/amd/
H A Dinfo_exec.c66 struct timeval timeo; local
97 timeo.tv_usec = 0;
100 timeo.tv_sec = 0;
102 timeo.tv_sec = secs - now;
113 rval = select(rdfd+1, &fds, NULL, NULL, &timeo);
/freebsd-10-stable/tests/sys/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-stable/tests/sys/kqueue/libkqueue/
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-stable/usr.sbin/rpc.lockd/
H A Dlock_proc.c343 struct timeval timeo; local
347 timeo.tv_sec = 0; /* No timeout - not expecting response */
348 timeo.tv_usec = 0;
351 (xdrproc_t)xdr_void, &dummy, timeo);
374 struct timeval timeo; local
378 timeo.tv_sec = 0; /* No timeout - not expecting response */
379 timeo.tv_usec = 0;
383 (xdrproc_t)xdr_void, &dummy, timeo);
484 struct timeval timeo; local
512 timeo
986 struct timeval timeo; local
[all...]
H A Dlockd_lock.c2195 struct timeval timeo; local
2214 timeo.tv_sec = 0;
2215 timeo.tv_usec = (fl->flags & LOCK_ASYNC) ? 0 : 500000; /* 0.5s */
2233 (xdrproc_t)xdr_void, &dummy, timeo);
2237 (xdrproc_t)xdr_nlm4_res, &retval4, timeo);
2256 (xdrproc_t)xdr_void, &dummy, timeo);
2260 (xdrproc_t)xdr_nlm_res, &retval, timeo);
/freebsd-10-stable/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-stable/sys/fs/nfs/
H A Dnfs_commonport.c258 int error, timeo; local
261 timeo = hz * ts->tv_sec;
265 timeo += (int)nsecval;
267 timeo = 0;
269 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo);
H A Dnfs_commonkrpc.c494 int freeslot, maxslot, reterr, slotpos, timeo; local
731 timeo = nmp->nm_retry * nmp->nm_timeo / 2;
732 if (timeo < 1)
733 timeo = 1;
734 timo.tv_sec = timeo / NFS_HZ;
735 timo.tv_usec = (timeo % NFS_HZ) * 1000000 /
/freebsd-10-stable/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-stable/sys/sys/
H A Dbufobj.h130 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
/freebsd-10-stable/contrib/amd/libamu/
H A Dmount_fs.c555 nap->timeo = hasmntval(mntp, MNTTAB_OPT_TIMEO);
557 if (nap->timeo)
657 plog(XLOG_DEBUG, "NA->timeo = %lu", a->timeo);
/freebsd-10-stable/sys/i386/ibcs2/
H A Dibcs2_misc.c310 na.timeo = sna.timeo;
/freebsd-10-stable/contrib/ntp/ntpq/
H A Dntpq.c898 int timeo
993 if (timeo)
999 if (timeo)
/freebsd-10-stable/sys/kern/
H A Dvfs_bio.c4490 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) argument
4500 slpflag | (PRIBIO + 1), "bo_wwait", timeo);

Completed in 262 milliseconds