/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | condvar.h | 74 } kcondvar_t; typedef 78 extern void __cv_init(kcondvar_t *, char *, kcv_type_t, void *); 79 extern void __cv_destroy(kcondvar_t *); 80 extern void __cv_wait(kcondvar_t *, kmutex_t *); 81 extern void __cv_wait_io(kcondvar_t *, kmutex_t *); 82 extern void __cv_wait_idle(kcondvar_t *, kmutex_t *); 83 extern int __cv_wait_io_sig(kcondvar_t *, kmutex_t *); 84 extern int __cv_wait_sig(kcondvar_t *, kmutex_t *); 85 extern int __cv_timedwait(kcondvar_t *, kmutex_t *, clock_t); 86 extern int __cv_timedwait_io(kcondvar_t *, kmutex_t *, clock_t); [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-condvar.c | 65 __cv_init(kcondvar_t *cvp, char *name, kcv_type_t type, void *arg) in __cv_init() 82 cv_destroy_wakeup(kcondvar_t *cvp) in cv_destroy_wakeup() 94 __cv_destroy(kcondvar_t *cvp) in __cv_destroy() 114 cv_wait_common(kcondvar_t *cvp, kmutex_t *mp, int state, int io) in cv_wait_common() 166 __cv_wait(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait() 173 __cv_wait_io(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io() 180 __cv_wait_io_sig(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io_sig() 189 __cv_wait_sig(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_sig() 198 __cv_wait_idle(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_idle() 214 __cv_timedwait_common(kcondvar_t *cvp, kmutex_t *mp, clock_t expire_time, in __cv_timedwait_common() [all …]
|
/freebsd/sys/contrib/openzfs/include/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 | 159 kcondvar_t scl_cv; 263 kcondvar_t spa_evicting_os_cv; /* Objset Eviction Completion */ 310 kcondvar_t spa_scrub_io_cv; /* scrub I/O completion */ 335 kcondvar_t spa_async_cv; /* wait for thread_exit() */ 401 kcondvar_t spa_suspend_cv; /* notification of resume */ 423 kcondvar_t spa_proc_cv; /* spa_proc_state transitions */ 468 kcondvar_t spa_activities_cv; 469 kcondvar_t spa_waiters_cv;
|
H A D | zfs_context.h | 323 typedef pthread_cond_t kcondvar_t; 328 extern void cv_init(kcondvar_t *cv, char *name, int type, void *arg); 329 extern void cv_destroy(kcondvar_t *cv); 330 extern void cv_wait(kcondvar_t *cv, kmutex_t *mp); 331 extern int cv_wait_sig(kcondvar_t *cv, kmutex_t *mp); 332 extern int cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime); 333 extern int cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, 335 extern void cv_signal(kcondvar_t *cv); 336 extern void cv_broadcast(kcondvar_t *cv); 465 kcondvar_t tq_dispatch_cv; [all …]
|
H A D | zil_impl.h | 146 kcondvar_t zcw_cv; /* signalled when "done" */ 204 kcondvar_t zl_cv_suspend; /* log suspend completion */ 236 kcondvar_t zl_lwb_io_cv; /* signal when the flush is done */
|
H A D | bqueue.h | 36 kcondvar_t bq_add_cv; 37 kcondvar_t bq_pop_cv;
|
H A D | vdev_impl.h | 299 kcondvar_t vdev_initialize_cv; 313 kcondvar_t vdev_autotrim_cv; 314 kcondvar_t vdev_autotrim_kick_cv; 318 kcondvar_t vdev_trim_cv; 335 kcondvar_t vdev_rebuild_cv; 341 kcondvar_t vdev_initialize_io_cv; 344 kcondvar_t vdev_trim_io_cv;
|
H A D | zfs_rlock.h | 62 kcondvar_t lr_write_cv; /* cv for waiting writers */ 63 kcondvar_t lr_read_cv; /* cv for waiting readers */
|
H A D | metaslab_impl.h | 298 kcondvar_t mg_ms_disabled_cv; 394 kcondvar_t ms_load_cv; 440 kcondvar_t ms_flush_cv;
|
H A D | zrlock.h | 37 kcondvar_t zr_cv;
|
H A D | vdev_removal.h | 40 kcondvar_t svr_cv;
|
H A D | mmp.h | 42 kcondvar_t mmp_thread_cv;
|
H A D | vdev_rebuild.h | 70 kcondvar_t vr_io_cv; /* inflight IO cv */
|
H A D | rrwlock.h | 60 kcondvar_t rr_cv;
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | condvar.h | 84 typedef struct cv kcondvar_t; typedef 107 cv_wait_sig(kcondvar_t *cvp, kmutex_t *mp) in cv_wait_sig() 114 cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t timo) in cv_timedwait() 129 cv_timedwait_sig(kcondvar_t *cvp, kmutex_t *mp, clock_t timo) in cv_timedwait_sig() 156 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires() 181 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_sig_hires()
|
H A D | callb.h | 91 kcondvar_t cc_callb_cv; /* cv for callback waiting */ 92 kcondvar_t cc_stop_cv; /* cv to checkpoint block */
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | kcondvar.h | 40 typedef struct cv kcondvar_t; typedef 61 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | callb.h | 91 kcondvar_t cc_callb_cv; /* cv for callback waiting */ 92 kcondvar_t cc_stop_cv; /* cv to checkpoint block */
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 332 cv_init(kcondvar_t *cv, char *name, int type, void *arg) in cv_init() 339 cv_destroy(kcondvar_t *cv) in cv_destroy() 345 cv_wait(kcondvar_t *cv, kmutex_t *mp) in cv_wait() 353 cv_wait_sig(kcondvar_t *cv, kmutex_t *mp) in cv_wait_sig() 360 cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime) in cv_timedwait() 393 cv_timedwait_hires(kcondvar_t *cv, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires() 433 cv_signal(kcondvar_t *cv) in cv_signal() 439 cv_broadcast(kcondvar_t *cv) in cv_broadcast()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zthr.c | 209 kcondvar_t zthr_cv; 216 kcondvar_t zthr_wait_cv;
|
/freebsd/contrib/netbsd-tests/rump/kernspace/ |
H A D | busypage.c | 47 static kcondvar_t tcv;
|
H A D | thread.c | 73 static kcondvar_t cv;
|
H A D | alloc.c | 52 static kcondvar_t kcv;
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | callb.c | 54 kcondvar_t c_done_cv; /* signal callb completion */ 79 kcondvar_t ct_busy_cv; /* to wait for not busy */
|