Lines Matching defs:mount
1216 int tmpfs_rename_enter(struct mount *, struct tmpfs_mount *,
1222 int tmpfs_rename_enter_common(struct mount *, struct tmpfs_mount *,
1227 int tmpfs_rename_enter_separate(struct mount *, struct tmpfs_mount *,
1238 int tmpfs_rename_lock(struct mount *, struct ucred *, int,
1302 * Also don't allow renames of mount points.
1380 struct mount *mount;
1418 mount = fdvp->v_mount;
1419 KASSERT(mount != NULL);
1420 KASSERT(mount == tdvp->v_mount);
1422 * likely to mount a tmpfs read-only...) */
1423 KASSERT((mount->mnt_flag & MNT_RDONLY) == 0);
1424 tmpfs = VFS_TO_TMPFS(mount);
1449 error = tmpfs_rename_enter(mount, tmpfs, cred,
1599 tmpfs_rename_enter(struct mount *mount, struct tmpfs_mount *tmpfs,
1608 KASSERT(mount != NULL);
1627 error = tmpfs_rename_enter_common(mount, tmpfs, cred, fdvp,
1631 error = tmpfs_rename_enter_separate(mount, tmpfs, cred,
1661 tmpfs_rename_enter_common(struct mount *mount, struct tmpfs_mount *tmpfs,
1677 /* Did we lose a race with mount? */
1706 error = tmpfs_vnode_get(mount, fde->td_node, &fvp);
1712 KASSERT(fvp->v_mount == mount);
1714 /* Refuse to rename a mount point. */
1731 error = tmpfs_vnode_get(mount, tde->td_node, &tvp);
1734 KASSERT(tvp->v_mount == mount);
1735 /* Refuse to rename over a mount point. */
1772 tmpfs_rename_enter_separate(struct mount *mount, struct tmpfs_mount *tmpfs,
1800 error = tmpfs_rename_lock(mount, cred, ENOTEMPTY,
1804 error = tmpfs_rename_lock(mount, cred, EINVAL,
1994 tmpfs_rename_lock(struct mount *mount, struct ucred *cred, int overlap_error,
2028 /* Did we lose a race with mount? */
2052 error = tmpfs_vnode_get(mount, a_dirent->td_node, &a_vp);
2055 KASSERT(a_vp->v_mount == mount);
2056 /* Refuse to rename (over) a mount point. */
2074 /* Did we lose a race with mount? */
2099 error = tmpfs_vnode_get(mount, b_dirent->td_node,
2103 KASSERT(b_vp->v_mount == mount);
2105 /* Refuse to rename (over) a mount point. */