/xnu-2422.115.4/bsd/security/audit/ |
H A D | audit_bsd.h | 171 struct cv { struct 223 void _audit_cv_init(struct cv *cvp, const char *desc); 224 void _audit_cv_destroy(struct cv *cvp); 225 void _audit_cv_signal(struct cv *cvp); 226 void _audit_cv_broadcast(struct cv *cvp); 227 void _audit_cv_wait(struct cv *cvp, lck_mtx_t *mp, const char *desc); 228 int _audit_cv_wait_sig(struct cv *cvp, lck_mtx_t *mp, const char *desc); 229 int _audit_cv_wait_continuation(struct cv *cvp, lck_mtx_t *mp,
|
H A D | audit_bsd.c | 246 _audit_cv_init(struct cv *cvp, const char *desc) 260 _audit_cv_destroy(struct cv *cvp) 271 _audit_cv_signal(struct cv *cvp) 284 _audit_cv_broadcast(struct cv *cvp) 299 _audit_cv_wait(struct cv *cvp, lck_mtx_t *mp, const char *desc) 313 _audit_cv_wait_sig(struct cv *cvp, lck_mtx_t *mp, const char *desc) 381 _audit_cv_wait_continuation(struct cv *cvp, lck_mtx_t *mp, thread_continue_t function)
|
H A D | audit_private.h | 355 extern struct cv audit_watermark_cv; 356 extern struct cv audit_worker_cv; 357 extern struct cv audit_drain_cv;
|
H A D | audit.c | 156 struct cv audit_worker_cv; 162 struct cv audit_drain_cv; 169 struct cv audit_watermark_cv; 176 static struct cv audit_fail_cv;
|
H A D | audit_pipe.c | 128 struct cv ap_cv;
|
H A D | audit_session.c | 239 struct cv asdev_cv;
|
/xnu-2422.115.4/osfmk/x86_64/ |
H A D | pmap.c | 774 uint64_t ev = sv + nxrosz, cv = sv; local 780 for (pdep = pmap_pde(npmap, cv); pdep != NULL && (cv < ev);) { 781 uint64_t pdev = (cv & ~((uint64_t)PDEMASK)); 788 cv += NBPD; 789 cv &= ~((uint64_t) PDEMASK); 790 pdep = pmap_pde(npmap, cv); 794 for (ptep = pmap_pte(npmap, cv); ptep != NULL && (cv < (pdev + NBPD)) && (cv < e 2508 vm_offset_t cv = sv; local [all...] |
/xnu-2422.115.4/tools/tests/unit_tests/cpu_monitor_tests_11646922_src/ |
H A D | cpumon_test_framework.c | 136 pthread_cond_t cv; variable 155 if ((err = pthread_cond_broadcast(&cv)) != 0) { 171 if ((err = pthread_cond_broadcast(&cv)) != 0) { 293 if ((err = pthread_cond_init(&cv, NULL)) != 0) { 462 pthread_cond_wait(&cv, &lock);
|
/xnu-2422.115.4/bsd/sys/ |
H A D | pthread_shims.h | 78 int (*psynch_cvbroad)(proc_t p, user_addr_t cv, uint64_t cvlsgen, uint64_t cvudgen, uint32_t flags, user_addr_t mutex, uint64_t mugen, uint64_t tid, uint32_t *retval); 79 int (*psynch_cvsignal)(proc_t p, user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, int thread_port, user_addr_t mutex, uint64_t mugen, uint64_t tid, uint32_t flags, uint32_t *retval); 80 int (*psynch_cvwait)(proc_t p, user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, user_addr_t mutex, uint64_t mugen, uint32_t flags, int64_t sec, uint32_t nsec, uint32_t * retval); 81 int (*psynch_cvclrprepost)(proc_t p, user_addr_t cv, uint32_t cvgen, uint32_t cvugen, uint32_t cvsgen, uint32_t prepocnt, uint32_t preposeq, uint32_t flags, int *retval);
|
/xnu-2422.115.4/bsd/kern/ |
H A D | pthread_shims.c | 258 return pthread_functions->psynch_cvbroad(p, uap->cv, uap->cvlsgen, uap->cvudgen, uap->flags, uap->mutex, uap->mugen, uap->tid, retval); 264 return pthread_functions->psynch_cvsignal(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->thread_port, uap->mutex, uap->mugen, uap->tid, uap->flags, retval); 270 return pthread_functions->psynch_cvwait(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->mutex, uap->mugen, uap->flags, uap->sec, uap->nsec, retval); 276 return pthread_functions->psynch_cvclrprepost(p, uap->cv, uap->cvgen, uap->cvugen, uap->cvsgen, uap->prepocnt, uap->preposeq, uap->flags, retval);
|
/xnu-2422.115.4/tools/tests/memorystatus/ |
H A D | memorystatus.c | 85 pthread_cond_t cv; member in struct:shared_mem_t 284 pthread_cond_signal(&g_shared->cv); 305 pthread_cond_wait(&g_shared->cv, &g_shared->mutex); 1788 if (pthread_mutex_init(&g_shared->mutex, &attr) || pthread_cond_init(&g_shared->cv, &cattr)) { 1797 pthread_cond_destroy(&g_shared->cv);
|