Home
last modified time | relevance | path

Searched refs:timeo (Results 1 – 25 of 25) sorted by relevance

/freebsd-11-stable/sys/fs/nfsclient/
HDnfs_clsubs.c185 int timeo, mustflush; in ncl_getattrcache() local
193 timeo = (time_second - np->n_mtime.tv_sec) / 10; in ncl_getattrcache()
197 printf("ncl_getattrcache: initial timeo = %d\n", timeo); in ncl_getattrcache()
201 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) in ncl_getattrcache()
202 timeo = nmp->nm_acdirmin; in ncl_getattrcache()
203 else if (timeo > nmp->nm_acdirmax) in ncl_getattrcache()
204 timeo = nmp->nm_acdirmax; in ncl_getattrcache()
206 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) in ncl_getattrcache()
207 timeo = nmp->nm_acregmin; in ncl_getattrcache()
208 else if (timeo > nmp->nm_acregmax) in ncl_getattrcache()
[all …]
HDnfs_clvfsops.c243 args->timeo = oargs->timeo; in nfs_convert_oargs()
611 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) { in nfs_decode_args()
612 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args()
864 .timeo = 10, in nfs_mount()
1110 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1111 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
1120 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1121 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
/freebsd-11-stable/tests/sys/kqueue/libkqueue/
HDmain.c42 struct timespec timeo; in test_no_kevents() local
47 memset(&timeo, 0, sizeof(timeo)); in test_no_kevents()
48 nfds = kevent(kqfd, NULL, 0, &kev, 1, &timeo); in test_no_kevents()
65 struct timespec timeo; in test_no_kevents_quietly() local
69 memset(&timeo, 0, sizeof(timeo)); in test_no_kevents_quietly()
70 nfds = kevent(kqfd, NULL, 0, &kev, 1, &timeo); in test_no_kevents_quietly()
/freebsd-11-stable/contrib/amd/include/
HDnfs_common.h39 u_long timeo; member
82 nap->timeo = a.timeo; \
95 a.timeo = nap->timeo; \
/freebsd-11-stable/usr.sbin/rpc.lockd/
HDlock_proc.c333 struct timeval timeo; in transmit_result() local
337 timeo.tv_sec = 0; /* No timeout - not expecting response */ in transmit_result()
338 timeo.tv_usec = 0; in transmit_result()
341 (xdrproc_t)xdr_void, &dummy, timeo); in transmit_result()
361 struct timeval timeo; in transmit4_result() local
365 timeo.tv_sec = 0; /* No timeout - not expecting response */ in transmit4_result()
366 timeo.tv_usec = 0; in transmit4_result()
370 (xdrproc_t)xdr_void, &dummy, timeo); in transmit4_result()
464 struct timeval timeo; in nlm_test_msg_1_svc() local
492 timeo.tv_sec = 0; /* No timeout - not expecting response */ in nlm_test_msg_1_svc()
[all …]
HDlockd_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-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
HDsdp_zcopy.c242 long timeo = HZ * 5; /* Timeout for for RDMA read */ in sdp_wait_rdma_wr_finished() local
259 if (!timeo) { in sdp_wait_rdma_wr_finished()
268 sk_wait_event(sk, &timeo, in sdp_wait_rdma_wr_finished()
642 struct iovec *iov, long *timeo) in do_sdp_sendmsg_zcopy() argument
656 rc = wait_for_sndbuf(sk, timeo); in do_sdp_sendmsg_zcopy()
669 rc = sdp_wait_rdmardcompl(ssk, timeo, 0); in do_sdp_sendmsg_zcopy()
684 *timeo = 2 * HZ; in do_sdp_sendmsg_zcopy()
686 sdp_wait_rdmardcompl(ssk, timeo, 1); in do_sdp_sendmsg_zcopy()
715 long timeo; in sdp_sendmsg_zcopy() local
733 timeo = SDP_SRCAVAIL_ADV_TIMEOUT ; in sdp_sendmsg_zcopy()
[all …]
/freebsd-11-stable/contrib/amd/amd/
HDinfo_exec.c66 struct timeval timeo; in fgets_timed() local
97 timeo.tv_usec = 0; in fgets_timed()
100 timeo.tv_sec = 0; in fgets_timed()
102 timeo.tv_sec = secs - now; in fgets_timed()
113 rval = select(rdfd+1, &fds, NULL, NULL, &timeo); in fgets_timed()
/freebsd-11-stable/sys/fs/nfs/
HDnfs_commonport.c258 int error, timeo; in nfsmsleep() local
261 timeo = hz * ts->tv_sec; in nfsmsleep()
265 timeo += (int)nsecval; in nfsmsleep()
267 timeo = 0; in nfsmsleep()
269 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); in nfsmsleep()
HDnfs_commonkrpc.c493 int freeslot, maxslot, reterr, slotpos, timeo; in newnfs_request() local
730 timeo = nmp->nm_retry * nmp->nm_timeo / 2; in newnfs_request()
731 if (timeo < 1) in newnfs_request()
732 timeo = 1; in newnfs_request()
733 timo.tv_sec = timeo / NFS_HZ; in newnfs_request()
734 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
/freebsd-11-stable/sys/nfsclient/
HDnfsargs.h55 int timeo; /* initial timeout in .1 secs */ member
/freebsd-11-stable/sys/nfs/
HDnfsdiskless.h85 int timeo; /* initial timeout in .1 secs */ member
/freebsd-11-stable/sys/sys/
HDbufobj.h136 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
/freebsd-11-stable/share/doc/smm/18.net/
HDspell.ok282 timeo
/freebsd-11-stable/tests/sys/opencrypto/
HDcryptodev.py258 def perftest(self, op, size, timeo=3): argument
285 signal.alarm(timeo)
/freebsd-11-stable/contrib/amd/libamu/
HDmount_fs.c555 nap->timeo = hasmntval(mntp, MNTTAB_OPT_TIMEO); in compute_nfs_common_args()
557 if (nap->timeo) in compute_nfs_common_args()
657 plog(XLOG_DEBUG, "NA->timeo = %lu", a->timeo); in print_nfs_common_args()
/freebsd-11-stable/sys/i386/ibcs2/
HDibcs2_misc.c288 na.timeo = sna.timeo; in ibcs2_mount()
/freebsd-11-stable/contrib/ntp/ntpq/
HDntpq.c902 int timeo in getresponse() argument
997 if (timeo) in getresponse()
1003 if (timeo) in getresponse()
/freebsd-11-stable/sys/dev/oce/
HDoce_if.c2546 int i = 0, timeo = 0, num_wqes = 0; in oce_tx_compl_clean() local
2559 timeo = 0; in oce_tx_compl_clean()
2565 if (pending_txqs == 0 || ++timeo > 10 || sc->hw_error) in oce_tx_compl_clean()
/freebsd-11-stable/contrib/amd/
HDBUGS47 …mnt.mnt_opts = "intr,rw,port=1023,timeo=8,foo=br,retrans=110,indirect,map=/usr/local/AMD/etc/amd.p…
HDAUTHORS352 January 10, 2002: Proper initialization of the timeo parameter on Linux, TCP
HDNEWS59 nfs_retransmit_counter, and allow you to set the "timeo" and "retrans" NFS
247 * set timeo/retrans for type:=nfs only if user asked
328 * timeo and retrans shouldn't be set for type:=toplvl
398 nfs_retransmit_counter, which allow you to set the "timeo" and "retrans"
HDChangeLog660 timeo/retrans parameters for Amd's toplvl mounts, separately from
663 * amd/amd.h: define a new timeo/retrans parameter for toplvl
2233 * amd/ops_nfs.c (mount_nfs_fh): set timeo/retrans mount options
2238 * amd/get_args.c (get_args): negative timeo/retrans are "good" in
2244 specify timeo/retrans at all.
2579 * amd/amfs_toplvl.c (amfs_toplvl_mount): do NOT set retrans/timeo
3111 * amd/ops_nfs.c (mount_nfs_fh): set timeo/retrans values based on
3114 * amd/amfs_toplvl.c (amfs_toplvl_mount): set retrans/timeo values
3118 both UDP and TCP timeo/retrans values.
3123 retrans/timeo parameters separately.
[all …]
/freebsd-11-stable/sys/kern/
HDvfs_bio.c4701 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) in bufobj_wwait() argument
4711 slpflag | (PRIBIO + 1), "bo_wwait", timeo); in bufobj_wwait()
/freebsd-11-stable/contrib/amd/doc/
HDam-utils.texi2380 @item timeo=@var{n}
2381 @cindex Mount flags; timeo
2816 set the @samp{timeo} and @samp{retrans} mount options, respectively.
8323 wire==slip-net;opts:=rw,intr,rsize=1024,wsize=1024,timeo=20,retrans=10 \
8717 @c LocalWords: rsize tcp timeo nounmount utimeout DDEBUG nodaemon fd hostnames