Lines Matching defs:action
817 void vnode_uncache_authorized_action(vnode_t vp, kauth_action_t action)
823 vp->v_authorized_actions &= ~action;
825 if (action == KAUTH_INVALIDATE_CACHED_RIGHTS &&
843 vnode_cache_is_authorized(vnode_t vp, vfs_context_t ctx, kauth_action_t action)
864 if (action != KAUTH_VNODE_SEARCH || vp->v_type != VDIR)
879 if (vp->v_cred == ucred && (vp->v_authorized_actions & action) == action)
888 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t ctx, kauth_action_t action)
897 if (!IS_VALID_CRED(ucred) || action == 0)
910 * only cache SEARCH action for filesystems marked
914 if ( (action & ~KAUTH_VNODE_SEARCH) || vp->v_type != VDIR )
943 vp->v_authorized_actions |= action;