Accesses blocks of a file.
int vn_strategy ( vp, bp, crp)
struct vnode *vp;
struct buf *bp;
struct ucred *crp;
vp | Points to the virtual node (v-node) of the file. |
bp | Points to a buf structure that describes the buffer. |
crp | Points to the cred structure. This structure contains data that applications can use to validate access permission. |
The vn_strategy entry point accesses blocks of a file. This entry point is intended to provide a block-oriented interface for servers for efficiency in paging.
0 | Indicates success. |
Nonzero return values are returned from the /usr/include/sys/errno.h file to indicate failure.
The buf structure.
Virtual File System Overview, Virtual File System Kernel Extensions Overview, Logical File System Overview, Understanding Virtual Nodes (V-nodes) in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.
List of Virtual File System Operations.