Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/fs/nfsclient/
Dnfs_clsubs.c187 int timeo, mustflush; in ncl_getattrcache() local
197 timeo = (time_second - np->n_mtime.tv_sec) / 10; in ncl_getattrcache()
201 printf("ncl_getattrcache: initial timeo = %d\n", timeo); in ncl_getattrcache()
205 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) in ncl_getattrcache()
206 timeo = nmp->nm_acdirmin; in ncl_getattrcache()
207 else if (timeo > nmp->nm_acdirmax) in ncl_getattrcache()
208 timeo = nmp->nm_acdirmax; in ncl_getattrcache()
210 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) in ncl_getattrcache()
211 timeo = nmp->nm_acregmin; in ncl_getattrcache()
212 else if (timeo > nmp->nm_acregmax) in ncl_getattrcache()
[all …]
Dnfs_clvfsops.c247 args->timeo = oargs->timeo; in nfs_convert_oargs()
615 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) { in nfs_decode_args()
616 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args()
868 .timeo = 10, in nfs_mount()
1114 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1115 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
1124 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1125 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
/freebsd-12-stable/contrib/amd/include/
Dnfs_common.h39 u_long timeo; member
82 nap->timeo = a.timeo; \
95 a.timeo = nap->timeo; \
/freebsd-12-stable/tests/sys/kqueue/libkqueue/
Dmain.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-12-stable/usr.sbin/rpc.lockd/
Dlock_proc.c335 struct timeval timeo; in transmit_result() local
339 timeo.tv_sec = 0; /* No timeout - not expecting response */ in transmit_result()
340 timeo.tv_usec = 0; in transmit_result()
343 (xdrproc_t)xdr_void, &dummy, timeo); in transmit_result()
363 struct timeval timeo; in transmit4_result() local
367 timeo.tv_sec = 0; /* No timeout - not expecting response */ in transmit4_result()
368 timeo.tv_usec = 0; in transmit4_result()
372 (xdrproc_t)xdr_void, &dummy, timeo); in transmit4_result()
466 struct timeval timeo; in nlm_test_msg_1_svc() local
494 timeo.tv_sec = 0; /* No timeout - not expecting response */ in nlm_test_msg_1_svc()
[all …]
Dlockd_lock.c2197 struct timeval timeo; local
2216 timeo.tv_sec = 0;
2217 timeo.tv_usec = (fl->flags & LOCK_ASYNC) ? 0 : 500000; /* 0.5s */
2235 (xdrproc_t)xdr_void, &dummy, timeo);
2239 (xdrproc_t)xdr_nlm4_res, &retval4, timeo);
2258 (xdrproc_t)xdr_void, &dummy, timeo);
2262 (xdrproc_t)xdr_nlm_res, &retval, timeo);
/freebsd-12-stable/sys/ofed/drivers/infiniband/ulp/sdp/
Dsdp_zcopy.c244 long timeo = HZ * 5; /* Timeout for 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-12-stable/contrib/amd/amd/
Dinfo_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-12-stable/sys/mips/ingenic/
Djz4780_smb.c234 int timeo; in jzsmb_transfer_read() local
237 timeo = JZSMB_TIMEOUT * msg->len; in jzsmb_transfer_read()
259 if (tstohz(&diff) >= timeo) { in jzsmb_transfer_read()
281 int timeo; in jzsmb_transfer_write() local
284 timeo = JZSMB_TIMEOUT * msg->len; in jzsmb_transfer_write()
304 if (tstohz(&diff) >= timeo) { in jzsmb_transfer_write()
/freebsd-12-stable/sys/fs/nfs/
Dnfs_commonport.c271 int error, timeo; in nfsmsleep() local
274 timeo = hz * ts->tv_sec; in nfsmsleep()
278 timeo += (int)nsecval; in nfsmsleep()
280 timeo = 0; in nfsmsleep()
282 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); in nfsmsleep()
Dnfs_commonkrpc.c550 int freeslot, maxslot, reterr, slotpos, timeo; in newnfs_request() local
791 timeo = nmp->nm_retry * nmp->nm_timeo / 2; in newnfs_request()
792 if (timeo < 1) in newnfs_request()
793 timeo = 1; in newnfs_request()
794 timo.tv_sec = timeo / NFS_HZ; in newnfs_request()
795 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
/freebsd-12-stable/sys/nfsclient/
Dnfsargs.h57 int timeo; /* initial timeout in .1 secs */ member
/freebsd-12-stable/sys/nfs/
Dnfsdiskless.h87 int timeo; /* initial timeout in .1 secs */ member
/freebsd-12-stable/sys/sys/
Dbufobj.h135 int bufobj_wwait(struct bufobj *bo, int slpflag, int timeo);
/freebsd-12-stable/share/doc/smm/18.net/
Dspell.ok282 timeo
/freebsd-12-stable/tests/sys/opencrypto/
Dcryptodev.py274 def perftest(self, op, size, timeo=3): argument
302 signal.alarm(timeo)
/freebsd-12-stable/contrib/amd/libamu/
Dmount_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-12-stable/sys/i386/ibcs2/
Dibcs2_misc.c290 na.timeo = sna.timeo; in ibcs2_mount()
/freebsd-12-stable/contrib/ntp/ntpq/
Dntpq.c935 int timeo in getresponse() argument
1030 if (timeo) in getresponse()
1036 if (timeo) in getresponse()
/freebsd-12-stable/sys/dev/oce/
Doce_if.c2550 int i = 0, timeo = 0, num_wqes = 0; in oce_tx_compl_clean() local
2563 timeo = 0; in oce_tx_compl_clean()
2569 if (pending_txqs == 0 || ++timeo > 10 || sc->hw_error) in oce_tx_compl_clean()
/freebsd-12-stable/contrib/amd/
DBUGS47 …mnt.mnt_opts = "intr,rw,port=1023,timeo=8,foo=br,retrans=110,indirect,map=/usr/local/AMD/etc/amd.p…
DAUTHORS352 January 10, 2002: Proper initialization of the timeo parameter on Linux, TCP
DNEWS59 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"
DChangeLog660 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-12-stable/sys/kern/
Dvfs_bio.c5055 bufobj_wwait(struct bufobj *bo, int slpflag, int timeo) in bufobj_wwait() argument
5065 slpflag | (PRIBIO + 1), "bo_wwait", timeo); in bufobj_wwait()

12