HomeSort by: relevance | last modified time | path
    Searched refs:cv (Results 1 - 25 of 75) sorted by relevancy

1 2 3

  /src/sys/kern/
kern_condvar.c 62 * of the CV.
64 #define CV_SLEEPQ(cv) ((sleepq_t *)(cv)->cv_opaque)
65 #define CV_WMESG(cv) ((const char *)(cv)->cv_opaque[1])
66 #define CV_SET_WMESG(cv, v) (cv)->cv_opaque[1] = __UNCONST(v)
68 #define CV_DEBUG_P(cv) (CV_WMESG(cv) != nodebug)
76 .sobj_name = "cv",
    [all...]
kern_module_hook.c 50 kcondvar_t cv; member in struct:__anone55dcd900108
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");
subr_localcount.c 81 * localcount_drain(lc, cv, interlock)
85 * and waits on cv. The cv and interlock passed here must be the
98 localcount_drain(struct localcount *lc, kcondvar_t *cv, kmutex_t *interlock)
113 * so that it is safe to wait on the cv for them.
129 cv_wait(cv, interlock);
228 * localcount_release(lc, cv, interlock)
232 * localcount_drain by acquiring interlock, waking cv, and
233 * releasing interlock. The cv and interlock passed here must be
240 localcount_release(struct localcount *lc, kcondvar_t *cv, kmutex_t *interlock
    [all...]
  /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,
citrus_iconv.c 336 struct _citrus_iconv *cv; local in function:_citrus_iconv_open
363 cv = malloc(sizeof(*cv));
364 if (cv == NULL) {
369 cv->cv_shared = ci;
370 ret = (*ci->ci_ops->io_init_context)(cv);
373 free(cv);
376 *rcv = cv;
386 _citrus_iconv_close(struct _citrus_iconv *cv)
388 if (cv) {
    [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/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/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/
nouveau_nvkm_subdev_clk_nv04.c 58 int cv = device->bios->version.chip; local in function:nv04_clk_pll_prog
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 in typeref:typename:kcondvar_t
82 cv_signal(&cv);
95 cv_init(&cv, "jooei");
103 cv_wait(&cv, &mtx);
workqueue.c 47 kcondvar_t cv; member in struct:test_softc
66 cv_broadcast(&sc->cv);
78 cv_init(&sc->cv, "rumpwqcv");
93 cv_destroy(&sc->cv);
110 e = cv_timedwait(&sc->cv, &sc->mtx, hz * 2);
  /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/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/lib/librumpuser/
rumpuser_pth.c 502 rumpuser_cv_init(struct rumpuser_cv **cv)
505 NOFAIL(*cv = malloc(sizeof(struct rumpuser_cv)));
506 NOFAIL_ERRNO(pthread_cond_init(&((*cv)->pthcv), NULL));
507 (*cv)->nwaiters = 0;
511 rumpuser_cv_destroy(struct rumpuser_cv *cv)
514 NOFAIL_ERRNO(pthread_cond_destroy(&cv->pthcv));
515 free(cv);
531 * If the cv interlock is a spin mutex, we must first release
557 rumpuser_cv_wait(struct rumpuser_cv *cv, struct rumpuser_mtx *mtx)
561 cv->nwaiters++
    [all...]
rumpuser_pth_dummy.c 242 rumpuser_cv_init(struct rumpuser_cv **cv)
249 rumpuser_cv_destroy(struct rumpuser_cv *cv)
256 rumpuser_cv_wait(struct rumpuser_cv *cv, struct rumpuser_mtx *mtx)
263 rumpuser_cv_wait_nowrap(struct rumpuser_cv *cv, struct rumpuser_mtx *mtx)
270 rumpuser_cv_timedwait(struct rumpuser_cv *cv, struct rumpuser_mtx *mtx,
286 rumpuser_cv_signal(struct rumpuser_cv *cv)
293 rumpuser_cv_broadcast(struct rumpuser_cv *cv)
300 rumpuser_cv_has_waiters(struct rumpuser_cv *cv, int *rvp)
rumpfiber.c 912 struct rumpuser_cv *cv; local in function:rumpuser_cv_init
914 cv = malloc(sizeof(*cv));
915 memset(cv, 0, sizeof(*cv));
916 TAILQ_INIT(&cv->waiters);
917 *cvp = cv;
921 rumpuser_cv_destroy(struct rumpuser_cv *cv)
924 assert(cv->nwaiters == 0);
925 free(cv);
    [all...]
  /src/sys/external/bsd/drm2/linux/
linux_wait_bit.c 49 kcondvar_t cv; member in struct:__anon9938850b0108::waitbitentry
63 cv_init(&waitbittab[i].ent.cv, "waitbit");
75 cv_destroy(&waitbittab[i].ent.cv);
121 cv_broadcast(&wbe->cv);
145 cv_wait(&wbe->cv, &wbe->lock);
147 error = cv_wait_sig(&wbe->cv, &wbe->lock);
196 error = cv_timedwait(&wbe->cv, &wbe->lock,
199 error = cv_timedwait_sig(&wbe->cv, &wbe->lock,
  /src/lib/libc/citrus/modules/
citrus_iconv_none.c 87 _citrus_iconv_none_iconv_init_context(struct _citrus_iconv *cv)
89 cv->cv_closure = NULL;
95 _citrus_iconv_none_iconv_uninit_context(struct _citrus_iconv *cv)
  /src/sys/crypto/aes/arch/arm/
aes_neon_subr.c 86 uint8x16_t cv; local in function:aes_neon_cbc_enc
90 cv = loadblock(iv);
92 cv ^= loadblock(in);
93 cv = aes_neon_enc1(enc, cv, nrounds);
94 storeblock(out, cv);
96 storeblock(iv, cv);
104 uint8x16_t iv0, cv, b; local in function:aes_neon_cbc_dec
110 cv = loadblock(in + nbytes - 16);
111 storeblock(iv, cv);
    [all...]
  /src/sys/external/bsd/common/linux/
linux_rcu.c 69 kcondvar_t cv; member in struct:__anonacf366960108
175 cv_wait(&gc.cv, &gc.lock);
198 cv_broadcast(&gc.cv);
219 cv_broadcast(&gc.cv);
253 cv_wait(&gc.cv, &gc.lock);
299 cv_broadcast(&gc.cv);
333 cv_init(&gc.cv, "lnxrcugc");
348 fail: cv_destroy(&gc.cv);
359 cv_broadcast(&gc.cv);
366 cv_destroy(&gc.cv);
    [all...]
  /src/sys/crypto/aes/arch/x86/
aes_ssse3_subr.c 83 __m128i cv; local in function:aes_ssse3_cbc_enc
87 cv = loadblock(iv);
89 cv ^= loadblock(in);
90 cv = aes_ssse3_enc1(enc, cv, nrounds);
91 storeblock(out, cv);
93 storeblock(iv, cv);
101 __m128i iv0, cv, b; local in function:aes_ssse3_cbc_dec
107 cv = loadblock(in + nbytes - 16);
108 storeblock(iv, cv);
    [all...]
aes_sse2_subr.c 133 __m128i cv; local in function:aes_sse2_cbc_enc
142 cv = _mm_loadu_epi8(iv);
145 /* Load input block and apply CV. */
146 q[0] = aes_sse2_interleave_in(cv ^ _mm_loadu_epi8(in));
153 /* Remember ciphertext as CV and store output block. */
154 cv = aes_sse2_interleave_out(q[0]);
155 _mm_storeu_epi8(out, cv);
159 _mm_storeu_epi8(iv, cv);
173 __m128i cv, iv, w; local in function:aes_sse2_cbc_dec
185 cv = _mm_loadu_epi8(in + nbytes - 16)
    [all...]
  /src/regress/sys/kern/allocfree/
allocfree.c 54 static kcondvar_t cv; variable in typeref:typename:kcondvar_t
148 cv_wait(&cv, &lock);
150 cv_broadcast(&cv);
183 cv_broadcast(&cv);
214 cv_broadcast(&cv);
216 cv_wait(&cv, &lock);
261 cv_init(&cv, "testcv");
270 cv_destroy(&cv);
  /src/sbin/veriexecctl/
veriexecctl_parse.y 219 #define cvt(cv) \
220 if (isdigit((unsigned char) cv)) \
221 value += (cv) - '0'; \
222 else if (isxdigit((unsigned char) cv)) \
223 value += 10 + tolower((unsigned char) cv) - 'a'; \
  /src/sys/dev/sysmon/
sysmon_taskq.c 259 kcondvar_t cv; member in struct:tqbarrier
270 cv_broadcast(&bar->cv);
292 cv_init(&bar.cv, "sysmontq");
304 cv_wait(&bar.cv, &bar.lock);
307 cv_destroy(&bar.cv);

Completed in 25 milliseconds

1 2 3