Searched refs:cvp (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.h | 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, 231 #define cv_init(cvp, desc) _audit_cv_init(cvp, desc) 232 #define cv_destroy(cvp) _audit_cv_destro [all...] |
H A D | audit_bsd.c | 246 _audit_cv_init(struct cv *cvp, const char *desc) argument 250 cvp->cv_description = "UNKNOWN"; 252 cvp->cv_description = desc; 253 cvp->cv_waiters = 0; 260 _audit_cv_destroy(struct cv *cvp) argument 263 cvp->cv_description = NULL; 264 cvp->cv_waiters = 0; 271 _audit_cv_signal(struct cv *cvp) argument 274 if (cvp->cv_waiters > 0) { 275 wakeup_one((caddr_t)cvp); 284 _audit_cv_broadcast(struct cv *cvp) argument 299 _audit_cv_wait(struct cv *cvp, lck_mtx_t *mp, const char *desc) argument 313 _audit_cv_wait_sig(struct cv *cvp, lck_mtx_t *mp, const char *desc) argument 381 _audit_cv_wait_continuation(struct cv *cvp, lck_mtx_t *mp, thread_continue_t function) argument [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_readwrite.c | 1456 struct vnode *cvp; local 1459 myErr = hfs_vget(hfsmp, cnid, &cvp, 0, 0); 1465 hfs_unlock(VTOC(cvp)); 1467 if (vnode_vtype(cvp) == VDIR) { 1468 myErr = vnode_authorize(cvp, NULL, (KAUTH_VNODE_SEARCH | KAUTH_VNODE_LIST_DIRECTORY), context); 1470 myErr = vnode_authorize(cvp, NULL, KAUTH_VNODE_READ_DATA, context); 1473 vnode_put(cvp);
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 6668 vnode_t cvp = NULLVP; local 6693 cvp = dvp; 6712 cvp = vnode_getparent(vp); 6713 if (cvp != NULLVP) { 6716 cvp = NULL; 6732 cvp = vp; 6736 if (vnode_cache_is_authorized(cvp, ctx, parent_iocount ? parent_action : action) == TRUE) { 6743 if (result == KAUTH_RESULT_ALLOW && cvp != NULLVP) { 6744 KAUTH_DEBUG("%p - caching action = %x", cvp, action); 6745 vnode_cache_authorized_action(cvp, ct [all...] |
Completed in 42 milliseconds