| /f-stack/freebsd/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()
|
| /f-stack/freebsd/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 | 518 #define msleep(chan, mtx, pri, wmesg, timo) \ argument 520 tick_sbt * (timo), 0, C_HARDCLOCK) 526 #define msleep_spin(chan, mtx, wmesg, timo) \ argument 527 msleep_spin_sbt((chan), (mtx), (wmesg), tick_sbt * (timo), \ 531 #define pause(wmesg, timo) \ argument 532 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK) 533 #define pause_sig(wmesg, timo) \ argument 534 pause_sbt((wmesg), tick_sbt * (timo), 0, C_HARDCLOCK | C_CATCH) 535 #define tsleep(chan, pri, wmesg, timo) \ argument 536 _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)
|
| H A D | rmlock.h | 98 #define rm_sleep(chan, rm, pri, wmesg, timo) \ argument 100 tick_sbt * (timo), 0, C_HARDCLOCK)
|
| /f-stack/lib/include/sys/ |
| H A D | condvar.h | 61 int _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo); 62 int _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo); 75 #define cv_timedwait(cvp, lock, timo) \ argument 76 _cv_timedwait((cvp), &(lock)->lock_object, (timo)) 77 #define cv_timedwait_sig(cvp, lock, timo) \ argument 78 _cv_timedwait_sig((cvp), &(lock)->lock_object, (timo))
|
| /f-stack/lib/ |
| H A D | ff_kern_condvar.c | 78 _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo) in _cv_timedwait() argument 84 _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo) in _cv_timedwait_sig() argument
|
| /f-stack/freebsd/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() 950 NULL : &timo); in do_wait() 1147 NULL : &timo); in do_lock_normal() 2245 NULL : &timo); in do_lock_pp() [all …]
|
| H A D | kern_kthread.c | 189 kproc_suspend(struct proc *p, int timo) in kproc_suspend() argument 202 return msleep(&p->p_siglist, &p->p_mtx, PPAUSE | PDROP, "suspkp", timo); in kproc_suspend() 375 kthread_suspend(struct thread *td, int timo) in kthread_suspend() argument 399 timo)); in kthread_suspend()
|
| H A D | kern_sema.c | 111 _sema_timedwait(struct sema *sema, int timo, const char *file, int line) in _sema_timedwait() argument 125 error = cv_timedwait(&sema->sema_cv, &sema->sema_mtx, timo); in _sema_timedwait()
|
| H A D | kern_thr.c | 515 int timo = 0; in kern_thr_suspend() local 527 timo = tvtohz(&tv); in kern_thr_suspend() 534 PCATCH, "lthr", timo); in kern_thr_suspend() 547 if (timo != 0) in kern_thr_suspend()
|
| H A D | kern_lock.c | 267 const char *wmesg, int pri, int timo, int queue) in sleeplk() argument 288 if ((flags & LK_TIMELOCK) && timo) in sleeplk() 289 sleepq_set_timeout(&lk->lock_object, timo); in sleeplk() 294 if ((flags & LK_TIMELOCK) && timo && catch) in sleeplk() 296 else if ((flags & LK_TIMELOCK) && timo) in sleeplk() 431 lockinit(struct lock *lk, int pri, const char *wmesg, int timo, int flags) in lockinit() argument 461 lk->lk_timo = timo; in lockinit() 1298 const char *wmesg, int pri, int timo, const char *file, int line) in __lockmgr_args() argument 1320 itimo = (timo == LK_TIMO_DEFAULT) ? lk->lk_timo : timo; in __lockmgr_args()
|
| H A D | kern_fail.c | 429 int timo; in fail_point_sleep() local 432 timo = howmany((int64_t)msecs * hz, 1000L); in fail_point_sleep() 434 if (timo > 0) { in fail_point_sleep() 439 tsleep(FP_SLEEP_CHANNEL(fp), PWAIT, "failpt", timo); in fail_point_sleep() 447 callout_reset(fp->fp_callout, timo, in fail_point_sleep()
|
| /f-stack/freebsd/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);
|
| H A D | ng_h4_var.h | 98 struct callout timo; /* See man timeout(9) */ member
|
| /f-stack/freebsd/netgraph/bluetooth/l2cap/ |
| H A D | ng_l2cap_misc.c | 474 ng_callout_init(&cmd->timo); in ng_l2cap_new_cmd() 551 ng_l2cap_command_timeout(ng_l2cap_cmd_p cmd, int timo) in ng_l2cap_command_timeout() argument 563 ng_callout(&cmd->timo, cmd->con->l2cap->node, NULL, timo, in ng_l2cap_command_timeout() 582 if (ng_uncallout(&cmd->timo, cmd->con->l2cap->node) == 0) in ng_l2cap_command_untimeout()
|
| H A D | ng_l2cap_misc.h | 80 KASSERT(!callout_pending(&(cmd)->timo), ("Pending callout!")); \
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_taskq.c | 325 clock_t timo; in taskq_dispatch_delay() local 328 timo = expire_time - ddi_get_lbolt(); in taskq_dispatch_delay() 329 if (timo <= 0) in taskq_dispatch_delay() 350 timo); in taskq_dispatch_delay()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_pageout.h | 101 void vm_waitpfault(struct domainset *, int timo);
|
| H A D | vm_map.h | 326 int _vm_map_unlock_and_wait(vm_map_t map, int timo, const char *file, int line); 345 #define vm_map_unlock_and_wait(map, timo) \ argument 346 _vm_map_unlock_and_wait(map, timo, LOCK_FILE, LOCK_LINE)
|
| H A D | vm_object.h | 260 #define VM_OBJECT_SLEEP(object, wchan, pri, wmesg, timo) \ argument 261 rw_sleep((wchan), &(object)->lock, (pri), (wmesg), (timo))
|
| /f-stack/freebsd/netgraph/bluetooth/include/ |
| H A D | ng_btsocket_sco.h | 88 struct callout timo; /* timeout */ member
|
| /f-stack/dpdk/drivers/net/octeontx/base/ |
| H A D | octeontx_pkovf.c | 166 int res, timo = PKO_DQ_DRAIN_TO; in octeontx_pko_dq_drain() local 176 while (reg && timo > 0) { in octeontx_pko_dq_drain() 178 timo--; in octeontx_pko_dq_drain()
|