Lines Matching defs:ctx
203 build_path(vnode_t first_vp, char *buff, int buflen, int *outlen, int flags, vfs_context_t ctx)
220 if (vfs_context_proc(ctx)->p_fd)
221 proc_root_dir_vp = vfs_context_proc(ctx)->p_fd->fd_rdir;
382 ret = vnode_getattr(vp, &va, ctx);
424 if ((ret = VFS_VGET(vp->v_mount, (ino64_t)va.va_parentid, &dvp, ctx)))
480 if ((ret = vnode_authorize(vp, NULL, KAUTH_VNODE_SEARCH, ctx)))
843 vnode_cache_is_authorized(vnode_t vp, vfs_context_t ctx, kauth_action_t action)
875 ucred = vfs_context_ucred(ctx);
888 void vnode_cache_authorized_action(vnode_t vp, vfs_context_t ctx, kauth_action_t action)
895 ucred = vfs_context_ucred(ctx);
976 vfs_context_t ctx, int *dp_authorized, vnode_t last_dp)
994 ucred = vfs_context_ucred(ctx);
1090 error = mac_vnode_check_lookup(ctx, dp, cnp);
1286 error = vnode_trigger_resolve(trigger_vp, ndp, ctx);