Home
last modified time | relevance | path

Searched refs:timo (Results 1 – 25 of 92) sorted by path

1234

/freebsd/lib/libc/net/
H A Drcmd.c87 int s, aport, lport, timo, error; in rcmd_af() local
142 for (timo = 1, lport = IPPORT_RESERVED - 1;;) { in rcmd_af()
170 if (ai->ai_next == NULL && (!refused || timo > 16)) { in rcmd_af()
192 time_to_sleep.tv_sec = timo; in rcmd_af()
195 timo *= 2; in rcmd_af()
/freebsd/lib/libcompat/4.3/
H A Drexec.c295 int s, timo = 1, s3; in rexec() local
317 if (errno == ECONNREFUSED && timo <= 16) { in rexec()
319 sleep(timo); in rexec()
320 timo *= 2; in rexec()
/freebsd/lib/libthr/thread/
H A Dthr_private.h604 #define THR_UMUTEX_TIMEDLOCK(thrd, lck, timo) \ argument
605 _thr_umutex_timedlock((lck), TID(thrd), (timo))
H A Dthr_syscalls.c353 const struct timespec *timo, const sigset_t *mask) in __thr_pselect() argument
360 ret = __sys_pselect(count, rfds, wfds, efds, timo, mask); in __thr_pselect()
/freebsd/libexec/phttpget/
H A Dphttpget.c53 static struct timeval timo = { 15, 0}; variable
193 timo.tv_sec = http_timeout; in readenv()
369 (void *)&timo, (socklen_t)sizeof(timo)); in main()
371 (void *)&timo, (socklen_t)sizeof(timo)); in main()
/freebsd/sbin/nvmecontrol/
H A Dfabrics.c193 int error, timo; in connect_discovery_adminq() local
254 timo = NVME_CAP_LO_TO(cap); in connect_discovery_adminq()
263 if (timo == 0) in connect_discovery_adminq()
265 timo--; in connect_discovery_adminq()
285 int error, timo; in connect_nvm_adminq() local
352 timo = NVME_CAP_LO_TO(cap); in connect_nvm_adminq()
364 if (timo == 0) { in connect_nvm_adminq()
369 timo--; in connect_nvm_adminq()
/freebsd/stand/kshim/
H A Dbsd_kernel.c363 cv_timedwait(struct cv *cv, struct mtx *mtx, int timo) in cv_timedwait() argument
375 if (timo >= 0) { in cv_timedwait()
377 if (delta >= timo || delta < 0) in cv_timedwait()
/freebsd/stand/libsa/
H A Dnetif.c217 netif_get(struct iodesc *desc, void **pkt, time_t timo) in netif_get() argument
234 rv = drv->netif_get(desc, pkt, timo); in netif_get()
/freebsd/sys/cam/
H A Dcam_periph.h234 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \ argument
235 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
H A Dcam_xpt.h128 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \ argument
129 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
/freebsd/sys/compat/linux/
H A Dlinux_futex.c359 struct umtx_abs_timeout timo; in linux_futex_lock_pi() local
374 linux_umtx_abs_timeout_init(&timo, args); in linux_futex_lock_pi()
551 args->ts == NULL ? NULL : &timo, in linux_futex_lock_pi()
747 struct umtx_abs_timeout timo; in linux_futex_wait() local
761 linux_umtx_abs_timeout_init(&timo, args); in linux_futex_wait()
776 args->ts == NULL ? NULL : &timo); in linux_futex_wait()
792 linux_umtx_abs_timeout_init(struct umtx_abs_timeout *timo, in linux_umtx_abs_timeout_init() argument
808 umtx_abs_timeout_init(timo, clockid, absolute, args->ts); in linux_umtx_abs_timeout_init()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcondvar.h114 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/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c408 clock_t timo; in taskq_dispatch_delay() local
411 timo = expire_time - ddi_get_lbolt(); in taskq_dispatch_delay()
412 if (timo <= 0) in taskq_dispatch_delay()
432 timo); in taskq_dispatch_delay()
/freebsd/sys/dev/acpica/Osd/
H A DOsdSchedule.c247 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/sys/dev/hpt27xx/
H A Dos_bsd.h198 … __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()
/freebsd/sys/dev/hptiop/
H A Dhptiop.h475 int priority, const char *wmesg, int timo) in hptiop_sleep() argument
480 retval = msleep(ident, &hba->lock, priority, wmesg, timo); in hptiop_sleep()
/freebsd/sys/dev/hptnr/
H A Dos_bsd.h202 … __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/sys/dev/hptrr/
H A Dos_bsd.h203 … __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/sys/dev/ipmi/
H A Dipmi.c569 int timo) in ipmi_submit_driver_request() argument
572 return (sc->ipmi_driver_request(sc, req, timo)); in ipmi_submit_driver_request()
H A Dipmi_bt.c268 bt_driver_request(struct ipmi_softc *sc, struct ipmi_request *req, int timo __unused) in bt_driver_request()
H A Dipmi_kcs.c491 kcs_driver_request_queue(struct ipmi_softc *sc, struct ipmi_request *req, int timo) in kcs_driver_request_queue() argument
497 error = msleep(req, &sc->ipmi_requests_lock, 0, "ipmireq", timo); in kcs_driver_request_queue()
520 kcs_driver_request(struct ipmi_softc *sc, struct ipmi_request *req, int timo) in kcs_driver_request() argument
526 return (kcs_driver_request_queue(sc, req, timo)); in kcs_driver_request()
H A Dipmi_opal.c82 opal_ipmi_recv(struct opal_ipmi_softc *sc, uint64_t *msg_len, int timo) in opal_ipmi_recv() argument
86 if (timo == 0) in opal_ipmi_recv()
87 timo = MAX_TIMEOUT; in opal_ipmi_recv()
88 timo *= 10; /* Timeout is in milliseconds, we delay in 100us */ in opal_ipmi_recv()
100 if (timo-- <= 0) { in opal_ipmi_recv()
146 int timo) in opal_ipmi_polled_request() argument
195 if ((err = opal_ipmi_recv(sc, &msg_len, timo)) == 0) { in opal_ipmi_polled_request()
252 int timo) in opal_ipmi_driver_request() argument
259 err = opal_ipmi_polled_request(sc, req, timo); in opal_ipmi_driver_request()
H A Dipmi_smic.c391 smic_driver_request(struct ipmi_softc *sc, struct ipmi_request *req, int timo) in smic_driver_request() argument
H A Dipmi_ssif.c362 ssif_driver_request(struct ipmi_softc *sc, struct ipmi_request *req, int timo) in ssif_driver_request() argument
370 timo); in ssif_driver_request()
/freebsd/sys/dev/isp/
H A Dispreg.h186 #define MBSINIT(mbxp, code, loglev, timo) \ argument
194 (mbxp)->timeout = timo

1234