Lines Matching defs:fvp
5512 vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
5529 if (fvp->v_type == VDIR &&
5530 ((fdvp == fvp) ||
5545 error = mac_vnode_check_rename_from(ctx, fdvp, fvp, fcnp);
5560 if (fvp->v_type == VDIR && tvp->v_type != VDIR) {
5563 } else if (fvp->v_type != VDIR && tvp->v_type == VDIR) {
5569 if (fvp == tdvp) {
5581 * o fvp
5589 if (tdvp->v_parent == fvp) {
5610 * If fvp is a directory, and we are changing it's parent,
5613 if (vnode_isdir(fvp)) {
5614 if ((error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE | KAUTH_VNODE_ADD_SUBDIRECTORY, ctx)) != 0)
5617 if ((error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE, ctx)) != 0)
5624 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE,
5631 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE, ctx)) != 0)