/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 184 int timeo, mustflush; in ncl_getattrcache() local 194 timeo = (time_second - np->n_mtime.tv_sec) / 10; in ncl_getattrcache() 198 printf("ncl_getattrcache: initial timeo = %d\n", timeo); in ncl_getattrcache() 202 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) in ncl_getattrcache() 203 timeo = nmp->nm_acdirmin; in ncl_getattrcache() 204 else if (timeo > nmp->nm_acdirmax) in ncl_getattrcache() 205 timeo = nmp->nm_acdirmax; in ncl_getattrcache() 207 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) in ncl_getattrcache() 208 timeo = nmp->nm_acregmin; in ncl_getattrcache() 209 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() 660 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) { in nfs_decode_args() 661 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args() 913 .timeo = 10, in nfs_mount() 1181 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount() 1182 if (ret != 1 || args.timeo <= 0) { in nfs_mount() 1191 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount() 1192 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
|
/freebsd/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()
|
/freebsd/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()
|
/freebsd/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 …]
|
/freebsd/sys/rpc/rpcsec_tls/ |
H A D | rpctls_impl.c | 155 struct timeval timeo; in sys_rpctls_syscall() local 231 timeo.tv_sec = 15; in sys_rpctls_syscall() 232 timeo.tv_usec = 0; in sys_rpctls_syscall() 233 CLNT_CONTROL(cl, CLSET_TIMEOUT, &timeo); in sys_rpctls_syscall() 288 timeo.tv_sec = 15; in sys_rpctls_syscall() 289 timeo.tv_usec = 0; in sys_rpctls_syscall() 290 CLNT_CONTROL(cl, CLSET_TIMEOUT, &timeo); in sys_rpctls_syscall()
|
/freebsd/sys/nfsclient/ |
H A D | nfsargs.h | 54 int timeo; /* initial timeout in .1 secs */ member
|
/freebsd/sys/nfs/ |
H A D | nfsdiskless.h | 84 int timeo; /* initial timeout in .1 secs */ member
|
/freebsd/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 | 676 int freeslot, maxslot, reterr, slotpos, timeo; in newnfs_request() local 944 timeo = nmp->nm_retry * nmp->nm_timeo / 2; in newnfs_request() 945 if (timeo < 1) in newnfs_request() 946 timeo = 1; in newnfs_request() 947 timo.tv_sec = timeo / NFS_HZ; in newnfs_request() 948 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
|
/freebsd/sys/sys/ |
H A D | bufobj.h | 135 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/perf/ |
H A D | nfs-sample.cfg | 40 NFS_OPTIONS+="nointr,timeo=600,proto=tcp,actimeo=0,port=2049"
|
/freebsd/share/doc/smm/18.net/ |
H A D | spell.ok | 282 timeo
|
/freebsd/tests/sys/opencrypto/ |
H A D | cryptodev.py | 297 def perftest(self, op, size, timeo=3): argument 322 signal.alarm(timeo)
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq.c | 931 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 D | oce_if.c | 2472 int i = 0, timeo = 0, num_wqes = 0; in oce_tx_compl_clean() local 2485 timeo = 0; in oce_tx_compl_clean() 2491 if (pending_txqs == 0 || ++timeo > 10 || sc->hw_error) in oce_tx_compl_clean()
|
/freebsd/sys/kern/ |
H A D | vfs_bio.c | 5223 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) in bufobj_wwait() argument 5233 slpflag | (PRIBIO + 1), "bo_wwait", timeo); in bufobj_wwait()
|