/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | Valgrind.h | 28 const volatile void *cv); 30 const volatile void *cv); 52 #define TsanHappensBefore(cv) \ 53 AnnotateHappensBefore(__FILE__, __LINE__, cv) 56 #define TsanHappensAfter(cv) \ 57 AnnotateHappensAfter(__FILE__, __LINE__, cv) 67 #define TsanHappensBefore(cv) 68 #define TsanHappensAfter(cv)
|
/freebsd-9.3-release/sys/cddl/compat/opensolaris/sys/ |
H A D | kcondvar.h | 43 typedef struct cv kcondvar_t; 50 #define zfs_cv_init(cv, name, type, arg) do { \ 53 for (_name = #cv; *_name != '\0'; _name++) { \ 58 _name = #cv; \ 59 cv_init((cv), _name); \ 61 #define cv_init(cv, name, type, arg) zfs_cv_init((cv), (name), (type), (arg))
|
/freebsd-9.3-release/sys/sys/ |
H A D | condvar.h | 46 struct cv { struct 52 void cv_init(struct cv *cvp, const char *desc); 53 void cv_destroy(struct cv *cvp); 55 void _cv_wait(struct cv *cvp, struct lock_object *lock); 56 void _cv_wait_unlock(struct cv *cvp, struct lock_object *lock); 57 int _cv_wait_sig(struct cv *cvp, struct lock_object *lock); 58 int _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo); 59 int _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo); 61 void cv_signal(struct cv *cvp); 62 void cv_broadcastpri(struct cv *cv [all...] |
H A D | ksem.h | 44 struct cv ks_cv; /* waiters sleep here */
|
H A D | tty.h | 98 struct cv t_inwait; /* (t) Input wait queue. */ 99 struct cv t_outwait; /* (t) Output wait queue. */ 100 struct cv t_outserwait; /* (t) Serial output wait queue. */ 101 struct cv t_bgwait; /* (t) Background wait queue. */ 102 struct cv t_dcdwait; /* (t) Carrier Detect wait queue. */ 183 int tty_wait(struct tty *tp, struct cv *cv); 185 int tty_timedwait(struct tty *tp, struct cv *cv, int timo);
|
/freebsd-9.3-release/lib/libc/iconv/ |
H A D | citrus_iconv.h | 54 _citrus_iconv_convert(struct _citrus_iconv * __restrict cv, argument 60 return (*cv->cv_shared->ci_ops->io_convert)(cv, in, inbytes, out,
|
H A D | citrus_iconv.c | 261 struct _citrus_iconv *cv; local 292 cv = malloc(sizeof(*cv)); 293 if (cv == NULL) { 298 *rcv = cv; 315 _citrus_iconv_close(struct _citrus_iconv *cv) argument 318 if (cv) { 319 (*cv->cv_shared->ci_ops->io_uninit_context)(cv); 320 release_shared(cv [all...] |
/freebsd-9.3-release/tools/regression/pthread/unwind/ |
H A D | cond_wait_cancel.cpp | 12 pthread_cond_t cv; variable 20 pthread_cond_wait(&cv, &mtx); 32 pthread_cond_init(&cv, NULL);
|
H A D | cond_wait_cancel2.cpp | 17 pthread_cond_t cv; variable 24 pthread_cond_wait(&cv, &mtx); 49 pthread_cond_init(&cv, NULL);
|
/freebsd-9.3-release/sbin/hastd/ |
H A D | synch.h | 138 cv_init(pthread_cond_t *cv) argument 147 error = pthread_cond_init(cv, &attr); 153 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) argument 157 error = pthread_cond_wait(cv, lock); 161 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) argument 167 cv_wait(cv, lock); 174 error = pthread_cond_timedwait(cv, lock, &ts); 179 cv_signal(pthread_cond_t *cv) argument 183 error = pthread_cond_signal(cv); 187 cv_broadcast(pthread_cond_t *cv) argument [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/conf/ |
H A D | cnf_save.c | 62 static void print_conf(CONF_VALUE *cv); 79 static void print_conf(CONF_VALUE *cv) argument 90 if (cv->name != NULL) 93 printf("[ %s ]\n", cv->section); 94 s = (STACK *) cv->value;
|
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/ |
H A D | synch.h | 140 cv_init(pthread_cond_t *cv) argument 151 error = pthread_cond_init(cv, &attr); 157 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) argument 161 error = pthread_cond_wait(cv, lock); 165 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) argument 171 cv_wait(cv, lock); 179 error = pthread_cond_timedwait(cv, lock, &ts); 183 error = pthread_cond_timedwait_relative_np(cv, lock, &ts); 191 cv_signal(pthread_cond_t *cv) argument 195 error = pthread_cond_signal(cv); 199 cv_broadcast(pthread_cond_t *cv) argument [all...] |
/freebsd-9.3-release/tools/regression/pthread/cv_cancel1/ |
H A D | cv_cancel1.c | 35 pthread_cond_t cv = PTHREAD_COND_INITIALIZER; variable 45 pthread_cond_wait(&cv, &m); 69 pthread_cond_signal(&cv);
|
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | Valgrind.cpp | 61 const volatile void *cv) {} 63 const volatile void *cv) {} 60 AnnotateHappensBefore(const char *file, int line, const volatile void *cv) argument 62 AnnotateHappensAfter(const char *file, int line, const volatile void *cv) argument
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | mep-relocs.pl | 103 my ($bits, $left, $right, $ci, $c, $cv); 112 $cv = ord($c) - ord('0'); 113 $cv -= ord('a') - ord('9') - 1 if $cv > 9; 114 $right = $cv unless $right < $cv; 115 $bits = $cv+1 unless $bits > $cv+1;
|
/freebsd-9.3-release/sys/i386/bios/ |
H A D | apm.h | 36 struct cv cv; member in struct:apm_softc
|
/freebsd-9.3-release/lib/libiconv_modules/iconv_none/ |
H A D | citrus_iconv_none.c | 83 _citrus_iconv_none_iconv_init_context(struct _citrus_iconv *cv) argument 86 cv->cv_closure = NULL; 92 _citrus_iconv_none_iconv_uninit_context(struct _citrus_iconv *cv __unused)
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_umtx.c | 249 _thr_ucond_init(struct ucond *cv) argument 251 bzero(cv, sizeof(struct ucond)); 255 _thr_ucond_wait(struct ucond *cv, struct umutex *m, argument 264 return _umtx_op_err(cv, UMTX_OP_CV_WAIT, flags, 269 _thr_ucond_signal(struct ucond *cv) argument 271 if (!cv->c_has_waiters) 273 return _umtx_op_err(cv, UMTX_OP_CV_SIGNAL, 0, NULL, NULL); 277 _thr_ucond_broadcast(struct ucond *cv) argument 279 if (!cv->c_has_waiters) 281 return _umtx_op_err(cv, UMTX_OP_CV_BROADCAS [all...] |
/freebsd-9.3-release/usr.sbin/pkg/ |
H A D | config.c | 332 struct config_value *cv; local 398 cv = malloc(sizeof(struct config_value)); 399 cv->value = 401 STAILQ_INSERT_TAIL(temp_config[i].list, cv, 547 struct config_value *cv; local 562 cv = 564 cv->value = 566 STAILQ_INSERT_TAIL(c[i].list, cv, 590 cv = malloc(sizeof(struct config_value)); 591 cv [all...] |
/freebsd-9.3-release/sys/dev/filemon/ |
H A D | filemon_lock.c | 36 cv_wait(&filemon->cv, &filemon->mtx); 52 cv_broadcast(&filemon->cv);
|
/freebsd-9.3-release/sys/dev/usb/ |
H A D | usb_process.h | 52 struct cv up_cv; 53 struct cv up_drain;
|
/freebsd-9.3-release/contrib/libc++/src/ |
H A D | thread.cpp | 168 void notify_all_at_thread_exit(condition_variable* cv, mutex* m); 189 __thread_struct_imp::notify_all_at_thread_exit(condition_variable* cv, mutex* m) argument 191 notify_.push_back(pair<condition_variable*, mutex*>(cv, m)); 214 __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) argument 216 __p_->notify_all_at_thread_exit(cv, m);
|
/freebsd-9.3-release/sys/dev/sfxge/ |
H A D | sfxge_mcdi.c | 61 (void)cv_wait_sig(&mcdi->cv, &mcdi->lock); 78 cv_broadcast(&mcdi->cv); 166 cv_broadcast(&mcdi->cv); 215 cv_init(&mcdi->cv, "sfxge_mcdi"); 246 cv_destroy(&mcdi->cv);
|
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_cm.h | 154 struct cv waitq; 211 iwch_wait(struct cv *cv, struct mtx *lock, int *rpl_done) argument 216 cv_wait_unlock(cv, lock); 222 iwch_wakeup(struct cv *cv, struct mtx *lock, int *rpl_done) argument 227 cv_broadcast(cv);
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_condvar.c | 63 cv_init(struct cv *cvp, const char *desc) 75 cv_destroy(struct cv *cvp) 95 _cv_wait(struct cv *cvp, struct lock_object *lock) 157 _cv_wait_unlock(struct cv *cvp, struct lock_object *lock) 212 _cv_wait_sig(struct cv *cvp, struct lock_object *lock) 278 _cv_timedwait(struct cv *cvp, struct lock_object *lock, int timo) 345 _cv_timedwait_sig(struct cv *cvp, struct lock_object *lock, int timo) 414 cv_signal(struct cv *cvp) 434 cv_broadcastpri(struct cv *cvp, int pri)
|