Lines Matching defs:tmpfs

34  * tmpfs vnode interface.
57 #include <fs/tmpfs/tmpfs_vnops.h>
58 #include <fs/tmpfs/tmpfs.h>
61 * vnode operations vector used for files stored in a tmpfs file system.
944 struct tmpfs_mount *tmpfs;
970 * Pull out the tmpfs data structures.
985 * likely to mount a tmpfs read-only...) */
987 tmpfs = VFS_TO_TMPFS(mount);
988 KASSERT(tmpfs != NULL);
998 newname = tmpfs_strname_alloc(tmpfs, tcnp->cn_namelen);
1012 error = tmpfs_rename_enter(mount, tmpfs, cred,
1050 error = tmpfs_do_remove(tmpfs, fdvp, fdnode, fde, fvp,
1100 tmpfs_rename_attachdetach(tmpfs, fdvp, fde, fvp, tdvp, tde, tvp);
1112 tmpfs_strname_free(tmpfs, fde->td_name, fde->td_namelen);
1128 tmpfs_rename_exit(tmpfs, fdvp, fvp, tdvp, tvp);
1137 tmpfs_strname_free(tmpfs, newname, tcnp->cn_namelen);
1165 tmpfs_rename_enter(struct mount *mount, struct tmpfs_mount *tmpfs,
1175 KASSERT(tmpfs != NULL);
1193 error = tmpfs_rename_enter_common(mount, tmpfs, cred, fdvp,
1197 error = tmpfs_rename_enter_separate(mount, tmpfs, cred,
1227 tmpfs_rename_enter_common(struct mount *mount, struct tmpfs_mount *tmpfs,
1338 tmpfs_rename_enter_separate(struct mount *mount, struct tmpfs_mount *tmpfs,
1354 mutex_enter(&tmpfs->tm_rename_lock);
1383 tmpfs_rename_exit(tmpfs, fdvp, fvp, tdvp, tvp);
1395 mutex_exit(&tmpfs->tm_rename_lock);
1410 tmpfs_rename_exit(struct tmpfs_mount *tmpfs,
1415 KASSERT(tmpfs != NULL);
1440 mutex_exit(&tmpfs->tm_rename_lock);
1744 tmpfs_rename_attachdetach(struct tmpfs_mount *tmpfs,
1749 KASSERT(tmpfs != NULL);
1798 tmpfs_free_dirent(tmpfs, tde);
1808 tmpfs_do_remove(struct tmpfs_mount *tmpfs, struct vnode *dvp,
1814 KASSERT(tmpfs != NULL);
1836 tmpfs_free_dirent(tmpfs, de);