Home
last modified time | relevance | path

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

/freebsd/sys/fs/nfsclient/
H A Dnfs_clsubs.c179 int timeo, mustflush; in ncl_getattrcache() local
189 timeo = (time_second - np->n_mtime.tv_sec) / 10; in ncl_getattrcache()
193 printf("ncl_getattrcache: initial timeo = %d\n", timeo); in ncl_getattrcache()
197 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) in ncl_getattrcache()
198 timeo = nmp->nm_acdirmin; in ncl_getattrcache()
199 else if (timeo > nmp->nm_acdirmax) in ncl_getattrcache()
200 timeo = nmp->nm_acdirmax; in ncl_getattrcache()
202 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) in ncl_getattrcache()
203 timeo = nmp->nm_acregmin; in ncl_getattrcache()
204 else if (timeo > nmp->nm_acregmax) in ncl_getattrcache()
[all …]
H A Dnfs_clvfsops.c268 args->timeo = oargs->timeo; in nfs_convert_oargs()
684 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) { in nfs_decode_args()
685 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args()
937 .timeo = 10, in nfs_mount()
1208 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1209 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
1218 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1219 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
/freebsd/tests/sys/kqueue/libkqueue/
H A Dmain.c31 struct timespec timeo; in _test_no_kevents() local
36 memset(&timeo, 0, sizeof(timeo)); in _test_no_kevents()
37 nfds = kevent(kqfd, NULL, 0, &kev, 1, &timeo); in _test_no_kevents()
54 struct timespec timeo; in test_no_kevents_quietly() local
58 memset(&timeo, 0, sizeof(timeo)); in test_no_kevents_quietly()
59 nfds = kevent(kqfd, NULL, 0, &kev, 1, &timeo); in test_no_kevents_quietly()
/freebsd/usr.sbin/rpc.lockd/
H A Dlock_proc.c334 struct timeval timeo; in transmit_result() local
338 timeo.tv_sec = 0; /* No timeout - not expecting response */ in transmit_result()
339 timeo.tv_usec = 0; in transmit_result()
342 (xdrproc_t)xdr_void, &dummy, timeo); in transmit_result()
362 struct timeval timeo; in transmit4_result() local
366 timeo.tv_sec = 0; /* No timeout - not expecting response */ in transmit4_result()
367 timeo.tv_usec = 0; in transmit4_result()
371 (xdrproc_t)xdr_void, &dummy, timeo); in transmit4_result()
465 struct timeval timeo; in nlm_test_msg_1_svc() local
493 timeo.tv_sec = 0; /* No timeout - not expecting response */ in nlm_test_msg_1_svc()
[all …]
H A Dlockd_lock.c2169 struct timeval timeo; in send_granted() local
2188 timeo.tv_sec = 0; in send_granted()
2189 timeo.tv_usec = (fl->flags & LOCK_ASYNC) ? 0 : 500000; /* 0.5s */ in send_granted()
2207 (xdrproc_t)xdr_void, &dummy, timeo); in send_granted()
2211 (xdrproc_t)xdr_nlm4_res, &retval4, timeo); in send_granted()
2230 (xdrproc_t)xdr_void, &dummy, timeo); in send_granted()
2234 (xdrproc_t)xdr_nlm_res, &retval, timeo); in send_granted()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c244 long timeo = HZ * 5; /* Timeout for RDMA read */ in sdp_wait_rdma_wr_finished() local
261 if (!timeo) { in sdp_wait_rdma_wr_finished()
270 sk_wait_event(sk, &timeo, in sdp_wait_rdma_wr_finished()
644 struct iovec *iov, long *timeo) in do_sdp_sendmsg_zcopy() argument
658 rc = wait_for_sndbuf(sk, timeo); in do_sdp_sendmsg_zcopy()
671 rc = sdp_wait_rdmardcompl(ssk, timeo, 0); in do_sdp_sendmsg_zcopy()
686 *timeo = 2 * HZ; in do_sdp_sendmsg_zcopy()
688 sdp_wait_rdmardcompl(ssk, timeo, 1); in do_sdp_sendmsg_zcopy()
717 long timeo; in sdp_sendmsg_zcopy() local
735 timeo = SDP_SRCAVAIL_ADV_TIMEOUT ; in sdp_sendmsg_zcopy()
[all …]
/freebsd/sys/nfsclient/
H A Dnfsargs.h54 int timeo; /* initial timeout in .1 secs */ member
/freebsd/sys/nfs/
H A Dnfsdiskless.h84 int timeo; /* initial timeout in .1 secs */ member
/freebsd/sys/fs/nfs/
H A Dnfs_commonport.c270 int error, timeo; in nfsmsleep() local
273 timeo = hz * ts->tv_sec; in nfsmsleep()
277 timeo += (int)nsecval; in nfsmsleep()
279 timeo = 0; in nfsmsleep()
281 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); in nfsmsleep()
H A Dnfs_commonkrpc.c723 int freeslot, maxslot, reterr, slotpos, timeo; in newnfs_request() local
1001 timeo = nmp->nm_retry * nmp->nm_timeo / 2; in newnfs_request()
1002 if (timeo < 1) in newnfs_request()
1003 timeo = 1; in newnfs_request()
1004 timo.tv_sec = timeo / NFS_HZ; in newnfs_request()
1005 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
/freebsd/sys/sys/
H A Dbufobj.h135 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/perf/
H A Dnfs-sample.cfg41 NFS_OPTIONS+="nointr,timeo=600,proto=tcp,actimeo=0,port=2049"
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller94.sh115 // bytes) readdirsize: int32 = 0x9 (4 bytes) timeo: int32 = 0x3 (4
H A Dsyzkaller98.sh116 // timeo: int32 = 0x8 (4 bytes)
/freebsd/share/doc/smm/18.net/
H A Dspell.ok282 timeo
/freebsd/tests/sys/opencrypto/
H A Dcryptodev.py297 def perftest(self, op, size, timeo=3): argument
322 signal.alarm(timeo)
/freebsd/contrib/ntp/ntpq/
H A Dntpq.c931 int timeo in getresponse()
1026 if (timeo) in getresponse()
1032 if (timeo) in getresponse()
935 getresponse(int opcode,int associd,u_short * rstatus,size_t * rsize,const char ** rdata,int timeo) getresponse() argument
/freebsd/sys/dev/oce/
H A Doce_if.c2470 int i = 0, timeo = 0, num_wqes = 0; in oce_tx_compl_clean()
2483 timeo = 0; in oce_tx_compl_clean()
2489 if (pending_txqs == 0 || ++timeo > 10 || sc->hw_error) in oce_tx_compl_clean()
2472 int i = 0, timeo = 0, num_wqes = 0; oce_tx_compl_clean() local
/freebsd/sys/kern/
H A Dvfs_bio.c5240 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) in bufobj_wwait() argument
5250 slpflag | PRIBIO, "bo_wwait", timeo); in bufobj_wwait()
H A Duipc_usrreq.c1120 uipc_stream_sbwait(struct socket *so, sbintime_t timeo) in uipc_stream_sbwait() argument
1127 "sbwait", timeo, 0, 0)); in uipc_stream_sbwait()