Symbol: cv
crypto/openssl/apps/ca.c
1508
CONF_VALUE *cv;
crypto/openssl/apps/ca.c
1590
cv = sk_CONF_VALUE_value(policy, i); /* get the object id */
crypto/openssl/apps/ca.c
1591
if ((j = OBJ_txt2nid(cv->name)) == NID_undef) {
crypto/openssl/apps/ca.c
1594
cv->name);
crypto/openssl/apps/ca.c
1615
if (strcmp(cv->value, "optional") == 0) {
crypto/openssl/apps/ca.c
1618
} else if (strcmp(cv->value, "supplied") == 0) {
crypto/openssl/apps/ca.c
1622
cv->name);
crypto/openssl/apps/ca.c
1627
} else if (strcmp(cv->value, "match") == 0) {
crypto/openssl/apps/ca.c
1633
cv->name);
crypto/openssl/apps/ca.c
1645
cv->name);
crypto/openssl/apps/ca.c
1660
cv->name,
crypto/openssl/apps/ca.c
1668
cv->value);
crypto/openssl/apps/ca.c
2011
CONF_VALUE *cv = NULL;
crypto/openssl/apps/ca.c
2058
cv = sk_CONF_VALUE_value(sk, i);
crypto/openssl/apps/ca.c
2059
type = cv->name;
crypto/openssl/apps/ca.c
2063
for (buf = cv->name; *buf; buf++)
crypto/openssl/apps/ca.c
2071
buf = cv->value;
crypto/openssl/apps/ca.c
2074
spki = NETSCAPE_SPKI_b64_decode(cv->value, -1);
crypto/openssl/crypto/ec/curve448/curve448.c
675
int cv = (i == control_var[contv].power);
crypto/openssl/crypto/ec/curve448/curve448.c
678
point_double_internal(combo, combo, i && !(cv || cp));
crypto/openssl/crypto/ec/curve448/curve448.c
680
if (cv) {
crypto/openssl/crypto/evp/e_aes.c
1072
memcpy(cctx->kmo.param.cv, iv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1087
memcpy(cctx->kmo.param.cv, iv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1089
*out = *in ^ cctx->kmo.param.cv[n];
crypto/openssl/crypto/evp/e_aes.c
1107
s390x_km(cctx->kmo.param.cv, 16, cctx->kmo.param.cv, cctx->fc,
crypto/openssl/crypto/evp/e_aes.c
1111
out[n] = in[n] ^ cctx->kmo.param.cv[n];
crypto/openssl/crypto/evp/e_aes.c
1116
memcpy(iv, cctx->kmo.param.cv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1143
memcpy(cctx->kmf.param.cv, iv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1168
memcpy(cctx->kmf.param.cv, iv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1171
*out = cctx->kmf.param.cv[n] ^ tmp;
crypto/openssl/crypto/evp/e_aes.c
1172
cctx->kmf.param.cv[n] = enc ? *out : tmp;
crypto/openssl/crypto/evp/e_aes.c
1190
s390x_km(cctx->kmf.param.cv, 16, cctx->kmf.param.cv,
crypto/openssl/crypto/evp/e_aes.c
1195
out[n] = cctx->kmf.param.cv[n] ^ tmp;
crypto/openssl/crypto/evp/e_aes.c
1196
cctx->kmf.param.cv[n] = enc ? out[n] : tmp;
crypto/openssl/crypto/evp/e_aes.c
1201
memcpy(iv, cctx->kmf.param.cv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1228
memcpy(cctx->kmf.param.cv, iv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1240
memcpy(cctx->kmf.param.cv, iv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1242
memcpy(iv, cctx->kmf.param.cv, ivlen);
crypto/openssl/crypto/evp/e_aes.c
1391
buf.w[3] = ctx->kma.param.cv.w + 1;
crypto/openssl/crypto/evp/e_aes.c
1423
ctx->kma.param.cv.w = 1;
crypto/openssl/crypto/evp/e_aes.c
1433
ctx->kma.param.cv.w = ctx->kma.param.j0.w[3];
crypto/openssl/crypto/evp/e_aes.c
890
unsigned char cv[16];
crypto/openssl/crypto/evp/e_aes.c
906
unsigned char cv[16];
crypto/openssl/crypto/evp/e_aes.c
926
} cv;
crypto/openssl/crypto/thread/arch/thread_none.c
61
void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex)
crypto/openssl/crypto/thread/arch/thread_none.c
65
void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex,
crypto/openssl/crypto/thread/arch/thread_none.c
70
void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv)
crypto/openssl/crypto/thread/arch/thread_none.c
74
void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv)
crypto/openssl/crypto/thread/arch/thread_none.c
78
void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
crypto/openssl/crypto/thread/arch/thread_posix.c
168
void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex)
crypto/openssl/crypto/thread/arch/thread_posix.c
173
cv_p = (pthread_cond_t *)cv;
crypto/openssl/crypto/thread/arch/thread_posix.c
178
void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex,
crypto/openssl/crypto/thread/arch/thread_posix.c
181
pthread_cond_t *cv_p = (pthread_cond_t *)cv;
crypto/openssl/crypto/thread/arch/thread_posix.c
203
void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv)
crypto/openssl/crypto/thread/arch/thread_posix.c
207
cv_p = (pthread_cond_t *)cv;
crypto/openssl/crypto/thread/arch/thread_posix.c
211
void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv)
crypto/openssl/crypto/thread/arch/thread_posix.c
215
cv_p = (pthread_cond_t *)cv;
crypto/openssl/crypto/thread/arch/thread_posix.c
219
void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
crypto/openssl/crypto/thread/arch/thread_posix.c
223
if (cv == NULL)
crypto/openssl/crypto/thread/arch/thread_posix.c
226
cv_p = (pthread_cond_t **)cv;
crypto/openssl/crypto/thread/arch/thread_win.c
302
LEGACY_CONDVAR *cv;
crypto/openssl/crypto/thread/arch/thread_win.c
304
if ((cv = OPENSSL_malloc(sizeof(LEGACY_CONDVAR))) == NULL)
crypto/openssl/crypto/thread/arch/thread_win.c
307
if ((cv->int_m = ossl_crypto_mutex_new()) == NULL) {
crypto/openssl/crypto/thread/arch/thread_win.c
308
OPENSSL_free(cv);
crypto/openssl/crypto/thread/arch/thread_win.c
312
if ((cv->sema = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL)) == NULL) {
crypto/openssl/crypto/thread/arch/thread_win.c
313
ossl_crypto_mutex_free(&cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
314
OPENSSL_free(cv);
crypto/openssl/crypto/thread/arch/thread_win.c
318
if ((cv->prewait_sema = CreateSemaphoreA(NULL, 0, LONG_MAX, NULL)) == NULL) {
crypto/openssl/crypto/thread/arch/thread_win.c
319
CloseHandle(cv->sema);
crypto/openssl/crypto/thread/arch/thread_win.c
320
ossl_crypto_mutex_free(&cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
321
OPENSSL_free(cv);
crypto/openssl/crypto/thread/arch/thread_win.c
325
cv->num_wait = 0;
crypto/openssl/crypto/thread/arch/thread_win.c
326
cv->num_wake = 0;
crypto/openssl/crypto/thread/arch/thread_win.c
327
cv->num_prewait = 0;
crypto/openssl/crypto/thread/arch/thread_win.c
328
cv->closed = 0;
crypto/openssl/crypto/thread/arch/thread_win.c
330
return (CRYPTO_CONDVAR *)cv;
crypto/openssl/crypto/thread/arch/thread_win.c
336
LEGACY_CONDVAR *cv = *(LEGACY_CONDVAR **)cv_p;
crypto/openssl/crypto/thread/arch/thread_win.c
338
CloseHandle(cv->sema);
crypto/openssl/crypto/thread/arch/thread_win.c
339
CloseHandle(cv->prewait_sema);
crypto/openssl/crypto/thread/arch/thread_win.c
340
ossl_crypto_mutex_free(&cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
341
OPENSSL_free(cv);
crypto/openssl/crypto/thread/arch/thread_win.c
360
LEGACY_CONDVAR *cv = (LEGACY_CONDVAR *)cv_;
crypto/openssl/crypto/thread/arch/thread_win.c
367
ossl_crypto_mutex_lock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
369
closed = cv->closed;
crypto/openssl/crypto/thread/arch/thread_win.c
378
orig_gen = cv->gen;
crypto/openssl/crypto/thread/arch/thread_win.c
380
} else if (cv->gen != orig_gen) {
crypto/openssl/crypto/thread/arch/thread_win.c
382
orig_gen = cv->gen;
crypto/openssl/crypto/thread/arch/thread_win.c
387
++cv->num_wait;
crypto/openssl/crypto/thread/arch/thread_win.c
389
--cv->num_prewait;
crypto/openssl/crypto/thread/arch/thread_win.c
393
++cv->num_prewait;
crypto/openssl/crypto/thread/arch/thread_win.c
397
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
400
if (obj_wait(cv->prewait_sema, deadline) != WAIT_OBJECT_0) {
crypto/openssl/crypto/thread/arch/thread_win.c
411
ossl_crypto_mutex_lock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
412
if (set_prewait && cv->gen == orig_gen)
crypto/openssl/crypto/thread/arch/thread_win.c
413
--cv->num_prewait;
crypto/openssl/crypto/thread/arch/thread_win.c
414
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
428
rc = obj_wait(cv->sema, deadline);
crypto/openssl/crypto/thread/arch/thread_win.c
431
ossl_crypto_mutex_lock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
433
if (cv->num_wake > 0) {
crypto/openssl/crypto/thread/arch/thread_win.c
442
--cv->num_wake;
crypto/openssl/crypto/thread/arch/thread_win.c
443
if (cv->num_wake == 0 && cv->closed) {
crypto/openssl/crypto/thread/arch/thread_win.c
448
cv->closed = 0;
crypto/openssl/crypto/thread/arch/thread_win.c
449
if (cv->num_prewait > 0) {
crypto/openssl/crypto/thread/arch/thread_win.c
450
ReleaseSemaphore(cv->prewait_sema, (LONG)cv->num_prewait, NULL);
crypto/openssl/crypto/thread/arch/thread_win.c
451
cv->num_prewait = 0;
crypto/openssl/crypto/thread/arch/thread_win.c
452
++cv->gen;
crypto/openssl/crypto/thread/arch/thread_win.c
466
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
473
assert(cv->num_wait > 0);
crypto/openssl/crypto/thread/arch/thread_win.c
474
--cv->num_wait;
crypto/openssl/crypto/thread/arch/thread_win.c
480
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
484
void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *ext_m)
crypto/openssl/crypto/thread/arch/thread_win.c
486
ossl_crypto_condvar_wait_timeout(cv, ext_m, ossl_time_infinite());
crypto/openssl/crypto/thread/arch/thread_win.c
491
LEGACY_CONDVAR *cv = (LEGACY_CONDVAR *)cv_;
crypto/openssl/crypto/thread/arch/thread_win.c
494
ossl_crypto_mutex_lock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
496
num_wake = cv->num_wait;
crypto/openssl/crypto/thread/arch/thread_win.c
498
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
502
cv->num_wake += num_wake;
crypto/openssl/crypto/thread/arch/thread_win.c
503
cv->num_wait -= num_wake;
crypto/openssl/crypto/thread/arch/thread_win.c
504
cv->closed = 1;
crypto/openssl/crypto/thread/arch/thread_win.c
506
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
507
ReleaseSemaphore(cv->sema, num_wake, NULL);
crypto/openssl/crypto/thread/arch/thread_win.c
512
LEGACY_CONDVAR *cv = (LEGACY_CONDVAR *)cv_;
crypto/openssl/crypto/thread/arch/thread_win.c
514
ossl_crypto_mutex_lock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
516
if (cv->num_wait == 0) {
crypto/openssl/crypto/thread/arch/thread_win.c
517
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
525
--cv->num_wait;
crypto/openssl/crypto/thread/arch/thread_win.c
526
++cv->num_wake;
crypto/openssl/crypto/thread/arch/thread_win.c
528
ossl_crypto_mutex_unlock(cv->int_m);
crypto/openssl/crypto/thread/arch/thread_win.c
529
ReleaseSemaphore(cv->sema, 1, NULL);
crypto/openssl/crypto/thread/arch/thread_win.c
544
void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex)
crypto/openssl/crypto/thread/arch/thread_win.c
549
cv_p = (CONDITION_VARIABLE *)cv;
crypto/openssl/crypto/thread/arch/thread_win.c
554
void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex,
crypto/openssl/crypto/thread/arch/thread_win.c
558
CONDITION_VARIABLE *cv_p = (CONDITION_VARIABLE *)cv;
crypto/openssl/crypto/thread/arch/thread_win.c
567
void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv)
crypto/openssl/crypto/thread/arch/thread_win.c
571
cv_p = (CONDITION_VARIABLE *)cv;
crypto/openssl/crypto/thread/arch/thread_win.c
575
void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv)
crypto/openssl/crypto/thread/arch/thread_win.c
579
cv_p = (CONDITION_VARIABLE *)cv;
crypto/openssl/crypto/thread/arch/thread_win.c
583
void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv)
crypto/openssl/crypto/thread/arch/thread_win.c
587
cv_p = (CONDITION_VARIABLE **)cv;
crypto/openssl/include/internal/quic_thread_assist.h
47
CRYPTO_CONDVAR *cv;
crypto/openssl/include/internal/thread_arch.h
49
void ossl_crypto_condvar_wait(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex);
crypto/openssl/include/internal/thread_arch.h
50
void ossl_crypto_condvar_wait_timeout(CRYPTO_CONDVAR *cv, CRYPTO_MUTEX *mutex,
crypto/openssl/include/internal/thread_arch.h
52
void ossl_crypto_condvar_broadcast(CRYPTO_CONDVAR *cv);
crypto/openssl/include/internal/thread_arch.h
53
void ossl_crypto_condvar_signal(CRYPTO_CONDVAR *cv);
crypto/openssl/include/internal/thread_arch.h
54
void ossl_crypto_condvar_free(CRYPTO_CONDVAR **cv);
crypto/openssl/providers/implementations/ciphers/cipher_aes.h
41
unsigned char cv[16];
crypto/openssl/providers/implementations/include/prov/ciphercommon_gcm.h
34
} cv; /* 32 bit counter value */
crypto/openssl/ssl/quic/quic_thread_assist.c
131
ossl_crypto_condvar_free(&qta->cv);
crypto/openssl/ssl/quic/quic_thread_assist.c
144
ossl_crypto_condvar_signal(qta->cv);
crypto/openssl/ssl/quic/quic_thread_assist.c
43
ossl_crypto_condvar_wait_timeout(qta->cv, m, deadline);
crypto/openssl/ssl/quic/quic_thread_assist.c
78
qta->cv = ossl_crypto_condvar_new();
crypto/openssl/ssl/quic/quic_thread_assist.c
79
if (qta->cv == NULL)
crypto/openssl/ssl/quic/quic_thread_assist.c
85
ossl_crypto_condvar_free(&qta->cv);
crypto/openssl/ssl/quic/quic_thread_assist.c
96
ossl_crypto_condvar_signal(qta->cv);
crypto/openssl/test/confdump.c
24
CONF_VALUE *cv = sk_CONF_VALUE_value(sect, i);
crypto/openssl/test/confdump.c
26
printf("%s = %s\n", cv->name, cv->value);
lib/libc/iconv/bsd_iconv.c
251
struct _citrus_iconv *cv;
lib/libc/iconv/bsd_iconv.c
258
cv = (struct _citrus_iconv *)(void *)cd;
lib/libc/iconv/bsd_iconv.c
269
convname = cv->cv_shared->ci_convname;
lib/libc/iconv/bsd_iconv.c
281
*i = cv->cv_shared->ci_discard_ilseq ? 1 : 0;
lib/libc/iconv/bsd_iconv.c
284
cv->cv_shared->ci_discard_ilseq = *i;
lib/libc/iconv/bsd_iconv.c
287
cv->cv_shared->ci_hooks = hooks;
lib/libc/iconv/bsd_iconv.c
293
*i = cv->cv_shared->ci_ilseq_invalid ? 1 : 0;
lib/libc/iconv/bsd_iconv.c
296
cv->cv_shared->ci_ilseq_invalid = *i;
lib/libc/iconv/citrus_iconv.c
281
struct _citrus_iconv *cv = NULL;
lib/libc/iconv/citrus_iconv.c
329
cv = malloc(sizeof(*cv));
lib/libc/iconv/citrus_iconv.c
330
if (cv == NULL) {
lib/libc/iconv/citrus_iconv.c
335
*rcv = cv;
lib/libc/iconv/citrus_iconv.c
341
free(cv);
lib/libc/iconv/citrus_iconv.c
352
_citrus_iconv_close(struct _citrus_iconv *cv)
lib/libc/iconv/citrus_iconv.c
355
if (cv) {
lib/libc/iconv/citrus_iconv.c
356
(*cv->cv_shared->ci_ops->io_uninit_context)(cv);
lib/libc/iconv/citrus_iconv.c
357
release_shared(cv->cv_shared);
lib/libc/iconv/citrus_iconv.c
358
free(cv);
lib/libc/iconv/citrus_iconv.h
55
_citrus_iconv_convert(struct _citrus_iconv * __restrict cv,
lib/libc/iconv/citrus_iconv.h
61
return (*cv->cv_shared->ci_ops->io_convert)(cv, in, inbytes, out,
lib/libiconv_modules/iconv_none/citrus_iconv_none.c
84
_citrus_iconv_none_iconv_init_context(struct _citrus_iconv *cv)
lib/libiconv_modules/iconv_none/citrus_iconv_none.c
87
cv->cv_closure = NULL;
lib/libiconv_modules/iconv_none/citrus_iconv_none.c
93
_citrus_iconv_none_iconv_uninit_context(struct _citrus_iconv *cv __unused)
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
421
_citrus_iconv_std_iconv_init_context(struct _citrus_iconv *cv)
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
423
const struct _citrus_iconv_std_shared *is = cv->cv_shared->ci_closure;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
451
cv->cv_closure = (void *)sc;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
457
_citrus_iconv_std_iconv_uninit_context(struct _citrus_iconv *cv)
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
460
free(cv->cv_closure);
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
464
_citrus_iconv_std_iconv_convert(struct _citrus_iconv * __restrict cv,
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
469
const struct _citrus_iconv_std_shared *is = cv->cv_shared->ci_closure;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
470
struct _citrus_iconv_std_context *sc = cv->cv_closure;
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
525
*inbytes, &szrin, cv->cv_shared->ci_hooks);
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
527
!cv->cv_shared->ci_discard_ilseq)) {
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
567
if (cv->cv_shared->ci_ilseq_invalid != 0) {
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
574
!cv->cv_shared->ci_discard_ilseq) &&
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
578
&szrout, cv->cv_shared->ci_hooks);
lib/libiconv_modules/iconv_std/citrus_iconv_std.c
589
cv->cv_shared->ci_hooks);
lib/libthr/thread/thr_mutex.c
1000
if (!cv && private)
lib/libthr/thread/thr_mutex.c
953
mutex_unlock_common(struct pthread_mutex *m, bool cv, int *mtx_defer)
lib/libthr/thread/thr_umtx.c
238
_thr_ucond_init(struct ucond *cv)
lib/libthr/thread/thr_umtx.c
241
bzero(cv, sizeof(struct ucond));
lib/libthr/thread/thr_umtx.c
245
_thr_ucond_wait(struct ucond *cv, struct umutex *m,
lib/libthr/thread/thr_umtx.c
272
return (_umtx_op_err(cv, UMTX_OP_CV_WAIT, flags, m, arg2));
lib/libthr/thread/thr_umtx.c
276
_thr_ucond_signal(struct ucond *cv)
lib/libthr/thread/thr_umtx.c
279
if (!cv->c_has_waiters)
lib/libthr/thread/thr_umtx.c
281
return (_umtx_op_err(cv, UMTX_OP_CV_SIGNAL, 0, NULL, NULL));
lib/libthr/thread/thr_umtx.c
285
_thr_ucond_broadcast(struct ucond *cv)
lib/libthr/thread/thr_umtx.c
288
if (!cv->c_has_waiters)
lib/libthr/thread/thr_umtx.c
290
return (_umtx_op_err(cv, UMTX_OP_CV_BROADCAST, 0, NULL, NULL));
lib/libthr/thread/thr_umtx.h
61
int _thr_ucond_wait(struct ucond *cv, struct umutex *m,
lib/libthr/thread/thr_umtx.h
64
void _thr_ucond_init(struct ucond *cv) __hidden;
lib/libthr/thread/thr_umtx.h
65
int _thr_ucond_signal(struct ucond *cv) __hidden;
lib/libthr/thread/thr_umtx.h
66
int _thr_ucond_broadcast(struct ucond *cv) __hidden;
sbin/hastd/synch.h
137
cv_init(pthread_cond_t *cv)
sbin/hastd/synch.h
146
error = pthread_cond_init(cv, &attr);
sbin/hastd/synch.h
152
cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) __requires_exclusive(*lock)
sbin/hastd/synch.h
156
error = pthread_cond_wait(cv, lock);
sbin/hastd/synch.h
160
cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout)
sbin/hastd/synch.h
167
cv_wait(cv, lock);
sbin/hastd/synch.h
174
error = pthread_cond_timedwait(cv, lock, &ts);
sbin/hastd/synch.h
179
cv_signal(pthread_cond_t *cv)
sbin/hastd/synch.h
183
error = pthread_cond_signal(cv);
sbin/hastd/synch.h
187
cv_broadcast(pthread_cond_t *cv)
sbin/hastd/synch.h
191
error = pthread_cond_broadcast(cv);
stand/kshim/bsd_kernel.c
343
cv_init(struct cv *cv, const char *desc)
stand/kshim/bsd_kernel.c
345
cv->sleeping = 0;
stand/kshim/bsd_kernel.c
349
cv_destroy(struct cv *cv)
stand/kshim/bsd_kernel.c
355
cv_wait(struct cv *cv, struct mtx *mtx)
stand/kshim/bsd_kernel.c
357
cv_timedwait(cv, mtx, -1);
stand/kshim/bsd_kernel.c
361
cv_timedwait(struct cv *cv, struct mtx *mtx, int timo)
stand/kshim/bsd_kernel.c
367
if (cv->sleeping)
stand/kshim/bsd_kernel.c
370
cv->sleeping = 1;
stand/kshim/bsd_kernel.c
372
while (cv->sleeping) {
stand/kshim/bsd_kernel.c
393
if (cv->sleeping) {
stand/kshim/bsd_kernel.c
394
cv->sleeping = 0;
stand/kshim/bsd_kernel.c
401
cv_signal(struct cv *cv)
stand/kshim/bsd_kernel.c
403
cv->sleeping = 0;
stand/kshim/bsd_kernel.c
407
cv_broadcast(struct cv *cv)
stand/kshim/bsd_kernel.c
409
cv->sleeping = 0;
stand/kshim/bsd_kernel.h
333
void cv_init(struct cv *, const char *desc);
stand/kshim/bsd_kernel.h
334
void cv_destroy(struct cv *);
stand/kshim/bsd_kernel.h
335
void cv_wait(struct cv *, struct mtx *);
stand/kshim/bsd_kernel.h
336
int cv_timedwait(struct cv *, struct mtx *, int);
stand/kshim/bsd_kernel.h
337
void cv_signal(struct cv *);
stand/kshim/bsd_kernel.h
338
void cv_broadcast(struct cv *);
stand/usb/usb_busdma_loader.c
366
cv_init(udpt->cv, "USB DMA CV");
stand/usb/usb_busdma_loader.c
402
cv_destroy(udpt->cv);
sys/arm/broadcom/bcm2835/bcm2835_audio.c
137
struct cv worker_cv;
sys/cam/ctl/ctl_frontend_ioctl.c
68
struct cv sem;
sys/cam/ctl/ctl_frontend_iscsi.h
103
struct cv cs_login_cv;
sys/cam/ctl/ctl_frontend_iscsi.h
120
struct cv sessions_cv;
sys/cam/ctl/ctl_frontend_iscsi.h
123
struct cv accept_cv;
sys/cam/ctl/ctl_frontend_iscsi.h
83
struct cv cs_maintenance_cv;
sys/cddl/compat/opensolaris/sys/kcondvar.h
40
typedef struct cv kcondvar_t;
sys/cddl/compat/opensolaris/sys/kcondvar.h
47
#define zfs_cv_init(cv, name, type, arg) do { \
sys/cddl/compat/opensolaris/sys/kcondvar.h
50
for (_name = #cv; *_name != '\0'; _name++) { \
sys/cddl/compat/opensolaris/sys/kcondvar.h
55
_name = #cv; \
sys/cddl/compat/opensolaris/sys/kcondvar.h
56
cv_init((cv), _name); \
sys/cddl/compat/opensolaris/sys/kcondvar.h
58
#define cv_init(cv, name, type, arg) zfs_cv_init(cv, name, type, arg)
sys/compat/linuxkpi/common/include/linux/usb.h
239
struct cv cv_wait;
sys/compat/linuxkpi/common/include/linux/ww_mutex.h
45
struct cv condvar;
sys/dev/acpica/Osd/OsdSynch.c
68
struct cv as_cv;
sys/dev/adb/adb_kbd.c
72
struct cv sc_cv;
sys/dev/adb/adb_mouse.c
72
struct cv sc_cv;
sys/dev/cxgb/cxgb_adapter.h
287
struct cv qs_cv;
sys/dev/cxgbe/nvmf/nvmf_che.c
211
struct cv rx_cv;
sys/dev/cxgbe/nvmf/nvmf_che.c
219
struct cv tx_cv;
sys/dev/cxgbe/offload.h
150
struct cv ftid_cv;
sys/dev/cxgbe/offload.h
161
struct cv hftid_cv;
sys/dev/hwpmc/hwpmc_mod.c
4158
uint32_t cv, modv;
sys/dev/hwpmc/hwpmc_mod.c
4161
if ((error = copyin(arg, &cv, sizeof(uint32_t))) != 0)
sys/dev/hwpmc/hwpmc_mod.c
4165
if ((cv & 0xFFFF0000) > (modv & 0xFFFF0000)) {
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1333
ret = cv_timedwait(&reqp->event.cv, &reqp->event.mtx, 60*hz);
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
1579
cv_init(&reqp->event.cv, "storvsc timeout cv");
sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
2171
cv_signal(&reqp->event.cv);
sys/dev/ipmi/ipmivars.h
131
struct cv ipmi_request_added;
sys/dev/iscsi/icl_soft.c
76
struct cv send_cv;
sys/dev/iscsi/icl_soft.c
77
struct cv receive_cv;
sys/dev/iscsi/iscsi.h
113
struct cv is_maintenance_cv;
sys/dev/iscsi/iscsi.h
122
struct cv is_login_cv;
sys/dev/iscsi/iscsi.h
132
struct cv sc_cv;
sys/dev/iser/icl_iser.h
398
struct cv flush_cv;
sys/dev/iser/icl_iser.h
434
struct cv up_cv;
sys/dev/mlx5/driver.h
323
struct cv dma_cv;
sys/dev/mlx5/mlx5_en/en_rl.h
144
struct cv cv;
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
1031
cv_broadcast(&rlw->cv);
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
1046
cv_wait(&rlw->cv, &rlw->mtx);
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
1090
cv_destroy(&rlw->cv);
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
1104
cv_broadcast(&rlw->cv);
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
647
cv_wait(&rlw->cv, &rlw->mtx);
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
737
cv_broadcast(&rlw->cv);
sys/dev/mlx5/mlx5_en/mlx5_en_rl.c
945
cv_init(&rlw->cv, "mlx5-worker-cv");
sys/dev/nvmf/nvmf_tcp.c
85
struct cv rx_cv;
sys/dev/nvmf/nvmf_tcp.c
90
struct cv tx_cv;
sys/dev/qat/include/common/adf_uio_control.h
35
struct cv cleanup_ok;
sys/dev/snp/snp.c
110
struct cv snp_outwait; /* (t) Output wait queue. */
sys/dev/sound/pcm/channel.c
253
cv_init(&c->cv, "pcmchn");
sys/dev/sound/pcm/channel.c
261
CHN_BROADCAST(&c->cv);
sys/dev/sound/pcm/channel.c
264
cv_destroy(&c->cv);
sys/dev/sound/pcm/channel.h
118
struct cv intr_cv;
sys/dev/sound/pcm/channel.h
131
struct cv cv;
sys/dev/sound/pcm/dsp.c
1587
cv_wait(&wrch->cv, &wrch->lock);
sys/dev/sound/pcm/dsp.c
1611
cv_wait(&wrch->cv, &wrch->lock);
sys/dev/sound/pcm/dsp.c
507
CHN_BROADCAST(&ch->cv);
sys/dev/sound/pcm/sound.c
355
cv_init(&d->cv, device_get_nameunit(dev));
sys/dev/sound/pcm/sound.c
489
cv_destroy(&d->cv);
sys/dev/sound/pcm/sound.h
214
struct cv cv;
sys/dev/sound/pcm/sound.h
242
cv_wait(&(x)->cv, &(x)->lock); \
sys/dev/sound/pcm/sound.h
259
cv_broadcast(&(x)->cv); \
sys/dev/usb/controller/xhci.h
507
struct cv sc_cmd_cv;
sys/dev/usb/misc/cp2112.c
1310
cv_init(&sc->io.cv, "cp2112iic cv");
sys/dev/usb/misc/cp2112.c
1355
cv_destroy(&sc->io.cv);
sys/dev/usb/misc/cp2112.c
239
struct cv cv;
sys/dev/usb/misc/cp2112.c
757
cv_signal(&sc->io.cv);
sys/dev/usb/misc/cp2112.c
763
cv_signal(&sc->io.cv);
sys/dev/usb/misc/cp2112.c
828
cv_signal(&sc->io.cv);
sys/dev/usb/misc/cp2112.c
841
cv_signal(&sc->io.cv);
sys/dev/usb/misc/cp2112.c
887
cv_wait(&sc->io.cv, &sc->io.lock);
sys/dev/usb/misc/cp2112.c
926
cv_wait(&sc->io.cv, &sc->io.lock);
sys/dev/usb/serial/ufoma.c
165
struct cv sc_cv;
sys/dev/usb/usb_busdma.c
507
cv_broadcast(uptag->cv);
sys/dev/usb/usb_busdma.c
593
cv_wait(uptag->cv, uptag->mtx);
sys/dev/usb/usb_busdma.c
678
cv_wait(uptag->cv, uptag->mtx);
sys/dev/usb/usb_busdma.c
856
cv_init(udpt->cv, "USB DMA CV");
sys/dev/usb/usb_busdma.c
896
cv_destroy(udpt->cv);
sys/dev/usb/usb_busdma.h
108
struct cv cv[1]; /* internal condition variable */
sys/dev/usb/usb_dev.h
110
struct cv cv_io;
sys/dev/usb/usb_dev.h
111
struct cv cv_drain;
sys/dev/usb/usb_device.h
201
struct cv ctrlreq_cv;
sys/dev/usb/usb_device.h
202
struct cv ref_cv;
sys/dev/usb/usb_msctest.c
160
struct cv cv;
sys/dev/usb/usb_msctest.c
278
cv_signal(&sc->cv);
sys/dev/usb/usb_msctest.c
562
cv_wait(&sc->cv, &sc->mtx);
sys/dev/usb/usb_msctest.c
592
cv_wait(&sc->cv, &sc->mtx);
sys/dev/usb/usb_msctest.c
669
cv_init(&sc->cv, "WBBB");
sys/dev/usb/usb_msctest.c
700
cv_destroy(&sc->cv);
sys/dev/usb/usb_process.h
55
struct cv up_cv;
sys/dev/usb/usb_process.h
56
struct cv up_drain;
sys/dev/usb/usb_transfer.h
66
struct cv cv_drain;
sys/dev/usb/usbdi_util.h
29
struct cv;
sys/dev/usb/video/udl.h
64
struct cv sc_cv;
sys/dev/virtio/p9fs/virtio_p9fs.c
67
struct cv submit_cv;
sys/dev/vt/vt.h
146
struct cv vd_winswitch; /* (d) Window switch notify. */
sys/dev/vt/vt_sysmouse.c
78
static struct cv sysmouse_sleep;
sys/fs/autofs/autofs.h
117
struct cv sc_cv;
sys/fs/cuse/cuse.c
1126
error = cv_wait_sig(&pcs->cv, &pcs->mtx);
sys/fs/cuse/cuse.c
115
struct cv cv;
sys/fs/cuse/cuse.c
1158
cv_signal(&pccmd->cv);
sys/fs/cuse/cuse.c
146
struct cv cv;
sys/fs/cuse/cuse.c
1474
cv_destroy(&pccmd->cv);
sys/fs/cuse/cuse.c
1531
cv_init(&pccmd->cv, "cuse-client-cv");
sys/fs/cuse/cuse.c
563
cv_broadcast(&pccmd->cv);
sys/fs/cuse/cuse.c
596
cv_signal(&pcs->cv);
sys/fs/cuse/cuse.c
615
cv_signal(&pcs->cv);
sys/fs/cuse/cuse.c
637
cv_wait(&pccmd->cv, &pcs->mtx);
sys/fs/cuse/cuse.c
639
error = cv_wait_sig(&pccmd->cv, &pcs->mtx);
sys/fs/cuse/cuse.c
652
cv_signal(&pccmd->cv);
sys/fs/cuse/cuse.c
661
cv_wait(&pccmd->cv, &pcs->mtx);
sys/fs/cuse/cuse.c
740
cv_destroy(&pcs->cv);
sys/fs/cuse/cuse.c
802
cv_init(&pcs->cv, "cuse-server-cv");
sys/fs/cuse/cuse.c
887
cv_signal(&pccmd->cv);
sys/fs/cuse/cuse.c
982
cv_signal(&pccmd->cv);
sys/fs/p9fs/p9_client.h
89
struct cv req_cv; /* condition variable on which to wake up thread */
sys/geom/raid/md_intel.c
2356
const char *version, *cv;
sys/geom/raid/md_intel.c
2452
cv = INTEL_VERSION_1206;
sys/geom/raid/md_intel.c
2454
cv = INTEL_VERSION_1204;
sys/geom/raid/md_intel.c
2456
cv = INTEL_VERSION_1202;
sys/geom/raid/md_intel.c
2458
cv = INTEL_VERSION_1201;
sys/geom/raid/md_intel.c
2460
cv = INTEL_VERSION_1100;
sys/geom/raid/md_intel.c
2462
cv = INTEL_VERSION_1000;
sys/geom/raid/md_intel.c
2463
if (strcmp(cv, version) > 0)
sys/geom/raid/md_intel.c
2464
version = cv;
sys/i386/i386/bios.c
130
for (cv = (u_int8_t *)pt, ck = 0, i = 0; i < pt->len; i++) {
sys/i386/i386/bios.c
131
ck += cv[i];
sys/i386/i386/bios.c
82
u_int8_t ck, *cv;
sys/i386/i386/bios.c
94
for (cv = (u_int8_t *)sdh, ck = 0, i = 0; i < (sdh->len * 16); i++) {
sys/i386/i386/bios.c
95
ck += cv[i];
sys/i386/pci/pci_pir.c
132
uint8_t ck, *cv;
sys/i386/pci/pci_pir.c
150
for (cv = (u_int8_t *)pt, ck = 0, i = 0;
sys/i386/pci/pci_pir.c
152
ck += cv[i];
sys/kern/kern_condvar.c
108
_cv_wait(struct cv *cvp, struct lock_object *lock)
sys/kern/kern_condvar.c
171
_cv_wait_unlock(struct cv *cvp, struct lock_object *lock)
sys/kern/kern_condvar.c
228
_cv_wait_sig(struct cv *cvp, struct lock_object *lock)
sys/kern/kern_condvar.c
296
_cv_timedwait_sbt(struct cv *cvp, struct lock_object *lock, sbintime_t sbt,
sys/kern/kern_condvar.c
366
_cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock,
sys/kern/kern_condvar.c
435
cv_signal(struct cv *cvp)
sys/kern/kern_condvar.c
459
cv_broadcastpri(struct cv *cvp, int pri)
sys/kern/kern_condvar.c
76
cv_init(struct cv *cvp, const char *desc)
sys/kern/kern_condvar.c
88
cv_destroy(struct cv *cvp)
sys/kern/kern_devctl.c
152
cv_init(&devsoftc.cv, "dev cv");
sys/kern/kern_devctl.c
240
cv_broadcast(&devsoftc.cv);
sys/kern/kern_devctl.c
266
rv = cv_wait_sig(&devsoftc.cv, &devsoftc.mtx);
sys/kern/kern_devctl.c
425
cv_broadcast(&devsoftc.cv);
sys/kern/kern_devctl.c
70
struct cv cv;
sys/kern/kern_umtx.c
2945
do_cv_wait(struct thread *td, struct ucond *cv, struct umutex *m,
sys/kern/kern_umtx.c
2953
error = fueword32(&cv->c_flags, &flags);
sys/kern/kern_umtx.c
2956
error = umtx_key_get(cv, TYPE_CV, GET_SHARE(flags), &uq->uq_key);
sys/kern/kern_umtx.c
2969
error = fueword32(&cv->c_has_waiters, &hasw);
sys/kern/kern_umtx.c
2971
error = suword32(&cv->c_has_waiters, 1);
sys/kern/kern_umtx.c
3002
if (suword32(&cv->c_has_waiters, 0) != 0 &&
sys/kern/kern_umtx.c
3022
do_cv_signal(struct thread *td, struct ucond *cv)
sys/kern/kern_umtx.c
3028
error = fueword32(&cv->c_flags, &flags);
sys/kern/kern_umtx.c
3031
if ((error = umtx_key_get(cv, TYPE_CV, GET_SHARE(flags), &key)) != 0)
sys/kern/kern_umtx.c
3039
error = suword32(&cv->c_has_waiters, 0);
sys/kern/kern_umtx.c
3051
do_cv_broadcast(struct thread *td, struct ucond *cv)
sys/kern/kern_umtx.c
3057
error = fueword32(&cv->c_flags, &flags);
sys/kern/kern_umtx.c
3060
if ((error = umtx_key_get(cv, TYPE_CV, GET_SHARE(flags), &key)) != 0)
sys/kern/kern_umtx.c
3068
error = suword32(&cv->c_has_waiters, 0);
sys/kern/kern_umtx.c
4129
struct ucond *cv;
sys/kern/kern_umtx.c
4134
cv = uap->obj;
sys/kern/kern_umtx.c
4153
error = fueword32(&cv->c_clockid, &clockid);
sys/kern/kern_umtx.c
4182
return (do_cv_wait(td, cv, uap->uaddr1, timop, wflags));
sys/kern/subr_log.c
93
static struct cv log_wakeup;
sys/kern/subr_terminal.c
603
char cv = c;
sys/kern/subr_terminal.c
609
teken_input(&tm->tm_emulator, &cv, 1);
sys/kern/subr_vmem.c
179
struct cv vm_cv;
sys/kern/sys_generic.c
147
struct cv st_wait; /* (t) Wait channel. */
sys/kern/tty.c
1578
tty_wait(struct tty *tp, struct cv *cv)
sys/kern/tty.c
1586
error = cv_wait_sig(cv, tp->t_mtx);
sys/kern/tty.c
1600
tty_timedwait(struct tty *tp, struct cv *cv, int hz)
sys/kern/tty.c
1608
error = cv_timedwait_sig(cv, tp->t_mtx, hz);
sys/kern/tty_pts.c
93
struct cv pts_inwait; /* (t) Blocking write() on master. */
sys/kern/tty_pts.c
95
struct cv pts_outwait; /* (t) Blocking read() on master. */
sys/kern/vfs_subr.c
282
static struct cv sync_wakeup;
sys/net/if_tuntap.c
147
struct cv tun_cv; /* for ref'd dev destroy */
sys/netsmb/smb_conn.h
194
struct cv co_lock;
sys/rpc/svc.h
255
struct cv st_cond; /* sleeping for work */
sys/security/audit/audit.c
157
struct cv audit_worker_cv;
sys/security/audit/audit.c
164
struct cv audit_watermark_cv;
sys/security/audit/audit.c
171
static struct cv audit_fail_cv;
sys/security/audit/audit_pipe.c
134
struct cv ap_cv;
sys/security/audit/audit_private.h
377
extern struct cv audit_watermark_cv;
sys/security/audit/audit_private.h
378
extern struct cv audit_worker_cv;
sys/sys/condvar.h
48
void cv_init(struct cv *cvp, const char *desc);
sys/sys/condvar.h
49
void cv_destroy(struct cv *cvp);
sys/sys/condvar.h
51
void _cv_wait(struct cv *cvp, struct lock_object *lock);
sys/sys/condvar.h
52
void _cv_wait_unlock(struct cv *cvp, struct lock_object *lock);
sys/sys/condvar.h
53
int _cv_wait_sig(struct cv *cvp, struct lock_object *lock);
sys/sys/condvar.h
54
int _cv_timedwait_sbt(struct cv *cvp, struct lock_object *lock,
sys/sys/condvar.h
56
int _cv_timedwait_sig_sbt(struct cv *cvp, struct lock_object *lock,
sys/sys/condvar.h
59
void cv_signal(struct cv *cvp);
sys/sys/condvar.h
60
void cv_broadcastpri(struct cv *cvp, int pri);
sys/sys/ksem.h
44
struct cv ks_cv; /* waiters sleep here */
sys/sys/proc.h
769
struct cv p_pwait; /* (*) wait cv for exit/exec. */
sys/sys/qmath.h
112
#define Q_SCVAL(q, cv) ((q) = ((q) & ~Q_CRAWMASK(q)) | (cv))
sys/sys/sema.h
40
struct cv sema_cv; /* Waiters. */
sys/sys/tty.h
100
struct cv t_outwait; /* (t) Output wait queue. */
sys/sys/tty.h
101
struct cv t_outserwait; /* (t) Serial output wait queue. */
sys/sys/tty.h
102
struct cv t_bgwait; /* (t) Background wait queue. */
sys/sys/tty.h
103
struct cv t_dcdwait; /* (t) Carrier Detect wait queue. */
sys/sys/tty.h
193
int tty_wait(struct tty *tp, struct cv *cv);
sys/sys/tty.h
195
int tty_timedwait(struct tty *tp, struct cv *cv, int timo);
sys/sys/tty.h
99
struct cv t_inwait; /* (t) Input wait queue. */
sys/sys/ttydisc.h
39
struct cv;
tests/sys/kern/ssl_sendfile.c
130
ATF_REQUIRE(pthread_cond_init(&c->cv, NULL) == 0);
tests/sys/kern/ssl_sendfile.c
138
ATF_REQUIRE(pthread_cond_wait(&c->cv, &c->mtx) == 0);
tests/sys/kern/ssl_sendfile.c
170
ATF_REQUIRE(pthread_cond_signal(&c->cv) == 0);
tests/sys/kern/ssl_sendfile.c
175
ATF_REQUIRE(pthread_cond_destroy(&c->cv) == 0);
tests/sys/kern/ssl_sendfile.c
211
ATF_REQUIRE(pthread_cond_signal(&c->cv) == 0);
tests/sys/kern/ssl_sendfile.c
230
ATF_REQUIRE(pthread_cond_signal(&c->cv) == 0);
tests/sys/kern/ssl_sendfile.c
231
ATF_REQUIRE(pthread_cond_wait(&c->cv, &c->mtx) == 0);
tests/sys/kern/ssl_sendfile.c
252
ATF_REQUIRE(pthread_cond_signal(&c->cv) == 0);
tests/sys/kern/ssl_sendfile.c
260
ATF_REQUIRE(pthread_cond_wait(&c->cv, &c->mtx) == 0);
tests/sys/kern/ssl_sendfile.c
443
ATF_REQUIRE(pthread_cond_wait(&c.cv, &c.mtx) == 0);
tests/sys/kern/ssl_sendfile.c
70
pthread_cond_t cv;
tools/regression/pthread/cv_cancel1/cv_cancel1.c
34
static pthread_cond_t cv = PTHREAD_COND_INITIALIZER;
tools/regression/pthread/cv_cancel1/cv_cancel1.c
44
pthread_cond_wait(&cv, &m);
tools/regression/pthread/cv_cancel1/cv_cancel1.c
69
pthread_cond_signal(&cv);
tools/regression/pthread/unwind/cond_wait_cancel.cpp
11
static pthread_cond_t cv;
tools/regression/pthread/unwind/cond_wait_cancel.cpp
19
pthread_cond_wait(&cv, &mtx);
tools/regression/pthread/unwind/cond_wait_cancel.cpp
31
pthread_cond_init(&cv, NULL);
tools/regression/pthread/unwind/cond_wait_cancel2.cpp
16
static pthread_cond_t cv;
tools/regression/pthread/unwind/cond_wait_cancel2.cpp
23
pthread_cond_wait(&cv, &mtx);
tools/regression/pthread/unwind/cond_wait_cancel2.cpp
48
pthread_cond_init(&cv, NULL);
usr.sbin/pciconf/pciconf.c
1107
struct pci_vendor_info *cv;
usr.sbin/pciconf/pciconf.c
1124
cv = NULL;
usr.sbin/pciconf/pciconf.c
1151
if ((cv = malloc(sizeof(struct pci_vendor_info))) == NULL) {
usr.sbin/pciconf/pciconf.c
1156
if ((cv->desc = strdup(str)) == NULL) {
usr.sbin/pciconf/pciconf.c
1157
free(cv);
usr.sbin/pciconf/pciconf.c
1162
cv->id = id;
usr.sbin/pciconf/pciconf.c
1163
TAILQ_INIT(&cv->devs);
usr.sbin/pciconf/pciconf.c
1164
TAILQ_INSERT_TAIL(&pci_vendors, cv, link);
usr.sbin/pciconf/pciconf.c
1172
if (cv == NULL) {
usr.sbin/pciconf/pciconf.c
1188
TAILQ_INSERT_TAIL(&cv->devs, cd, link);
usr.sbin/pkg/config.c
223
struct config_value *cv;
usr.sbin/pkg/config.c
274
cv = malloc(sizeof(struct config_value));
usr.sbin/pkg/config.c
275
cv->value =
usr.sbin/pkg/config.c
277
STAILQ_INSERT_TAIL(temp_config[i].list, cv,
usr.sbin/pkg/config.c
576
struct config_value *cv;
usr.sbin/pkg/config.c
590
cv =
usr.sbin/pkg/config.c
592
cv->value =
usr.sbin/pkg/config.c
594
STAILQ_INSERT_TAIL(c[i].list, cv,
usr.sbin/pkg/config.c
617
cv = malloc(sizeof(struct config_value));
usr.sbin/pkg/config.c
618
cv->value = strdup("/etc/pkg");
usr.sbin/pkg/config.c
619
STAILQ_INSERT_TAIL(c[REPOS_DIR].list, cv, next);
usr.sbin/pkg/config.c
620
cv = malloc(sizeof(struct config_value));
usr.sbin/pkg/config.c
621
if (asprintf(&cv->value, "%s/etc/pkg/repos", localbase) < 0)
usr.sbin/pkg/config.c
623
STAILQ_INSERT_TAIL(c[REPOS_DIR].list, cv, next);
usr.sbin/pkg/config.c
626
STAILQ_FOREACH(cv, c[REPOS_DIR].list, next)
usr.sbin/pkg/config.c
627
load_repositories(cv->value, requested_repo);
usr.sbin/usbconfig/dump.c
360
struct usb_vendor_info *cv;
usr.sbin/usbconfig/dump.c
381
cv = NULL;
usr.sbin/usbconfig/dump.c
406
if ((cv = malloc(sizeof(struct usb_vendor_info))) == NULL)
usr.sbin/usbconfig/dump.c
408
if ((cv->desc = strdup(str)) == NULL)
usr.sbin/usbconfig/dump.c
410
cv->id = id;
usr.sbin/usbconfig/dump.c
411
STAILQ_INIT(&cv->devs);
usr.sbin/usbconfig/dump.c
412
STAILQ_INSERT_TAIL(usb_vendors, cv, link);
usr.sbin/usbconfig/dump.c
420
if (cv == NULL)
usr.sbin/usbconfig/dump.c
427
STAILQ_INSERT_TAIL(&cv->devs, cd, link);