Home
last modified time | relevance | path

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

123

/netbsd/sys/arch/hpcmips/stand/lcboot/
H A Dif_cs.c113 int timeo; in cs_get_eeprom() local
115 for (timeo = MAXLOOP; timeo > 0; timeo--) { in cs_get_eeprom()
120 if (timeo == 0) in cs_get_eeprom()
125 for (timeo = MAXLOOP; timeo > 0; timeo--) { in cs_get_eeprom()
130 if (timeo == 0) in cs_get_eeprom()
234 int timeo; in cs_put() local
241 for (timeo = 1000000; timeo > 0; timeo--) { in cs_put()
245 if (timeo == 0) in cs_put()
/netbsd/sys/fs/nfs/client/
H A Dnfs_clsubs.c184 int timeo, mustflush; in ncl_getattrcache() local
192 timeo = (time_second - np->n_mtime.tv_sec) / 10; in ncl_getattrcache()
196 printf("ncl_getattrcache: initial timeo = %d\n", timeo); in ncl_getattrcache()
201 timeo = nmp->nm_acdirmin; in ncl_getattrcache()
202 else if (timeo > nmp->nm_acdirmax) in ncl_getattrcache()
203 timeo = nmp->nm_acdirmax; in ncl_getattrcache()
206 timeo = nmp->nm_acregmin; in ncl_getattrcache()
207 else if (timeo > nmp->nm_acregmax) in ncl_getattrcache()
208 timeo = nmp->nm_acregmax; in ncl_getattrcache()
219 (time_second - np->n_attrstamp), timeo); in ncl_getattrcache()
[all …]
H A Dnfs_clvfsops.c246 args->timeo = oargs->timeo; in nfs_convert_oargs()
617 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) { in nfs_decode_args()
618 nmp->nm_timeo = (argp->timeo * NFS_HZ + 5) / 10; in nfs_decode_args()
866 .timeo = 10, in nfs_mount()
1109 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1110 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
1119 ret = sscanf(opt, "%d", &args.timeo); in nfs_mount()
1120 if (ret != 1 || args.timeo <= 0) { in nfs_mount()
/netbsd/external/bsd/am-utils/dist/include/
H A Dnfs_common.h41 u_long timeo; member
84 nap->timeo = a.timeo; \
97 a.timeo = nap->timeo; \
/netbsd/usr.sbin/rpc.lockd/
H A Dlock_proc.c269 struct timeval timeo; in transmit_result() local
274 timeo.tv_usec = 0; in transmit_result()
277 result, xdr_void, &dummy, timeo); in transmit_result()
297 struct timeval timeo; in transmit4_result() local
302 timeo.tv_usec = 0; in transmit4_result()
305 result, xdr_void, &dummy, timeo); in transmit4_result()
399 struct timeval timeo; in nlm_test_msg_1_svc() local
430 timeo.tv_usec = 0; in nlm_test_msg_1_svc()
433 &result, xdr_void, &dummy, timeo); in nlm_test_msg_1_svc()
844 struct timeval timeo; in nlm4_test_msg_4_svc() local
[all …]
H A Dlockd_lock.c615 struct timeval timeo; in send_granted() local
632 timeo.tv_sec = 0; in send_granted()
633 timeo.tv_usec = (fl->flags & LOCK_ASYNC) ? 0 : 500000; /* 0.5s */ in send_granted()
650 xdr_nlm4_testargs, &result, xdr_void, &dummy, timeo); in send_granted()
654 &retval4, timeo); in send_granted()
674 xdr_nlm_testargs, &result, xdr_void, &dummy, timeo); in send_granted()
678 &retval, timeo); in send_granted()
/netbsd/external/bsd/am-utils/dist/amd/
H A Dinfo_exec.c68 struct timeval timeo; in fgets_timed() local
99 timeo.tv_usec = 0; in fgets_timed()
102 timeo.tv_sec = 0; in fgets_timed()
104 timeo.tv_sec = secs - now; in fgets_timed()
115 rval = select(rdfd+1, &fds, NULL, NULL, &timeo); in fgets_timed()
/netbsd/sys/nfs/
H A Dnfs_clntsubs.c534 time_t timeo; in nfs_attrtimeo() local
542 timeo = (time_second - np->n_mtime.tv_sec) / 10; in nfs_attrtimeo()
543 timeo = uimax(timeo, NFS_MINATTRTIMO); in nfs_attrtimeo()
544 timeo = uimin(timeo, NFS_MAXATTRTIMO); in nfs_attrtimeo()
545 return timeo; in nfs_attrtimeo()
H A Dnfs_clntsocket.c978 int timeo = 0; in nfs_sndlock() local
983 timeo = nmp->nm_retry * nmp->nm_timeo; in nfs_sndlock()
986 timeo = hz; in nfs_sndlock()
1002 &nmp->nm_lock, timeo); in nfs_sndlock()
1005 &nmp->nm_lock, timeo); in nfs_sndlock()
1018 timeo = 2 * hz; in nfs_sndlock()
H A Dnfs_socket.c759 int timeo; in nfs_timer() local
778 timeo = nmp->nm_timeo; in nfs_timer()
780 timeo = NFS_RTO(nmp, nfs_proct[rep->r_procnum]); in nfs_timer()
782 timeo *= nfs_backoff[nmp->nm_timeouts - 1]; in nfs_timer()
783 if (timeo > NFS_MAXTIMEO) in nfs_timer()
784 timeo = NFS_MAXTIMEO; in nfs_timer()
785 if (rep->r_rtt <= timeo) in nfs_timer()
/netbsd/external/bsd/am-utils/dist/conf/mount/
H A Dmount_aix3.c139 v2args.timeo = v3args->timeo; in mount_aix3()
166 v3args_bis.timeo = v3args->timeo; in mount_aix3()
H A Dmount_aix.c133 v2args.timeo = v3args->timeo; in mount_aix3()
/netbsd/external/bsd/am-utils/dist/conf/nfs_prot/
H A Dnfs_prot_aix4_3.h234 int timeo; /* initial timeout in .1 secs */ member
257 unsigned long timeo; /* timeo */
286 unsigned long timeo; /* timeo */ member
H A Dnfs_prot_linux.h249 int timeo; /* 1 */ member
277 int timeo; /* 1 */ member
/netbsd/lib/libc/gen/
H A Drandomid.c257 randomid_new(int bits, long timeo) in randomid_new() argument
262 if (timeo < RANDOMID_TIMEO_MIN) { in randomid_new()
284 ctx->ru_out = timeo; in randomid_new()
/netbsd/sys/arch/emips/stand/common/
H A Denic.c119 enic_getpkt(struct _Enic *regs, void *buf, int bytes, int timeo) in enic_getpkt() argument
130 timeo += getsecs(); in enic_getpkt()
169 if (getsecs() >= timeo) { in enic_getpkt()
/netbsd/sys/arch/sgimips/stand/common/
H A Diris_scsi.c46 #define SBIC_WAIT(regs, until, timeo) wd33c93_wait(regs, until, timeo) argument
138 wd33c93_wait(struct wd33c93_softc *sc, uint8_t until, int timeo) in wd33c93_wait() argument
142 if (timeo == 0) in wd33c93_wait()
144 timeo = 1000000; in wd33c93_wait()
149 if (timeo-- == 0) { in wd33c93_wait()
/netbsd/sbin/mount_nfs/
H A Dmount_nfs.c149 .timeo = 10,
365 nfsargsp->timeo = in mount_nfs_parseargs()
397 nfsargsp->timeo = getnum(optarg, c); in mount_nfs_parseargs()
500 nfsargsp->timeo, in shownfsargs()
/netbsd/sys/rump/librump/rumpkern/
H A Demul.c136 kpause(const char *wmesg, bool intr, int timeo, kmutex_t *mtx) in kpause() argument
145 sec = timeo / hz; in kpause()
146 nsec = (timeo % hz) * (1000000000 / hz); in kpause()
/netbsd/sys/compat/ultrix/
H A Dultrix_fs.c321 int timeo; /* initial timeout in .1 secs */ member
395 na.timeo = una.timeo; in ultrix_sys_mount()
/netbsd/sys/fs/nfs/common/
H A Dnfs_commonport.c259 int error, timeo; in nfsmsleep() local
262 timeo = hz * ts->tv_sec; in nfsmsleep()
266 timeo += (int)nsecval; in nfsmsleep()
268 timeo = 0; in nfsmsleep()
270 error = msleep(chan, (struct mtx *)mutex, prio, wmesg, timeo); in nfsmsleep()
H A Dnfs_commonkrpc.c489 int freeslot, timeo; in newnfs_request() local
723 timeo = nmp->nm_retry * nmp->nm_timeo / 2; in newnfs_request()
724 if (timeo < 1) in newnfs_request()
725 timeo = 1; in newnfs_request()
726 timo.tv_sec = timeo / NFS_HZ; in newnfs_request()
727 timo.tv_usec = (timeo % NFS_HZ) * 1000000 / in newnfs_request()
H A Dnfsdiskless.h87 int timeo; /* initial timeout in .1 secs */ member
/netbsd/sys/arch/amiga/dev/
H A Dsci.c372 register int timeo = 2500; in sciselectbus() local
389 if (--timeo > 0) { in sciselectbus()
395 if (timeo) { in sciselectbus()
/netbsd/sys/kern/
H A Duipc_sem.c937 int fd, error, timeo; in do_ksem_wait() local
949 &timeo, NULL); in do_ksem_wait()
953 timeo = 0; in do_ksem_wait()
956 &ks->ks_lock, timeo); in do_ksem_wait()

123