|
vn_isdisk(9) -- checks if a vnode represents a disk
|
The vn_isdisk() function checks to see if vp represents a disk. In order for vp to be a disk, it must be a character device, v_rdev must be valid, and the cdevsw entry's flags must have D_DISK set. I... |
vn_lock(9) -- serialize access to a vnode
|
These calls are used to serialize access to the file system, such as to prevent two writes to the same file from happening at the same time. The arguments are: vp the vnode being locked or unlocked fl... |
VOP_ACCESS(9) -- check access permissions of a file or Unix domain socket
|
This entry point checks the access permissions of the file against the given credentials. Its arguments are: vp the vnode of the file to check mode the type of access required cred the user credential... |
VOP_ACLCHECK(9) -- check an access control list for a vnode
|
This vnode call may be used to determine the validity of a particular access control list (ACL) for a particular file or directory. Its arguments are: vp the vnode of the file or directory type the ty... |
VOP_ADVLOCK(9) -- advisory record locking
|
The arguments are: vp the vnode being manipulated id the id token which is changing the lock op the operation to perform (see fcntl(2)) fl description of the lock flags One of more of the following: F... |
VOP_ATTRIB(9) -- get and set attributes on a file or directory
|
These entry points manipulate various attributes of a file or directory, including file permissions, owner, group, size, access time and modification time. The arguments are: vp the vnode of the file ... |
VOP_BWRITE(9) -- write a file system buffer
|
The arguments are: vp the vnode of the file being written to bp the buffer to be written |
VOP_CLOSE(9) -- open or close a file
|
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... |
VOP_CREATE(9) -- create a file, socket, fifo, device, directory or symlink
|
These entry points create a new file, socket, fifo, device, directory or symlink in a given directory. The arguments are: dvp the locked vnode of the directory vpp the address of a variable where the ... |
VOP_CREATEVOBJECT(9) -- VM object interaction
|
These calls are used to control the association of a VM object with a particular vnode. The arguments specific to these functions are: vp the vnode of the file objpp the VM object being returned, or N... |
VOP_DESTROYVOBJECT(9) -- VM object interaction
|
These calls are used to control the association of a VM object with a particular vnode. The arguments specific to these functions are: vp the vnode of the file objpp the VM object being returned, or N... |
VOP_FSYNC(9) -- flush file system buffers for a file
|
This call flushes any dirty file system buffers for the file. It is used to implement the sync(2) and fsync(2) system calls. Its arguments are: vp the vnode of the file cred the caller's credentials ... |
VOP_GETACL(9) -- retrieve access control list for a vnode
|
This vnode call may be used to retrieve the access control list (ACL) from a file or directory. Its arguments are: vp the vnode of the file or directory type the type of ACL to retrieve aclp a pointer... |