Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 11 of 11) sorted by relevance

/xnu-12377.41.6/bsd/security/audit/
H A Daudit_bsd.h160 struct cv { struct
212 void _audit_cv_init(struct cv *cvp, const char *desc);
213 void _audit_cv_destroy(struct cv *cvp);
214 void _audit_cv_signal(struct cv *cvp);
215 void _audit_cv_broadcast(struct cv *cvp);
216 void _audit_cv_wait(struct cv *cvp, lck_mtx_t *mp, const char *desc);
217 int _audit_cv_wait_sig(struct cv *cvp, lck_mtx_t *mp, const char *desc);
218 int _audit_cv_wait_continuation(struct cv *cvp, lck_mtx_t *mp,
H A Daudit_bsd.c78 _audit_cv_init(struct cv *cvp, const char *desc) in _audit_cv_init()
92 _audit_cv_destroy(struct cv *cvp) in _audit_cv_destroy()
102 _audit_cv_signal(struct cv *cvp) in _audit_cv_signal()
114 _audit_cv_broadcast(struct cv *cvp) in _audit_cv_broadcast()
128 _audit_cv_wait(struct cv *cvp, lck_mtx_t *mp, const char *desc) in _audit_cv_wait()
141 _audit_cv_wait_sig(struct cv *cvp, lck_mtx_t *mp, const char *desc) in _audit_cv_wait_sig()
206 _audit_cv_wait_continuation(struct cv *cvp, lck_mtx_t *mp, thread_continue_t function) in _audit_cv_wait_continuation()
H A Daudit_private.h379 extern struct cv audit_watermark_cv;
380 extern struct cv audit_worker_cv;
381 extern struct cv audit_drain_cv;
H A Daudit.c159 struct cv audit_worker_cv;
165 struct cv audit_drain_cv;
172 struct cv audit_watermark_cv;
179 static struct cv audit_fail_cv;
H A Daudit_pipe.c128 struct cv ap_cv;
H A Daudit_session.c241 struct cv asdev_cv;
/xnu-12377.41.6/osfmk/x86_64/
H A Dpmap.c957 uint64_t ev, cv = sv; in pmap_mark_range() local
970 for (pdep = pmap_pde(npmap, cv); pdep != NULL && (cv < ev);) { in pmap_mark_range()
971 uint64_t pdev = (cv & ~((uint64_t)PDEMASK)); in pmap_mark_range()
976 kprintf("WARNING: Remapping PDE for %p from %s%s%s to %s%s%s\n", (void *)cv, in pmap_mark_range()
997 if (os_add_overflow(cv, NBPD, &cv)) { in pmap_mark_range()
998 cv = ev; in pmap_mark_range()
1000 cv &= ~((uint64_t) PDEMASK); in pmap_mark_range()
1001 pdep = pmap_pde(npmap, cv); in pmap_mark_range()
1006 for (ptep = pmap_pte(npmap, cv); ptep != NULL && (cv < (pdev + NBPD)) && (cv < ev);) { in pmap_mark_range()
1009 kprintf("WARNING: Remapping PTE for %p from %s%s%s to %s%s%s\n", (void *)cv, in pmap_mark_range()
[all …]
H A Dpmap_pcid.c427 uint64_t cv = startv; in pmap_tlbi_range() local
428 for (; cv < endv; cv += PAGE_SIZE) { in pmap_tlbi_range()
429 invpcid(INP_SINGLE, pcid, cv); in pmap_tlbi_range()
431 invpcid(INP_SINGLE, (pcid + PMAP_PCID_MAX_PCID), cv); in pmap_tlbi_range()
/xnu-12377.41.6/bsd/sys/
H A Dpthread_shims.h93 …int (*psynch_cvbroad)(proc_t p, user_addr_t cv, uint64_t cvlsgen, uint64_t cvudgen, uint32_t flags…
94 …int (*psynch_cvsignal)(proc_t p, user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, int thread_por…
95 …int (*psynch_cvwait)(proc_t p, user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, user_addr_t mute…
96 …int (*psynch_cvclrprepost)(proc_t p, user_addr_t cv, uint32_t cvgen, uint32_t cvugen, uint32_t cvs…
/xnu-12377.41.6/osfmk/kern/
H A Dexclaves_xnuproxy.c387 countof_char_v(const char_v_s *cv) in countof_char_v() argument
389 assert3p(cv, !=, NULL); in countof_char_v()
393 char__v_visit(cv, in countof_char_v()
/xnu-12377.41.6/bsd/pthread/
H A Dpthread_shims.c424 …return pthread_functions->psynch_cvbroad(p, uap->cv, uap->cvlsgen, uap->cvudgen, uap->flags, uap->… in psynch_cvbroad()
430 …return pthread_functions->psynch_cvsignal(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->thread_port,… in psynch_cvsignal()
436 …return pthread_functions->psynch_cvwait(p, uap->cv, uap->cvlsgen, uap->cvugen, uap->mutex, uap->mu… in psynch_cvwait()
442 …return pthread_functions->psynch_cvclrprepost(p, uap->cv, uap->cvgen, uap->cvugen, uap->cvsgen, ua… in psynch_cvclrprepost()