Copyright (c) 1996 Doug Rabson All rights reserved. This program is free software. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in...
NAMEVOP_STRATEGY - read or write a file system buffer
SYNOPSISIn sys/param.h In sys/vnode.h Ft int Fn VOP_STRATEGY struct vnode *vp struct buf *bp
DESCRIPTIONThe arguments are:
- Fa vp
- The vnode that the buffer is for.
- Fa bp
- The buffer to be read or written.
This call either reads or writes data from a file, depending on the value of Fa bp->b_io.bio_cmd .
The call may block.