Calls used to set or query file systems for settings or information. File systems that don't implement a VFS operation should use the appropriate vfs_std function from src/sys/kern/vfs_default.c rath...
Each file system type known to the kernel has a vfsconf structure that contains the information required to create a new mount of that file systems type. struct vfsconf { struct vfsops *vfc_vfsops; /*...
The vfs_busy() function marks a mount point as busy. The purpose of this function is to synchronize access to a mount point. It also delays unmounting by sleeping on mp if the MNTK_UNMOUNT flag is set...
This is used by the NFS server to check if a mount point is exported to a client. Its arguments are: mp The mount point to be checked. nam An mbuf containing the network address of the client. exflags...
This is used by the NFS server to turn an NFS filehandle into a vnode. Its arguments are: mp The file system. fhp The filehandle to convert. vpp Return parameter for the new locked vnode. The contents...
The vfs_getnewfsid() function allocates a new file system identifier for the mount point given. File systems typically call vfs_getnewfsid() in their mount routine in order to acquire a unique ID with...
The vfs_getvfs() function returns the mount point structure for a file system given its file system identifier. The file system ID should have been allocated by calling vfs_getnewfsid(9); otherwise, i...
This function is called once to allow a file system to initialize any global data structures that it might have. It is either called when the operating system boots or, for dynamically loaded file sys...
Each file system type known to the kernel has a vfsconf structure that contains the information required to create a new mount of that file systems type. struct vfsconf { struct vfsops *vfc_vfsops; /*...
Mount a file system into the system's namespace. Its arguments are: mp Structure representing the file system. path Pathname where the file system is being mounted. data File system specific data. Th...
The vfs_mount() function handles the generic portion of mounting a file system, and calls the file system specific mount function after verifying its parameters and setting up the structures expected ...
vfs_mountedon() inspects the mount structure in vp to determine if it points to a valid mount point. If the mount is valid, the vnode is considered to be busy. A common use of vfs_mountedon() is to ca...
Each file system type known to the kernel has a vfsconf structure that contains the information required to create a new mount of that file systems type. struct vfsconf { struct vfsops *vfc_vfsops; /*...