/freebsd-11-stable/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-11-stable/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 | 99 struct cv t_inwait; /* (t) Input wait queue. */ 100 struct cv t_outwait; /* (t) Output wait queue. */ 101 struct cv t_outserwait; /* (t) Serial output wait queue. */ 102 struct cv t_bgwait; /* (t) Background wait queue. */ 103 struct cv t_dcdwait; /* (t) Carrier Detect wait queue. */ 187 int tty_wait(struct tty *tp, struct cv *cv); 189 int tty_timedwait(struct tty *tp, struct cv *cv, int timo);
|
/freebsd-11-stable/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 | 278 struct _citrus_iconv *cv = NULL; local 317 cv = malloc(sizeof(*cv)); 318 if (cv == NULL) { 323 *rcv = cv; 329 free(cv); 340 _citrus_iconv_close(struct _citrus_iconv *cv) argument 343 if (cv) { 344 (*cv->cv_shared->ci_ops->io_uninit_context)(cv); [all...] |
/freebsd-11-stable/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-11-stable/contrib/unbound/services/ |
H A D | view.c | 146 struct config_view* cv; local 155 for(cv = cfg->views; cv; cv = cv->next) { 157 if(!(v = views_enter_view_name(vs, cv->name))) 159 v->isfirst = cv->isfirst; 160 if(cv->local_zones || cv->local_data) { 166 lz_cfg.local_zones = cv [all...] |
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_os.h | 425 #define KMP_COMPARE_AND_STORE_RET32(p, cv, sv) \ 426 InterlockedCompareExchange((volatile long *)(p), (long)(sv), (long)(cv)) 449 extern kmp_int8 __kmp_compare_and_store8(volatile kmp_int8 *p, kmp_int8 cv, 451 extern kmp_int16 __kmp_compare_and_store16(volatile kmp_int16 *p, kmp_int16 cv, 453 extern kmp_int32 __kmp_compare_and_store32(volatile kmp_int32 *p, kmp_int32 cv, 455 extern kmp_int32 __kmp_compare_and_store64(volatile kmp_int64 *p, kmp_int64 cv, 457 extern kmp_int8 __kmp_compare_and_store_ret8(volatile kmp_int8 *p, kmp_int8 cv, 460 kmp_int16 cv, kmp_int16 sv); 462 kmp_int32 cv, kmp_int32 sv); 464 kmp_int64 cv, kmp_int6 655 mips_sync_bool_compare_and_swap( volatile kmp_uint64 *p, kmp_uint64 cv, kmp_uint64 sv) argument 660 mips_sync_val_compare_and_swap( volatile kmp_uint64 *p, kmp_uint64 cv, kmp_uint64 sv) argument [all...] |
/freebsd-11-stable/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-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | synch.h | 138 cv_init(pthread_cond_t *cv) argument 149 error = pthread_cond_init(cv, &attr); 155 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) argument 159 error = pthread_cond_wait(cv, lock); 163 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) argument 169 cv_wait(cv, lock); 177 error = pthread_cond_timedwait(cv, lock, &ts); 181 error = pthread_cond_timedwait_relative_np(cv, lock, &ts); 189 cv_signal(pthread_cond_t *cv) argument 193 error = pthread_cond_signal(cv); 197 cv_broadcast(pthread_cond_t *cv) argument [all...] |
/freebsd-11-stable/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-11-stable/sbin/hastd/ |
H A D | synch.h | 140 cv_init(pthread_cond_t *cv) argument 149 error = pthread_cond_init(cv, &attr); 155 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) __requires_exclusive(*lock) 159 error = pthread_cond_wait(cv, lock); 163 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) 170 cv_wait(cv, lock); 177 error = pthread_cond_timedwait(cv, lock, &ts); 182 cv_signal(pthread_cond_t *cv) argument 186 error = pthread_cond_signal(cv); 190 cv_broadcast(pthread_cond_t *cv) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/rump/kernspace/ |
H A D | thread.c | 73 static kcondvar_t cv; variable 82 cv_signal(&cv); 95 cv_init(&cv, "jooei"); 103 cv_wait(&cv, &mtx);
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_frontend_iscsi.h | 84 struct cv cs_maintenance_cv; 104 struct cv cs_login_cv; 121 struct cv sessions_cv; 124 struct cv accept_cv;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_memory_profile.cpp | 35 void ProcessChunk(const AsanChunkView &cv) { argument 36 if (cv.IsAllocated()) { 37 total_allocated_user_size_ += cv.UsedSize(); 39 u32 id = cv.GetAllocStackId(); 41 Insert(id, cv.UsedSize()); 42 } else if (cv.IsQuarantined()) { 43 total_quarantined_user_size_ += cv.UsedSize();
|
/freebsd-11-stable/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-11-stable/sys/i386/bios/ |
H A D | apm.h | 36 struct cv cv; member in struct:apm_softc
|
/freebsd-11-stable/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-11-stable/sys/dev/iscsi/ |
H A D | iscsi.h | 113 struct cv is_maintenance_cv; 122 struct cv is_login_cv; 132 struct cv sc_cv;
|
/freebsd-11-stable/contrib/llvm-project/lld/Common/ |
H A D | Filesystem.cpp | 63 std::condition_variable cv; 69 cv.notify_all(); 77 cv.wait(l, [&] { return started; });
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_umtx.c | 248 _thr_ucond_init(struct ucond *cv) argument 251 bzero(cv, sizeof(struct ucond)); 255 _thr_ucond_wait(struct ucond *cv, struct umutex *m, argument 266 return (_umtx_op_err(cv, UMTX_OP_CV_WAIT, flags, m, 271 _thr_ucond_signal(struct ucond *cv) argument 274 if (!cv->c_has_waiters) 276 return (_umtx_op_err(cv, UMTX_OP_CV_SIGNAL, 0, NULL, NULL)); 280 _thr_ucond_broadcast(struct ucond *cv) argument 283 if (!cv->c_has_waiters) 285 return (_umtx_op_err(cv, UMTX_OP_CV_BROADCAS [all...] |
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.c | 137 cv_init(&c->cv, "VCHI completion cv"); 145 cv_destroy(&c->cv); 157 cv_signal(&c->cv); 173 cv_broadcast(&c->cv); 209 cv_wait(&c->cv, &c->lock); 237 res = cv_timedwait_sig(&c->cv, &c->lock, timeout); 273 res = cv_wait_sig(&c->cv, &c->lock); 312 cv_init(&s->cv, "sema cv"); [all...] |
/freebsd-11-stable/usr.sbin/pkg/ |
H A D | config.c | 211 struct config_value *cv; local 277 cv = malloc(sizeof(struct config_value)); 278 cv->value = 280 STAILQ_INSERT_TAIL(temp_config[i].list, cv, 426 struct config_value *cv; local 441 cv = 443 cv->value = 445 STAILQ_INSERT_TAIL(c[i].list, cv, 469 cv = malloc(sizeof(struct config_value)); 470 cv [all...] |