| /netbsd-src/sys/sys/ |
| H A D | condvar.h | 37 } kcondvar_t; typedef 45 void cv_init(kcondvar_t *, const char *); 46 void cv_destroy(kcondvar_t *); 48 void cv_wait(kcondvar_t *, struct kmutex *); 49 int cv_wait_sig(kcondvar_t *, struct kmutex *); 50 int cv_timedwait(kcondvar_t *, struct kmutex *, int); 51 int cv_timedwait_sig(kcondvar_t *, struct kmutex *, int); 52 int cv_timedwaitbt(kcondvar_t *, struct kmutex *, struct bintime *, 54 int cv_timedwaitbt_sig(kcondvar_t *, struct kmutex *, struct bintime *, 57 void cv_signal(kcondvar_t *); [all …]
|
| H A D | tty.h | 113 kcondvar_t t_rawcv; /* notifier */ 114 kcondvar_t t_rawcvf; /* notifier */ 117 kcondvar_t t_cancv; /* notifier */ 118 kcondvar_t t_cancvf; /* notifier */ 121 kcondvar_t t_outcv; /* notifier */ 122 kcondvar_t t_outcvf; /* notifier */ 305 int ttysleep(struct tty *, kcondvar_t *, bool, int);
|
| H A D | pipe.h | 92 kcondvar_t pipe_rcv; /* cv for readers */ 93 kcondvar_t pipe_wcv; /* cv for writers */ 94 kcondvar_t pipe_draincv; /* cv for close */ 95 kcondvar_t pipe_lkcv; /* locking */
|
| /netbsd-src/sys/kern/ |
| H A D | kern_condvar.c | 72 static inline void cv_wakeup_one(kcondvar_t *); 73 static inline void cv_wakeup_all(kcondvar_t *); 93 cv_init(kcondvar_t *cv, const char *wmesg) in cv_init() 107 cv_destroy(kcondvar_t *cv) in cv_destroy() 125 cv_enter(kcondvar_t *cv, kmutex_t *mtx, lwp_t *l, bool catch_p) in cv_enter() 155 kcondvar_t *cv __diagused; in cv_unsleep() 157 cv = (kcondvar_t *)(uintptr_t)l->l_wchan; in cv_unsleep() 173 cv_wait(kcondvar_t *cv, kmutex_t *mtx) in cv_wait() 194 cv_wait_sig(kcondvar_t *cv, kmutex_t *mtx) in cv_wait_sig() 217 cv_timedwait(kcondvar_t *cv, kmutex_t *mtx, int timo) in cv_timedwait() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| H A D | txg_impl.h | 73 kcondvar_t tc_cv[TXG_SIZE]; 104 kcondvar_t tx_sync_more_cv; 105 kcondvar_t tx_sync_done_cv; 106 kcondvar_t tx_quiesce_more_cv; 107 kcondvar_t tx_quiesce_done_cv; 108 kcondvar_t tx_timeout_cv; 109 kcondvar_t tx_exit_cv; /* wait for all threads to exit */
|
| H A D | spa_impl.h | 83 kcondvar_t scl_cv; 162 kcondvar_t spa_evicting_os_cv; /* Objset Eviction Completion */ 192 kcondvar_t spa_scrub_io_cv; /* scrub I/O completion */ 204 kcondvar_t spa_async_cv; /* wait for thread_exit() */ 236 kcondvar_t spa_suspend_cv; /* notification of resume */ 252 kcondvar_t spa_proc_cv; /* spa_proc_state transitions */ 258 kcondvar_t spa_trim_cv; /* used to notify TRIM thread */
|
| H A D | zil_impl.h | 104 kcondvar_t zl_cv_writer; /* log writer thread completion */ 105 kcondvar_t zl_cv_suspend; /* log suspend completion */ 120 kcondvar_t zl_cv_batch[2]; /* batch condition variables */
|
| H A D | bqueue.h | 31 kcondvar_t bq_add_cv; 32 kcondvar_t bq_pop_cv;
|
| H A D | zfs_rlock.h | 50 kcondvar_t r_wr_cv; /* cv for waiting writers */ 51 kcondvar_t r_rd_cv; /* cv for waiting readers */
|
| /netbsd-src/sys/rump/librump/rumpkern/ |
| H A D | locks_up.c | 328 cv_init(kcondvar_t *cv, const char *msg) in cv_init() 331 CTASSERT(sizeof(kcondvar_t) >= sizeof(void *)); in cv_init() 338 cv_destroy(kcondvar_t *cv) in cv_destroy() 345 cv_wait(kcondvar_t *cv, kmutex_t *mtx) in cv_wait() 366 cv_wait_sig(kcondvar_t *cv, kmutex_t *mtx) in cv_wait_sig() 374 cv_timedwait(kcondvar_t *cv, kmutex_t *mtx, int ticks) in cv_timedwait() 402 cv_timedwait_sig(kcondvar_t *cv, kmutex_t *mtx, int ticks) in cv_timedwait_sig() 409 cv_signal(kcondvar_t *cv) in cv_signal() 417 cv_broadcast(kcondvar_t *cv) in cv_broadcast() 425 cv_has_waiters(kcondvar_t *cv) in cv_has_waiters() [all …]
|
| H A D | locks.c | 365 cv_init(kcondvar_t *cv, const char *msg) in cv_init() 368 CTASSERT(sizeof(kcondvar_t) >= sizeof(void *)); in cv_init() 374 cv_destroy(kcondvar_t *cv) in cv_destroy() 381 docvwait(kcondvar_t *cv, kmutex_t *mtx, struct timespec *ts) in docvwait() 439 cv_wait(kcondvar_t *cv, kmutex_t *mtx) in cv_wait() 448 cv_wait_sig(kcondvar_t *cv, kmutex_t *mtx) in cv_wait_sig() 457 cv_timedwait(kcondvar_t *cv, kmutex_t *mtx, int ticks) in cv_timedwait() 476 cv_signal(kcondvar_t *cv) in cv_signal() 483 cv_broadcast(kcondvar_t *cv) in cv_broadcast() 490 cv_has_waiters(kcondvar_t *cv) in cv_has_waiters() [all …]
|
| /netbsd-src/sys/dev/pud/ |
| H A D | pud_sys.h | 41 kcondvar_t pt_cv; 53 kcondvar_t pd_waitq_req_cv; 56 kcondvar_t pd_draincv;
|
| /netbsd-src/sys/nfs/ |
| H A D | nfsmount.h | 132 kcondvar_t nm_rcvcv; 133 kcondvar_t nm_sndcv; 169 kcondvar_t nm_aiocv; 174 kcondvar_t nm_disconcv;
|
| /netbsd-src/external/cddl/osnet/sys/sys/ |
| H A D | kcondvar.h | 51 cv_timedwait_hires(kcondvar_t *cvp, struct kmutex *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires() 61 cv_reltimedwait(kcondvar_t *cvp, struct kmutex *mp, clock_t delta, time_res_t res) in cv_reltimedwait() 70 extern clock_t cv_timedwait_hires(kcondvar_t *, struct kmutex *, hrtime_t, hrtime_t,
|
| /netbsd-src/sys/dev/ic/ |
| H A D | dwiic_var.h | 55 kcondvar_t sc_int_readwait; 56 kcondvar_t sc_int_writewait; 57 kcondvar_t sc_int_stopwait;
|
| H A D | scmdvar.h | 31 kcondvar_t sc_condvar; 32 kcondvar_t sc_cond_dying; /* interlock when cleaning up */
|
| /netbsd-src/sys/dev/i2c/ |
| H A D | sht3xvar.h | 39 kcondvar_t sc_condvar; /* for shutting down the thread */ 40 kcondvar_t sc_condreadready; /* when there is data to be read */ 41 kcondvar_t sc_cond_dying; /* interlock when cleaning up */
|
| /netbsd-src/sys/dev/hyperv/ |
| H A D | vmbusvar.h | 125 kcondvar_t ch_event_cv; 141 kcondvar_t ch_subchannel_cv; 212 kcondvar_t sc_chevq_cv; 216 kcondvar_t sc_devq_cv; 220 kcondvar_t sc_subch_devq_cv;
|
| /netbsd-src/sys/dev/ |
| H A D | sequencervar.h | 78 kcondvar_t wchan; 79 kcondvar_t rchan; 80 kcondvar_t lchan;
|
| H A D | fssvar.h | 132 kcondvar_t fc_state_cv; /* Signals state change from busy */ 146 kcondvar_t sc_work_cv; /* Signals work for the kernel thread */ 147 kcondvar_t sc_cache_cv; /* Signals free cache slot */
|
| /netbsd-src/sys/dev/usb/ |
| H A D | if_athn_usb.h | 451 kcondvar_t usc_wmi_cv; 452 kcondvar_t usc_htc_cv; 455 kcondvar_t usc_msg_cv; 457 kcondvar_t usc_cmd_cv; 459 kcondvar_t usc_task_cv;
|
| H A D | usbdivar.h | 185 kcondvar_t ub_rhxfercv; 189 kcondvar_t ub_needsexplore_cv; 260 kcondvar_t up_callingcv; 273 kcondvar_t ux_cv;
|
| /netbsd-src/sys/dev/ata/ |
| H A D | atavar.h | 233 kcondvar_t queue_drain; /* c: waiting of queue drain */ 234 kcondvar_t queue_idle; /* c: waiting of queue idle */ 239 kcondvar_t c_active; /* somebody actively waiting for xfer */ 240 kcondvar_t c_cmd_finish; /* somebody waiting for cmd finish */ 443 kcondvar_t ch_thr_idle; /* thread waiting for work */
|
| /netbsd-src/sys/dev/iscsi/ |
| H A D | iscsi_globals.h | 315 kcondvar_t c_conn_cv; 316 kcondvar_t c_pdu_cv; 317 kcondvar_t c_ccb_cv; 318 kcondvar_t c_idle_cv; 421 kcondvar_t s_sess_cv; 422 kcondvar_t s_ccb_cv;
|
| /netbsd-src/sys/dev/i2o/ |
| H A D | iopvar.h | 58 kcondvar_t im_cv; /* Notifier */ 84 kcondvar_t ii_cv; 137 kcondvar_t sc_confcv; /* Configuration CV */
|