| /freebsd-13.1/sys/nlm/ |
| H A D | nlm_prot_clnt.c | 26 timo)); in nlm_sm_notify_0() 35 timo)); in nlm_test_1() 44 timo)); in nlm_lock_1() 53 timo)); in nlm_cancel_1() 62 timo)); in nlm_unlock_1() 71 timo)); in nlm_granted_1() 80 timo)); in nlm_test_msg_1() 89 timo)); in nlm_lock_msg_1() 98 timo)); in nlm_cancel_msg_1() 107 timo)); in nlm_unlock_msg_1() [all …]
|
| H A D | nlm_advlock.c | 79 rpcvers_t vers, struct timeval *timo, int retries, 83 rpcvers_t vers, struct timeval *timo, int retries, 87 rpcvers_t vers, struct timeval *timo, int retries, 208 struct timeval timo; in nlm_advlock_internal() local 314 error = nlm_clearlock(host, &ext, vers, &timo, in nlm_advlock_internal() 327 &timo, retries, vp, F_SETLK, fl, in nlm_advlock_internal() 570 struct rpc_callextra *ext, struct timeval timo) in nlm_test_rpc() argument 573 return nlm4_test_4(args, res, client, ext, timo); in nlm_test_rpc() 601 struct rpc_callextra *ext, struct timeval timo) in nlm_lock_rpc() argument 604 return nlm4_lock_4(args, res, client, ext, timo); in nlm_lock_rpc() [all …]
|
| H A D | nlm_prot_impl.c | 339 struct timeval timo; in nlm_get_rpc() local 391 timo.tv_sec = 25; in nlm_get_rpc() 392 timo.tv_usec = 0; in nlm_get_rpc() 1130 struct timeval timo; in nlm_host_unmonitor() local 1147 timo.tv_sec = 25; in nlm_host_unmonitor() 1148 timo.tv_usec = 0; in nlm_host_unmonitor() 1175 struct timeval timo; in nlm_host_monitor() local 1212 timo.tv_sec = 25; in nlm_host_monitor() 1213 timo.tv_usec = 0; in nlm_host_monitor() 1605 timo.tv_sec = 25; in nlm_server_main() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | condvar.h | 114 cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t timo) in cv_timedwait() argument 118 timo -= ddi_get_lbolt(); in cv_timedwait() 119 if (timo <= 0) in cv_timedwait() 122 tick_sbt * (timo), 0, C_HARDCLOCK); in cv_timedwait() 129 cv_timedwait_sig(kcondvar_t *cvp, kmutex_t *mp, clock_t timo) in cv_timedwait_sig() argument 133 timo -= ddi_get_lbolt(); in cv_timedwait_sig() 134 if (timo <= 0) in cv_timedwait_sig() 137 tick_sbt * (timo), 0, C_HARDCLOCK); in cv_timedwait_sig()
|
| /freebsd-13.1/sys/sys/ |
| H A D | lockmgr.h | 73 const char *wmesg, int prio, int timo, const char *file, int line); 90 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo, 104 int prio, int timo, const char *file, int line) in _lockmgr_args() argument 108 NULL, wmesg, prio, timo, file, line)); in _lockmgr_args() 113 const char *wmesg, int prio, int timo, const char *file, int line) in _lockmgr_args_rw() argument 117 NULL, wmesg, prio, timo, file, line)); in _lockmgr_args_rw() 127 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \ argument 128 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \ 130 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \ argument 131 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (prio), (timo), \
|
| H A D | condvar.h | 74 #define cv_timedwait(cvp, lock, timo) \ argument 76 tick_sbt * (timo), 0, C_HARDCLOCK) 79 #define cv_timedwait_sig(cvp, lock, timo) \ argument 81 tick_sbt * (timo), 0, C_HARDCLOCK)
|
| H A D | sema.h | 52 int _sema_timedwait(struct sema *sema, int timo, const char *file, int 59 #define sema_timedwait(sema, timo) \ argument 60 _sema_timedwait((sema), (timo), LOCK_FILE, LOCK_LINE)
|
| H A D | systm.h | 420 #define msleep(chan, mtx, pri, wmesg, timo) \ argument 422 tick_sbt * (timo), 0, C_HARDCLOCK) 428 #define msleep_spin(chan, mtx, wmesg, timo) \ argument 429 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 433 #define pause(wmesg, timo) \ argument 434 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK) 435 #define pause_sig(wmesg, timo) \ argument 436 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK | C_CATCH) 437 #define tsleep(chan, pri, wmesg, timo) \ argument 438 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
|
| H A D | sleepqueue.h | 108 #define sleepq_set_timeout(wchan, timo) \ argument 109 sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
|
| /freebsd-13.1/sys/dev/ipmi/ |
| H A D | ipmi_opal.c | 85 opal_ipmi_recv(struct opal_ipmi_softc *sc, uint64_t *msg_len, int timo) in opal_ipmi_recv() argument 89 if (timo == 0) in opal_ipmi_recv() 90 timo = MAX_TIMEOUT; in opal_ipmi_recv() 91 timo *= 10; /* Timeout is in milliseconds, we delay in 100us */ in opal_ipmi_recv() 103 if (timo-- <= 0) { in opal_ipmi_recv() 149 int timo) in opal_ipmi_polled_request() argument 198 if ((err = opal_ipmi_recv(sc, &msg_len, timo)) == 0) { in opal_ipmi_polled_request() 255 int timo) in opal_ipmi_driver_request() argument 262 err = opal_ipmi_polled_request(sc, req, timo); in opal_ipmi_driver_request()
|
| /freebsd-13.1/sys/fs/nfs/ |
| H A D | nfs_commonkrpc.c | 187 struct timeval timo; in newnfs_connect() local 343 timo.tv_sec = 10; in newnfs_connect() 344 timo.tv_usec = 0; in newnfs_connect() 346 &timo); in newnfs_connect() 382 if (timo.tv_sec < 10) in newnfs_connect() 383 timo.tv_sec = 10; in newnfs_connect() 384 timo.tv_usec = 0; in newnfs_connect() 597 struct timeval timo; in newnfs_request() local 839 timo.tv_usec = 0; in newnfs_request() 846 timo.tv_usec = 0; in newnfs_request() [all …]
|
| /freebsd-13.1/usr.sbin/lpr/common_source/ |
| H A D | net.c | 94 int s, timo = 1, lport = IPPORT_RESERVED - 1; in getport() local 127 if (refused && timo <= 16) { in getport() 128 sleep(timo); in getport() 129 timo *= 2; in getport() 159 if (refused && timo <= 16) { in getport() 160 sleep(timo); in getport() 161 timo *= 2; in getport()
|
| /freebsd-13.1/sys/dev/speaker/ |
| H A D | spkr.c | 68 int timo; in tone() local 91 timo = centisecs * hz / 100; in tone() 92 if (timo > 0) in tone() 93 tsleep(&endtone, SPKRPRI | PCATCH, "spkrtn", timo); in tone() 103 int timo; in rest() local 113 timo = centisecs * hz / 100; in rest() 114 if (timo > 0) in rest() 115 tsleep(&endrest, SPKRPRI | PCATCH, "spkrrs", timo); in rest()
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_umtx.c | 752 timespecadd(&timo->cur, timeout, &timo->end); in abs_timeout_init() 780 kern_clock_gettime(curthread, timo->clockid, &timo->cur); in abs_timeout_update() 788 if (timespeccmp(&timo->end, &timo->cur, <=)) in abs_timeout_gethz() 790 timespecsub(&timo->end, &timo->cur, &tts); in abs_timeout_gethz() 815 int error, timo; in umtxq_sleep() local 831 if (timo < 0) { in umtxq_sleep() 836 timo = 0; in umtxq_sleep() 1009 &timo); in do_lock_umtx() 1510 NULL : &timo); in do_lock_normal() 2608 NULL : &timo); in do_lock_pp() [all …]
|
| H A D | kern_kthread.c | 180 kproc_suspend(struct proc *p, int timo) in kproc_suspend() argument 193 return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkp", timo); in kproc_suspend() 368 kthread_suspend(struct thread *td, int timo) in kthread_suspend() argument 392 timo)); in kthread_suspend()
|
| /freebsd-13.1/sys/dev/acpica/Osd/ |
| H A D | OsdSchedule.c | 249 int timo; in AcpiOsSleep() local 253 timo = Milliseconds * hz / 1000; in AcpiOsSleep() 259 if (timo > 0) in AcpiOsSleep() 260 pause("acpislp", timo); in AcpiOsSleep()
|
| /freebsd-13.1/sys/powerpc/powermac/ |
| H A D | kiic.c | 358 int i, x, timo, err; in kiic_transfer() local 363 timo = 100; in kiic_transfer() 369 mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); in kiic_transfer() 399 timo = 1000 + sc->sc_resid * 200; in kiic_transfer() 400 timo += 100000; in kiic_transfer() 416 err = mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); in kiic_transfer()
|
| /freebsd-13.1/sys/nfs/ |
| H A D | krpc_subr.c | 205 int error, rcvflg, timo, secs, len; in krpc_call() local 311 timo = 0; in krpc_call() 324 if (timo < MAX_RESEND_DELAY) in krpc_call() 325 timo++; in krpc_call() 339 secs = timo; in krpc_call()
|
| /freebsd-13.1/libexec/phttpget/ |
| H A D | phttpget.c | 56 static struct timeval timo = { 15, 0}; variable 196 timo.tv_sec = http_timeout; in readenv() 372 (void *)&timo, (socklen_t)sizeof(timo)); in main() 374 (void *)&timo, (socklen_t)sizeof(timo)); in main()
|
| /freebsd-13.1/sys/dev/usb/net/ |
| H A D | usb_ethernet.h | 104 #define uether_do_request(ue,req,data,timo) \ argument 105 usbd_do_request_proc((ue)->ue_udev,&(ue)->ue_tq,req,data,0,NULL,timo)
|
| /freebsd-13.1/lib/libcompat/4.3/ |
| H A D | rexec.c | 304 int s, timo = 1, s3; local 326 if (errno == ECONNREFUSED && timo <= 16) { 328 sleep(timo); 329 timo *= 2;
|
| /freebsd-13.1/sys/fs/nfsclient/ |
| H A D | nfs_clnfsiod.c | 250 int myiod, timo; in nfssvc_iod() local 271 timo = (myiod < nfs_iodmin) ? 0 : nfs_iodmaxidle * hz; in nfssvc_iod() 273 "-", timo); in nfssvc_iod()
|
| /freebsd-13.1/sys/netgraph/bluetooth/drivers/h4/ |
| H A D | ng_h4.c | 179 ng_callout_init(&sc->timo); in ng_h4_open() 253 if (callout_pending(&sc->timo)) in ng_h4_close() 254 ng_uncallout(&sc->timo, sc->node); in ng_h4_close() 633 if (!IFQ_IS_EMPTY(&sc->outq) && !callout_pending(&sc->timo)) 634 ng_callout(&sc->timo, sc->node, NULL, 1, 724 if (callout_pending(&sc->timo)) 725 ng_uncallout(&sc->timo, sc->node);
|
| /freebsd-13.1/sys/dev/hpt27xx/ |
| H A D | os_bsd.h | 200 … __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) in hpt_sleep() argument 202 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
|
| /freebsd-13.1/sys/dev/hptnr/ |
| H A D | os_bsd.h | 204 … __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) in hpt_sleep() argument 206 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
|