Searched refs:timo (Results 26 - 50 of 89) sorted by relevance

1234

/freebsd-11-stable/sys/dev/usb/
H A Dusb_util.c133 usb_pause_mtx(struct mtx *mtx, int timo) argument
143 pause("USBWAIT", timo + 1);
/freebsd-11-stable/sys/dev/usb/serial/
H A Dusb_serial.h204 #define ucom_cfg_do_request(udev,com,req,ptr,flags,timo) \
205 usbd_do_request_proc(udev,&(com)->sc_super->sc_tq,req,ptr,flags,NULL,timo)
/freebsd-11-stable/sys/cam/
H A Dcam_xpt.h128 #define xpt_path_sleep(path, chan, priority, wmesg, timo) \
129 msleep((chan), xpt_path_mtx(path), (priority), (wmesg), (timo))
H A Dcam_periph.h221 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \
222 xpt_path_sleep((periph)->path, (chan), (priority), (wmesg), (timo))
/freebsd-11-stable/sys/sys/
H A Drmlock.h96 #define rm_sleep(chan, rm, pri, wmesg, timo) \
98 tick_sbt * (timo), 0, C_HARDCLOCK)
/freebsd-11-stable/sys/nlm/
H A Dnlm.h133 * most timo ticks. If no granted message is received within the
139 extern int nlm_wait_lock(void *handle, int timo);
H A Dnlm_prot_impl.c353 struct timeval timo; local
408 timo.tv_sec = 25;
409 timo.tv_usec = 0;
420 (xdrproc_t) xdr_wrapstring, &uaddr, timo);
461 (xdrproc_t) xdr_u_short, &port, timo);
1147 struct timeval timo; local
1164 timo.tv_sec = 25;
1165 timo.tv_usec = 0;
1168 (xdrproc_t) xdr_sm_stat, &smstat, timo);
1192 struct timeval timo; local
1356 nlm_wait_lock(void *handle, int timo) argument
1536 struct timeval timo; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_kthread.c177 kproc_suspend(struct proc *p, int timo) argument
190 return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkp", timo);
359 kthread_suspend(struct thread *td, int timo) argument
383 timo));
H A Dkern_lock.c254 const char *wmesg, int pri, int timo, int queue)
275 if ((flags & LK_TIMELOCK) && timo)
276 sleepq_set_timeout(&lk->lock_object, timo);
281 if ((flags & LK_TIMELOCK) && timo && catch)
283 else if ((flags & LK_TIMELOCK) && timo)
412 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) argument
440 lk->lk_timo = timo;
652 const char *wmesg, int pri, int timo, const char *file, int line)
674 itimo = (timo == LK_TIMO_DEFAULT) ? lk->lk_timo : timo;
253 sleeplk(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, int queue) argument
651 __lockmgr_args(struct lock *lk, u_int flags, struct lock_object *ilk, const char *wmesg, int pri, int timo, const char *file, int line) argument
[all...]
H A Dkern_thr.c517 int timo = 0; local
529 timo = tvtohz(&tv);
536 PCATCH, "lthr", timo);
549 if (timo != 0)
/freebsd-11-stable/lib/libcompat/4.3/
H A Drexec.c304 int s, timo = 1, s3; local
326 if (errno == ECONNREFUSED && timo <= 16) {
328 sleep(timo);
329 timo *= 2;
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clnfsiod.c247 int myiod, timo; local
268 timo = (myiod < nfs_iodmin) ? 0 : nfs_iodmaxidle * hz;
270 "-", timo);
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c177 ng_callout_init(&sc->timo);
251 if (callout_pending(&sc->timo))
252 ng_uncallout(&sc->timo, sc->node);
631 if (!IFQ_IS_EMPTY(&sc->outq) && !callout_pending(&sc->timo))
632 ng_callout(&sc->timo, sc->node, NULL, 1,
722 if (callout_pending(&sc->timo))
723 ng_uncallout(&sc->timo, sc->node);
/freebsd-11-stable/sys/vm/
H A Dvm_map.h294 int _vm_map_unlock_and_wait(vm_map_t map, int timo, const char *file, int line);
312 #define vm_map_unlock_and_wait(map, timo) \
313 _vm_map_unlock_and_wait(map, timo, LOCK_FILE, LOCK_LINE)
H A Dvm_object.h247 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \
248 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
/freebsd-11-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket_l2cap.h170 struct callout timo; /* timeout */ member in struct:ng_btsocket_l2cap_pcb
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_var.h185 struct callout timo; /* RTX/ERTX timeout */ member in struct:ng_l2cap_cmd
H A Dng_l2cap_misc.c474 ng_callout_init(&cmd->timo);
551 ng_l2cap_command_timeout(ng_l2cap_cmd_p cmd, int timo) argument
563 ng_callout(&cmd->timo, cmd->con->l2cap->node, NULL, timo,
582 if (ng_uncallout(&cmd->timo, cmd->con->l2cap->node) == 0)
/freebsd-11-stable/stand/libsa/
H A Dnetif.c211 netif_get(struct iodesc *desc, void **pkt, time_t timo) argument
228 rv = drv->netif_get(desc, pkt, timo);
/freebsd-11-stable/lib/libc/net/
H A Drcmd.c91 int s, aport, lport, timo, error; local
146 for (timo = 1, lport = IPPORT_RESERVED - 1;;) {
174 if (ai->ai_next == NULL && (!refused || timo > 16)) {
193 /* refused && timo <= 16 */
196 time_to_sleep.tv_sec = timo;
199 timo *= 2;
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/
H A Dlink_control.c47 int n0, n1, n2, timo; local
102 timo = timeout;
109 timeout = timo;
114 timeout = timo;
143 timeout = timo;
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_pcie_trans.c239 uint32_t bits, uint32_t mask, int timo)
245 if (timo < 10) {
248 timo -= 10;
238 iwm_poll_bit(struct iwm_softc *sc, int reg, uint32_t bits, uint32_t mask, int timo) argument
/freebsd-11-stable/sys/dev/sound/macio/
H A Di2s.c561 for (timo = 1000; timo > 0; timo--) {
569 if (timo == 0)
/freebsd-11-stable/sys/dev/le/
H A Dlance.c283 int timo; local
320 for (timo = 100000; timo; timo--)
/freebsd-11-stable/sys/dev/ipmi/
H A Dipmi_ssif.c363 ssif_driver_request(struct ipmi_softc *sc, struct ipmi_request *req, int timo) argument
371 timo);

Completed in 402 milliseconds

1234