| /src/crypto/external/apache2/openssl/dist/crypto/thread/arch/ |
| thread_win.c | 302 LEGACY_CONDVAR *cv; local 304 if ((cv = OPENSSL_malloc(sizeof(LEGACY_CONDVAR))) == NULL) 307 if ((cv->int_m = ossl_crypto_mutex_new()) == NULL) { 308 OPENSSL_free(cv); 312 if ((cv->sema = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL)) == NULL) { 313 ossl_crypto_mutex_free(&cv->int_m); 314 OPENSSL_free(cv); 318 if ((cv->prewait_sema = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL)) == NULL) { 319 CloseHandle(cv->sema); 320 ossl_crypto_mutex_free(&cv->int_m) 336 LEGACY_CONDVAR *cv = *(LEGACY_CONDVAR **)cv_p; local 360 LEGACY_CONDVAR *cv = (LEGACY_CONDVAR *)cv_; local 491 LEGACY_CONDVAR *cv = (LEGACY_CONDVAR *)cv_; local 512 LEGACY_CONDVAR *cv = (LEGACY_CONDVAR *)cv_; local [all...] |
| thread_none.c | 61 void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex) 65 void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex, 70 void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv) 74 void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv) 78 void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
|
| thread_posix.c | 168 void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex) 173 cv_p = (pthread_cond_t *)cv; 178 void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex, 181 pthread_cond_t *cv_p = (pthread_cond_t *)cv; 203 void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv) 207 cv_p = (pthread_cond_t *)cv; 211 void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv) 215 cv_p = (pthread_cond_t *)cv; 219 void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv) 223 if (cv == NULL [all...] |
| /src/sys/kern/ |
| kern_condvar.c | 63 * of the CV. 65 #define CV_SLEEPQ(cv) ((sleepq_t *)(cv)->cv_opaque) 66 #define CV_WMESG(cv) ((const char *)(cv)->cv_opaque[1]) 67 #define CV_SET_WMESG(cv, v) (cv)->cv_opaque[1] = __UNCONST(v) 69 #define CV_DEBUG_P(cv) (CV_WMESG(cv) != nodebug) 77 .sobj_name = "cv", [all...] |
| kern_module_hook.c | 50 kcondvar_t cv; member in struct:__anon6853 98 localcount_drain(lc, &module_hook.cv, &module_hook.mtx); 124 localcount_release(lc, &module_hook.cv, &module_hook.mtx); 132 cv_init(&module_hook.cv, "mod_hook");
|
| /src/lib/libc/citrus/ |
| citrus_iconv.h | 53 _citrus_iconv_convert(struct _citrus_iconv * __restrict cv, 61 _DIAGASSERT(cv && cv->cv_shared && cv->cv_shared->ci_ops && 62 cv->cv_shared->ci_ops->io_convert); 65 return (*cv->cv_shared->ci_ops->io_convert)(cv, in, inbytes, out,
|
| /src/external/gpl2/lvm2/dist/lib/format_text/ |
| tags.c | 49 int read_tags(struct dm_pool *mem, struct dm_list *tags, struct config_value *cv) 51 if (cv->type == CFG_EMPTY_ARRAY) 54 while (cv) { 55 if (cv->type != CFG_STRING) { 60 if (!str_list_add(mem, tags, dm_pool_strdup(mem, cv->v.str))) 63 cv = cv->next;
|
| flags.c | 140 int read_flags(uint32_t *status, int type, struct config_value *cv) 149 if (cv->type == CFG_EMPTY_ARRAY) 152 while (cv) { 153 if (cv->type != CFG_STRING) { 159 if (!strcmp(flags[f].description, cv->v.str)) { 164 if (type == VG_FLAGS && !strcmp(cv->v.str, "PARTIAL")) { 174 log_error("Unknown status flag '%s'.", cv->v.str); 178 cv = cv->next;
|
| import_vsn1.c | 58 struct config_value *cv; local 68 cv = cn->v; 69 if (!cv || cv->type != CFG_STRING || strcmp(cv->v.str, CONTENTS_VALUE)) { 82 cv = cn->v; 83 if (!cv || cv->type != CFG_INT || cv->v.i != FORMAT_VERSION_VALUE) { 109 struct config_value *cv; local 299 struct config_value *cv; local 380 struct config_value *cv; local 519 struct config_value *cv = cn->v; local 722 struct config_value *cv = cn->v; local [all...] |
| /src/tests/usr.bin/xlint/lint1/ |
| op_colon.c | 19 const volatile int *cv) 28 sink(cond ? p : cv); 37 sink(cond ? c : cv); 46 sink(cond ? v : cv); 49 sink(cond ? cv : p); 51 sink(cond ? cv : c); 53 sink(cond ? cv : v); 55 sink(cond ? cv : cv);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/ |
| dw2-lines.exp | 42 global cv cdw64 lv ldw64 string_form 43 set cv $_cv 54 global srcdir subdir srcfile cv cdw64 lv ldw64 string_form 60 cu { version $cv is_64 $cdw64 } { 136 proc test { cv cdw64 lv ldw64 {string_form ""}} { 137 with_test_prefix cv=$cv { 142 test_1 $cv $cdw64 $lv $ldw64 145 test_1 $cv $cdw64 $lv $ldw64 $string_form 160 for { set cv $cv_low } { $cv <= $cv_high } { incr cv } [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
| dw2-lines.exp | 42 global cv cdw64 lv ldw64 string_form 43 set cv $_cv 54 global srcdir subdir srcfile cv cdw64 lv ldw64 string_form 60 cu { version $cv is_64 $cdw64 } { 136 proc test { cv cdw64 lv ldw64 {string_form ""}} { 137 with_test_prefix cv=$cv { 142 test_1 $cv $cdw64 $lv $ldw64 145 test_1 $cv $cdw64 $lv $ldw64 $string_form 160 for { set cv $cv_low } { $cv <= $cv_high } { incr cv } [all...] |
| /src/sys/rump/librump/rumpkern/ |
| locks_up.c | 325 #define RUMPCV(cv) (*(struct rumpuser_cv **)(cv)) 328 cv_init(kcondvar_t *cv, const char *msg) 334 rumpuser_cv_init((struct rumpuser_cv **)cv); 338 cv_destroy(kcondvar_t *cv) 341 rumpuser_cv_destroy(RUMPCV(cv)); 345 cv_wait(kcondvar_t *cv, kmutex_t *mtx) 361 rump_schedlock_cv_wait(RUMPCV(cv)); 366 cv_wait_sig(kcondvar_t *cv, kmutex_t *mtx) 369 cv_wait(cv, mtx) [all...] |
| locks.c | 362 #define RUMPCV(cv) (*(struct rumpuser_cv **)(cv)) 365 cv_init(kcondvar_t *cv, const char *msg) 370 rumpuser_cv_init((struct rumpuser_cv **)cv); 374 cv_destroy(kcondvar_t *cv) 377 rumpuser_cv_destroy(RUMPCV(cv)); 381 docvwait(kcondvar_t *cv, kmutex_t *mtx, struct timespec *ts) 398 l->l_sched.info = cv; 401 if (rumpuser_cv_timedwait(RUMPCV(cv), RUMPMTX(mtx), 405 rumpuser_cv_wait(RUMPCV(cv), RUMPMTX(mtx)) [all...] |
| /src/external/gpl2/lvm2/dist/lib/filters/ |
| filter_netbsd.c | 150 struct config_value *cv; local 198 for (cv = cn->v; cv; cv = cv->next) { 199 if (cv->type != CFG_STRING) { 206 name = cv->v.str; 207 cv = cv->next; 208 if (!cv || cv->type != CFG_INT) [all...] |
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_thread_assist.c | 43 ossl_crypto_condvar_wait_timeout(qta->cv, m, deadline); 78 qta->cv = ossl_crypto_condvar_new(); 79 if (qta->cv == NULL) 85 ossl_crypto_condvar_free(&qta->cv); 96 ossl_crypto_condvar_signal(qta->cv); 131 ossl_crypto_condvar_free(&qta->cv); 144 ossl_crypto_condvar_signal(qta->cv);
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
| condition_variable.cc | 83 notifier(condition_variable& cv, unique_lock<mutex>& l) 84 : cv(&cv), mx(l.release()) 93 cv->notify_all(); 96 condition_variable* cv; member in struct:__anon14827::final 125 notify_all_at_thread_exit(condition_variable& cv, unique_lock<mutex> l) 127 (void) new notifier{cv, l};
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
| condition_variable.cc | 83 notifier(condition_variable& cv, unique_lock<mutex>& l) 84 : cv(&cv), mx(l.release()) 93 cv->notify_all(); 96 condition_variable* cv; member in struct:__anon17223::final 125 notify_all_at_thread_exit(condition_variable& cv, unique_lock<mutex> l) 127 (void) new notifier{cv, l};
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
| nouveau_nvkm_subdev_clk_nv04.c | 58 int cv = device->bios->version.chip; local 60 if (cv == 0x30 || cv == 0x31 || cv == 0x35 || cv == 0x36 || 61 cv >= 0x40) {
|
| /src/tests/rump/kernspace/ |
| thread.c | 73 static kcondvar_t cv; variable 82 cv_signal(&cv); 95 cv_init(&cv, "jooei"); 103 cv_wait(&cv, &mtx);
|
| /src/usr.bin/make/unit-tests/ |
| deptgt-makeflags.exp | 7 Global: .MAKEFLAGS = -r -k -D VAR -D VAR -d cv -d 8 Global: .MAKEFLAGS = -r -k -D VAR -D VAR -d cv -d 0
|
| /src/external/bsd/unbound/dist/services/ |
| view.c | 143 struct config_view* cv; local 152 for(cv = cfg->views; cv; cv = cv->next) { 154 if(!(v = views_enter_view_name(vs, cv->name))) 156 v->isfirst = cv->isfirst; 157 if(cv->local_zones || cv->local_data) { 163 lz_cfg.local_zones = cv->local_zones [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| asan_memory_profile.cc | 36 void ProcessChunk(const AsanChunkView &cv) { 37 if (cv.IsAllocated()) { 38 total_allocated_user_size_ += cv.UsedSize(); 40 u32 id = cv.GetAllocStackId(); 42 Insert(id, cv.UsedSize()); 43 } else if (cv.IsQuarantined()) { 44 total_quarantined_user_size_ += cv.UsedSize();
|
| /src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| asan_memory_profile.cpp | 34 void ProcessChunk(const AsanChunkView &cv) { 35 if (cv.IsAllocated()) { 36 total_allocated_user_size_ += cv.UsedSize(); 38 u32 id = cv.GetAllocStackId(); 40 Insert(id, cv.UsedSize()); 41 } else if (cv.IsQuarantined()) { 42 total_quarantined_user_size_ += cv.UsedSize();
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_memory_profile.cpp | 35 void ProcessChunk(const AsanChunkView &cv) { 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();
|