| /freebsd-14.2/sys/nlm/ |
| H A D | nlm_prot_clnt.c | 24 timo)); in nlm_sm_notify_0() 33 timo)); in nlm_test_1() 42 timo)); in nlm_lock_1() 51 timo)); in nlm_cancel_1() 60 timo)); in nlm_unlock_1() 69 timo)); in nlm_granted_1() 78 timo)); in nlm_test_msg_1() 87 timo)); in nlm_lock_msg_1() 96 timo)); in nlm_cancel_msg_1() 105 timo)); in nlm_unlock_msg_1() [all …]
|
| H A D | nlm_advlock.c | 77 rpcvers_t vers, struct timeval *timo, int retries, 81 rpcvers_t vers, struct timeval *timo, int retries, 85 rpcvers_t vers, struct timeval *timo, int retries, 206 struct timeval timo; in nlm_advlock_internal() local 312 error = nlm_clearlock(host, &ext, vers, &timo, in nlm_advlock_internal() 325 &timo, retries, vp, F_SETLK, fl, in nlm_advlock_internal() 568 struct rpc_callextra *ext, struct timeval timo) in nlm_test_rpc() argument 571 return nlm4_test_4(args, res, client, ext, timo); in nlm_test_rpc() 599 struct rpc_callextra *ext, struct timeval timo) in nlm_lock_rpc() argument 602 return nlm4_lock_4(args, res, client, ext, timo); in nlm_lock_rpc() [all …]
|
| H A D | nlm_prot_impl.c | 337 struct timeval timo; in nlm_get_rpc() local 389 timo.tv_sec = 25; in nlm_get_rpc() 390 timo.tv_usec = 0; in nlm_get_rpc() 1128 struct timeval timo; in nlm_host_unmonitor() local 1145 timo.tv_sec = 25; in nlm_host_unmonitor() 1146 timo.tv_usec = 0; in nlm_host_unmonitor() 1173 struct timeval timo; in nlm_host_monitor() local 1210 timo.tv_sec = 25; in nlm_host_monitor() 1211 timo.tv_usec = 0; in nlm_host_monitor() 1603 timo.tv_sec = 25; in nlm_server_main() [all …]
|
| /freebsd-14.2/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-14.2/sys/sys/ |
| H A D | lockmgr.h | 71 const char *wmesg, int prio, int timo, const char *file, int line); 88 void lockinit(struct lock *lk, int prio, const char *wmesg, int timo, 102 int prio, int timo, const char *file, int line) in _lockmgr_args() argument 106 NULL, wmesg, prio, timo, file, line)); in _lockmgr_args() 111 const char *wmesg, int prio, int timo, const char *file, int line) in _lockmgr_args_rw() argument 115 NULL, wmesg, prio, timo, file, line)); in _lockmgr_args_rw() 125 #define lockmgr_args(lk, flags, ilk, wmesg, prio, timo) \ argument 126 _lockmgr_args((lk), (flags), (ilk), (wmesg), (prio), (timo), \ 128 #define lockmgr_args_rw(lk, flags, ilk, wmesg, prio, timo) \ argument 129 _lockmgr_args_rw((lk), (flags), (ilk), (wmesg), (prio), (timo), \
|
| H A D | condvar.h | 68 #define cv_timedwait(cvp, lock, timo) \ argument 70 tick_sbt * (timo), 0, C_HARDCLOCK) 73 #define cv_timedwait_sig(cvp, lock, timo) \ argument 75 tick_sbt * (timo), 0, C_HARDCLOCK)
|
| H A D | sema.h | 50 int _sema_timedwait(struct sema *sema, int timo, const char *file, int 57 #define sema_timedwait(sema, timo) \ argument 58 _sema_timedwait((sema), (timo), LOCK_FILE, LOCK_LINE)
|
| H A D | systm.h | 457 #define msleep(chan, mtx, pri, wmesg, timo) \ argument 459 tick_sbt * (timo), 0, C_HARDCLOCK) 465 #define msleep_spin(chan, mtx, wmesg, timo) \ argument 466 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 471 pause(const char *wmesg, int timo) in pause() argument 473 return (pause_sbt(wmesg, tick_sbt * timo, 0, C_HARDCLOCK)); in pause() 475 #define pause_sig(wmesg, timo) \ argument 476 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK | C_CATCH) 477 #define tsleep(chan, pri, wmesg, timo) \ argument 478 _sleep((chan), NULL, (pri), (wmesg), tick_sbt * (timo), \
|
| H A D | sleepqueue.h | 106 #define sleepq_set_timeout(wchan, timo) \ argument 107 sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0, C_HARDCLOCK)
|
| /freebsd-14.2/sys/dev/ipmi/ |
| H A D | ipmi_opal.c | 83 opal_ipmi_recv(struct opal_ipmi_softc *sc, uint64_t *msg_len, int timo) in opal_ipmi_recv() argument 87 if (timo == 0) in opal_ipmi_recv() 88 timo = MAX_TIMEOUT; in opal_ipmi_recv() 89 timo *= 10; /* Timeout is in milliseconds, we delay in 100us */ in opal_ipmi_recv() 101 if (timo-- <= 0) { in opal_ipmi_recv() 147 int timo) in opal_ipmi_polled_request() argument 196 if ((err = opal_ipmi_recv(sc, &msg_len, timo)) == 0) { in opal_ipmi_polled_request() 253 int timo) in opal_ipmi_driver_request() argument 260 err = opal_ipmi_polled_request(sc, req, timo); in opal_ipmi_driver_request()
|
| /freebsd-14.2/usr.sbin/lpr/common_source/ |
| H A D | net.c | 92 int s, timo = 1, lport = IPPORT_RESERVED - 1; in getport() local 125 if (refused && timo <= 16) { in getport() 126 sleep(timo); in getport() 127 timo *= 2; in getport() 157 if (refused && timo <= 16) { in getport() 158 sleep(timo); in getport() 159 timo *= 2; in getport()
|
| /freebsd-14.2/sys/fs/nfs/ |
| H A D | nfs_commonkrpc.c | 266 struct timeval timo; in newnfs_connect() local 422 timo.tv_sec = 10; in newnfs_connect() 423 timo.tv_usec = 0; in newnfs_connect() 425 &timo); in newnfs_connect() 461 if (timo.tv_sec < 10) in newnfs_connect() 462 timo.tv_sec = 10; in newnfs_connect() 463 timo.tv_usec = 0; in newnfs_connect() 680 struct timeval timo; in newnfs_request() local 926 timo.tv_usec = 0; in newnfs_request() 933 timo.tv_usec = 0; in newnfs_request() [all …]
|
| /freebsd-14.2/sys/dev/speaker/ |
| H A D | spkr.c | 66 int timo; in tone() local 89 timo = centisecs * hz / 100; in tone() 90 if (timo > 0) in tone() 91 tsleep(&endtone, SPKRPRI | PCATCH, "spkrtn", timo); in tone() 101 int timo; in rest() local 111 timo = centisecs * hz / 100; in rest() 112 if (timo > 0) in rest() 113 tsleep(&endrest, SPKRPRI | PCATCH, "spkrrs", timo); in rest()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_umtx.c | 681 kern_clock_gettime(curthread, timo->clockid, &timo->cur); in umtx_abs_timeout_init() 682 timespecadd(&timo->cur, timeout, &timo->end); in umtx_abs_timeout_init() 783 kern_clock_gettime(curthread, timo->clockid, &timo->cur); in umtx_abs_timeout_getsbt() 784 if (timespeccmp(&timo->end, &timo->cur, <=)) in umtx_abs_timeout_getsbt() 786 timespecsub(&timo->end, &timo->cur, &tts); in umtx_abs_timeout_getsbt() 825 if (timo != NULL) { in umtxq_sleep() 1003 &timo); in do_lock_umtx() 1504 NULL : &timo); in do_lock_normal() 2633 NULL : &timo); in do_lock_pp() 3749 &timo.cur); in do_sem2_wait() [all …]
|
| /freebsd-14.2/sys/dev/acpica/Osd/ |
| H A D | OsdSchedule.c | 247 int timo; in AcpiOsSleep() local 251 timo = Milliseconds * hz / 1000; in AcpiOsSleep() 257 if (timo > 0) in AcpiOsSleep() 258 pause("acpislp", timo); in AcpiOsSleep()
|
| /freebsd-14.2/sys/powerpc/powermac/ |
| H A D | kiic.c | 355 int i, x, timo, err; in kiic_transfer() local 360 timo = 100; in kiic_transfer() 366 mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); in kiic_transfer() 396 timo = 1000 + sc->sc_resid * 200; in kiic_transfer() 397 timo += 100000; in kiic_transfer() 413 err = mtx_sleep(dev, &sc->sc_mutex, 0, "kiic", timo); in kiic_transfer()
|
| /freebsd-14.2/sys/nfs/ |
| H A D | krpc_subr.c | 203 int error, rcvflg, timo, secs, len; in krpc_call() local 309 timo = 0; in krpc_call() 322 if (timo < MAX_RESEND_DELAY) in krpc_call() 323 timo++; in krpc_call() 337 secs = timo; in krpc_call()
|
| /freebsd-14.2/libexec/phttpget/ |
| H A D | phttpget.c | 54 static struct timeval timo = { 15, 0}; variable 194 timo.tv_sec = http_timeout; in readenv() 370 (void *)&timo, (socklen_t)sizeof(timo)); in main() 372 (void *)&timo, (socklen_t)sizeof(timo)); in main()
|
| /freebsd-14.2/sys/kgssapi/ |
| H A D | gss_impl.c | 123 struct timeval timo; in sys_gssd_syscall() local 131 timo.tv_sec = 5 * 60; in sys_gssd_syscall() 132 timo.tv_usec = 0; in sys_gssd_syscall() 133 CLNT_CONTROL(cl, CLSET_TIMEOUT, &timo); in sys_gssd_syscall()
|
| /freebsd-14.2/sys/dev/usb/net/ |
| H A D | usb_ethernet.h | 101 #define uether_do_request(ue,req,data,timo) \ argument 102 usbd_do_request_proc((ue)->ue_udev,&(ue)->ue_tq,req,data,0,NULL,timo)
|
| /freebsd-14.2/sys/fs/nfsclient/ |
| H A D | nfs_clnfsiod.c | 248 int myiod, timo; in nfssvc_iod() local 269 timo = (myiod < nfs_iodmin) ? 0 : nfs_iodmaxidle * hz; in nfssvc_iod() 271 "-", timo); in nfssvc_iod()
|
| /freebsd-14.2/lib/libcompat/4.3/ |
| H A D | rexec.c | 297 int s, timo = 1, s3; in rexec() local 319 if (errno == ECONNREFUSED && timo <= 16) { in rexec() 321 sleep(timo); in rexec() 322 timo *= 2; in rexec()
|
| /freebsd-14.2/sys/dev/hptnr/ |
| H A D | os_bsd.h | 202 … __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) in hpt_sleep() argument 204 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
|
| /freebsd-14.2/sys/dev/hptrr/ |
| H A D | os_bsd.h | 203 … __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) in hpt_sleep() argument 205 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
|
| /freebsd-14.2/sys/dev/hpt27xx/ |
| H A D | os_bsd.h | 198 … __inline int hpt_sleep(PVBUS_EXT vbus_ext, void *ident, int priority, const char *wmesg, int timo) in hpt_sleep() argument 200 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()
|