Lines Matching defs:fvp
5520 vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
5537 if (fvp->v_type == VDIR &&
5538 ((fdvp == fvp) ||
5553 error = mac_vnode_check_rename_from(ctx, fdvp, fvp, fcnp);
5568 if (fvp->v_type == VDIR && tvp->v_type != VDIR) {
5571 } else if (fvp->v_type != VDIR && tvp->v_type == VDIR) {
5577 if (fvp == tdvp) {
5589 * o fvp
5597 if (tdvp->v_parent == fvp) {
5618 * If fvp is a directory, and we are changing it's parent,
5621 if (vnode_isdir(fvp)) {
5622 if ((error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE | KAUTH_VNODE_ADD_SUBDIRECTORY, ctx)) != 0)
5625 if ((error = vnode_authorize(fvp, fdvp, KAUTH_VNODE_DELETE, ctx)) != 0)
5632 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE,
5639 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE, ctx)) != 0)