/netbsd/sys/arch/hpcmips/stand/lcboot/ |
H A D | if_cs.c | 113 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 D | nfs_clsubs.c | 184 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 D | nfs_clvfsops.c | 246 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 D | nfs_common.h | 41 u_long timeo; member 84 nap->timeo = a.timeo; \ 97 a.timeo = nap->timeo; \
|
/netbsd/usr.sbin/rpc.lockd/ |
H A D | lock_proc.c | 269 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 D | lockd_lock.c | 615 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 D | info_exec.c | 68 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 D | nfs_clntsubs.c | 534 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 D | nfs_clntsocket.c | 978 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 D | nfs_socket.c | 759 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 D | mount_aix3.c | 139 v2args.timeo = v3args->timeo; in mount_aix3() 166 v3args_bis.timeo = v3args->timeo; in mount_aix3()
|
H A D | mount_aix.c | 133 v2args.timeo = v3args->timeo; in mount_aix3()
|
/netbsd/external/bsd/am-utils/dist/conf/nfs_prot/ |
H A D | nfs_prot_aix4_3.h | 234 int timeo; /* initial timeout in .1 secs */ member 257 unsigned long timeo; /* timeo */ 286 unsigned long timeo; /* timeo */ member
|
H A D | nfs_prot_linux.h | 249 int timeo; /* 1 */ member 277 int timeo; /* 1 */ member
|
/netbsd/lib/libc/gen/ |
H A D | randomid.c | 257 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 D | enic.c | 119 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 D | iris_scsi.c | 46 #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 D | mount_nfs.c | 149 .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 D | emul.c | 136 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 D | ultrix_fs.c | 321 int timeo; /* initial timeout in .1 secs */ member 395 na.timeo = una.timeo; in ultrix_sys_mount()
|
/netbsd/sys/fs/nfs/common/ |
H A D | nfs_commonport.c | 259 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 D | nfs_commonkrpc.c | 489 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 D | nfsdiskless.h | 87 int timeo; /* initial timeout in .1 secs */ member
|
/netbsd/sys/arch/amiga/dev/ |
H A D | sci.c | 372 register int timeo = 2500; in sciselectbus() local 389 if (--timeo > 0) { in sciselectbus() 395 if (timeo) { in sciselectbus()
|
/netbsd/sys/kern/ |
H A D | uipc_sem.c | 937 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()
|