Searched refs:cvp (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.1.9/bsd/security/audit/ |
| H A D | audit_bsd.h | 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, 220 #define cv_init(cvp, desc) _audit_cv_init(cvp, desc) argument 221 #define cv_destroy(cvp) _audit_cv_destroy(cvp) argument 222 #define cv_signal(cvp) _audit_cv_signal(cvp) argument [all …]
|
| H A D | audit_bsd.c | 78 _audit_cv_init(struct cv *cvp, const char *desc) in _audit_cv_init() argument 81 cvp->cv_description = "UNKNOWN"; in _audit_cv_init() 83 cvp->cv_description = desc; in _audit_cv_init() 85 cvp->cv_waiters = 0; in _audit_cv_init() 92 _audit_cv_destroy(struct cv *cvp) in _audit_cv_destroy() argument 94 cvp->cv_description = NULL; in _audit_cv_destroy() 95 cvp->cv_waiters = 0; in _audit_cv_destroy() 102 _audit_cv_signal(struct cv *cvp) in _audit_cv_signal() argument 104 if (cvp->cv_waiters > 0) { in _audit_cv_signal() 105 wakeup_one((caddr_t)cvp); in _audit_cv_signal() [all …]
|
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_subr.c | 10042 vnode_t cvp = NULLVP; in vnode_authorize_callback() local 10068 cvp = dvp; in vnode_authorize_callback() 10087 cvp = vnode_getparent(vp); in vnode_authorize_callback() 10088 if (cvp != NULLVP) { in vnode_authorize_callback() 10091 cvp = NULL; in vnode_authorize_callback() 10106 cvp = vp; in vnode_authorize_callback() 10110 if (vnode_cache_is_authorized(cvp, ctx, parent_iocount ? parent_action : action) == TRUE) { in vnode_authorize_callback() 10117 if (result == KAUTH_RESULT_ALLOW && cvp != NULLVP) { in vnode_authorize_callback() 10118 KAUTH_DEBUG("%p - caching action = %x", cvp, action); in vnode_authorize_callback() 10119 vnode_cache_authorized_action(cvp, ctx, action); in vnode_authorize_callback() [all …]
|