| /src/sys/fs/nfsclient/ |
| H A D | nfs_clsubs.c | 179 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 D | nfs_clvfsops.c | 249 args->timeo = oargs->timeo; in nfs_convert_oargs() 662 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) { in nfs_decode_args() 663 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args() 915 .timeo = 10, in nfs_mount() 1184 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount() 1185 if (ret != 1 || args.timeo <= 0) { in nfs_mount() 1194 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount() 1195 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
|
| /src/tests/sys/kqueue/libkqueue/ |
| H A D | main.c | 31 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()
|
| /src/usr.sbin/rpc.lockd/ |
| H A D | lock_proc.c | 334 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 D | lockd_lock.c | 2169 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()
|
| /src/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp_zcopy.c | 244 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 …]
|
| /src/sys/nfsclient/ |
| H A D | nfsargs.h | 54 int timeo; /* initial timeout in .1 secs */ member
|
| /src/sys/nfs/ |
| H A D | nfsdiskless.h | 84 int timeo; /* initial timeout in .1 secs */ member
|
| /src/sys/fs/nfs/ |
| H A D | nfs_commonport.c | 273 int error, timeo; in nfsmsleep() local 276 timeo = hz * ts->tv_sec; in nfsmsleep() 280 timeo += (int)nsecval; in nfsmsleep() 282 timeo = 0; in nfsmsleep() 284 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); in nfsmsleep()
|
| H A D | nfs_commonkrpc.c | 677 int freeslot, maxslot, reterr, slotpos, timeo; in newnfs_request() local 945 timeo = nmp->nm_retry * nmp->nm_timeo / 2; in newnfs_request() 946 if (timeo < 1) in newnfs_request() 947 timeo = 1; in newnfs_request() 948 timo.tv_sec = timeo / NFS_HZ; in newnfs_request() 949 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
|
| /src/sys/sys/ |
| H A D | bufobj.h | 135 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
|
| /src/sys/contrib/openzfs/tests/zfs-tests/tests/perf/ |
| H A D | nfs-sample.cfg | 41 NFS_OPTIONS+="nointr,timeo=600,proto=tcp,actimeo=0,port=2049"
|
| /src/share/doc/smm/18.net/ |
| H A D | spell.ok | 282 timeo
|
| /src/tests/sys/opencrypto/ |
| H A D | cryptodev.py | 297 def perftest(self, op, size, timeo=3): argument 322 signal.alarm(timeo)
|
| /src/contrib/ntp/ntpq/ |
| H A D | ntpq.c | 931 int timeo in getresponse() argument 1026 if (timeo) in getresponse() 1032 if (timeo) in getresponse()
|
| /src/sys/dev/oce/ |
| H A D | oce_if.c | 2470 int i = 0, timeo = 0, num_wqes = 0; in oce_tx_compl_clean() local 2483 timeo = 0; in oce_tx_compl_clean() 2489 if (pending_txqs == 0 || ++timeo > 10 || sc->hw_error) in oce_tx_compl_clean()
|
| /src/sys/kern/ |
| H A D | vfs_bio.c | 5238 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) in bufobj_wwait() argument 5248 slpflag | PRIBIO, "bo_wwait", timeo); in bufobj_wwait()
|
| H A D | uipc_usrreq.c | 1092 uipc_stream_sbwait(struct socket *so, sbintime_t timeo) in uipc_stream_sbwait() argument 1099 "sbwait", timeo, 0, 0)); in uipc_stream_sbwait()
|