Home
last modified time | relevance | path

Searched refs:kcondvar_t (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dcondvar.h74 } 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 Dspl-condvar.c65 __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 Dtxg_impl.h73 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 Dspa_impl.h159 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 Dzfs_context.h323 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 Dzil_impl.h146 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 Dbqueue.h36 kcondvar_t bq_add_cv;
37 kcondvar_t bq_pop_cv;
H A Dvdev_impl.h299 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 Dzfs_rlock.h62 kcondvar_t lr_write_cv; /* cv for waiting writers */
63 kcondvar_t lr_read_cv; /* cv for waiting readers */
H A Dmetaslab_impl.h298 kcondvar_t mg_ms_disabled_cv;
394 kcondvar_t ms_load_cv;
440 kcondvar_t ms_flush_cv;
H A Dzrlock.h37 kcondvar_t zr_cv;
H A Dvdev_removal.h40 kcondvar_t svr_cv;
H A Dmmp.h42 kcondvar_t mmp_thread_cv;
H A Dvdev_rebuild.h70 kcondvar_t vr_io_cv; /* inflight IO cv */
H A Drrwlock.h60 kcondvar_t rr_cv;
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcondvar.h84 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 Dcallb.h91 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 Dkcondvar.h40 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 Dcallb.h91 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 Dkernel.c332 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 Dzthr.c209 kcondvar_t zthr_cv;
216 kcondvar_t zthr_wait_cv;
/freebsd/contrib/netbsd-tests/rump/kernspace/
H A Dbusypage.c47 static kcondvar_t tcv;
H A Dthread.c73 static kcondvar_t cv;
H A Dalloc.c52 static kcondvar_t kcv;
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dcallb.c54 kcondvar_t c_done_cv; /* signal callb completion */
79 kcondvar_t ct_busy_cv; /* to wait for not busy */

123