The VOP_OPEN() entry point is called before a file is accessed by a process and the VOP_CLOSE() entry point is called after a file is finished with by the process. The arguments are: vp the vnode of t...
The arguments are: vp the vnode to get information about name the type of information to return retval the place to return the information The value of name specifies what should be returned: _PC_LINK...
The VOP_GETPAGES() method is called to read in pages of virtual memory which are backed by ordinary files. If other adjacent pages are backed by adjacent regions of the same file, VOP_GETPAGES() is re...
These entry points read or write the contents of a file The arguments are: vp the vnode of the file uio the location of the data to be read or written ioflag various flags cnp the credentials of the c...
These entry points read or write the contents of a file The arguments are: vp the vnode of the file uio the location of the data to be read or written ioflag various flags cnp the credentials of the c...
Read directory entries. vp the vnode of the directory uio where to read the directory contents cred the caller's credentials eofflag return end of file status (NULL if not wanted) ncookies number of ...
This reads the target pathname of a symbolic link vp the vnode of the symlink uio the location of the data to be read or written cred the credentials of the caller
The arguments are: vp the vnode being reclaimed VOP_INACTIVE() is called when the kernel is no longer using the vnode. This may be because the reference count reaches zero or it may be that the file s...
These entry points remove files and directories respectively. The arguments are: dvp the vnode of the directory vp the vnode of the file to be removed cnp pathname information about the file
This renames a file and possibly changes its parent directory. If the destination object exists, it will be removed first. Its arguments are: fdvp the vnode of the old parent directory fvp the vnode o...
VOP_REVOKE() will administratively revoke access to the device specified by vp, as well as any aliases created via make_dev_alias(9). Further file operations on any of these devices by processes which...
These entry points remove files and directories respectively. The arguments are: dvp the vnode of the directory vp the vnode of the file to be removed cnp pathname information about the file
This vnode call may be used to set the access control list (ACL) for a file or directory. Its arguments are: vp the vnode of the file or directory type the type of ACL to set aclp a pointer to an ACL ...