/freebsd-10.0-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-10.0-release/sys/cddl/compat/opensolaris/sys/ |
H A D | kcondvar.h | 42 typedef struct cv kcondvar_t; 49 #define zfs_cv_init(cv, name, type, arg) do { \ 52 for (_name = #cv; *_name != '\0'; _name++) { \ 57 _name = #cv; \ 58 cv_init((cv), _name); \ 60 #define cv_init(cv, name, type, arg) zfs_cv_init(cv, name, type, arg)
|
/freebsd-10.0-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_sbt(struct cv *cvp, struct lock_object *lock, 60 int _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock, 63 void cv_signal(struct cv *cvp); 64 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. */ 182 int tty_wait(struct tty *tp, struct cv *cv); 184 int tty_timedwait(struct tty *tp, struct cv *cv, int timo);
|
/freebsd-10.0-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 | 276 struct _citrus_iconv *cv = NULL; local 307 cv = malloc(sizeof(*cv)); 308 if (cv == NULL) { 313 *rcv = cv; 319 free(cv); 330 _citrus_iconv_close(struct _citrus_iconv *cv) argument 333 if (cv) { 334 (*cv->cv_shared->ci_ops->io_uninit_context)(cv); [all...] |
H A D | bsd_iconv.c | 258 struct _citrus_iconv *cv; local 264 cv = (struct _citrus_iconv *)(void *)cd; 275 convname = cv->cv_shared->ci_convname; 290 *i = cv->cv_shared->ci_discard_ilseq ? 1 : 0; 293 cv->cv_shared->ci_discard_ilseq = *i; 296 cv->cv_shared->ci_hooks = hooks; 302 *i = cv->cv_shared->ci_ilseq_invalid ? 1 : 0; 305 cv->cv_shared->ci_ilseq_invalid = *i;
|
/freebsd-10.0-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-10.0-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-10.0-release/crypto/openssl/crypto/conf/ |
H A D | cnf_save.c | 62 static void print_conf(CONF_VALUE *cv); 81 static void print_conf(CONF_VALUE *cv) argument 92 if (cv->name != NULL) return; 94 printf("[ %s ]\n",cv->section); 95 s=(STACK *)cv->value;
|
/freebsd-10.0-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-10.0-release/tools/regression/pthread/cv_cancel1/ |
H A D | cv_cancel1.c | 36 pthread_cond_t cv = PTHREAD_COND_INITIALIZER; variable 46 pthread_cond_wait(&cv, &m); 70 pthread_cond_signal(&cv);
|
/freebsd-10.0-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-10.0-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-10.0-release/sys/i386/bios/ |
H A D | apm.h | 36 struct cv cv; member in struct:apm_softc
|
/freebsd-10.0-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-10.0-release/sys/cam/ctl/ |
H A D | ctl_frontend_iscsi.h | 74 struct cv cs_maintenance_cv; 87 struct cv cs_login_cv; 108 struct cv accept_cv;
|
/freebsd-10.0-release/sys/dev/iscsi/ |
H A D | iscsi.h | 111 struct cv is_maintenance_cv; 120 struct cv is_login_cv;; 130 struct cv sc_cv;
|
/freebsd-10.0-release/lib/libthr/thread/ |
H A D | thr_umtx.c | 225 _thr_ucond_init(struct ucond *cv) argument 227 bzero(cv, sizeof(struct ucond)); 231 _thr_ucond_wait(struct ucond *cv, struct umutex *m, argument 240 return _umtx_op_err(cv, UMTX_OP_CV_WAIT, flags, 245 _thr_ucond_signal(struct ucond *cv) argument 247 if (!cv->c_has_waiters) 249 return _umtx_op_err(cv, UMTX_OP_CV_SIGNAL, 0, NULL, NULL); 253 _thr_ucond_broadcast(struct ucond *cv) argument 255 if (!cv->c_has_waiters) 257 return _umtx_op_err(cv, UMTX_OP_CV_BROADCAS [all...] |
/freebsd-10.0-release/contrib/atf/atf-config/ |
H A D | atf-config.cpp | 120 std::map< std::string, std::string > cv = atf::config::get_all(); local 123 cv.begin(); iter != cv.end(); iter++)
|
/freebsd-10.0-release/sys/dev/filemon/ |
H A D | filemon_lock.c | 36 cv_wait(&filemon->cv, &filemon->mtx); 52 cv_broadcast(&filemon->cv);
|
/freebsd-10.0-release/sys/dev/usb/ |
H A D | usb_process.h | 54 struct cv up_cv; 55 struct cv up_drain;
|
/freebsd-10.0-release/contrib/libc++/src/ |
H A D | thread.cpp | 164 void notify_all_at_thread_exit(condition_variable* cv, mutex* m); 185 __thread_struct_imp::notify_all_at_thread_exit(condition_variable* cv, mutex* m) argument 187 notify_.push_back(pair<condition_variable*, mutex*>(cv, m)); 210 __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) argument 212 __p_->notify_all_at_thread_exit(cv, m);
|