VOP_STRATEGY(9) | Kernel Developer's Manual | VOP_STRATEGY(9) |
VOP_STRATEGY
—
read or write a file system buffer
#include
<sys/param.h>
#include <sys/vnode.h>
int
VOP_STRATEGY
(struct
vnode *vp, struct buf
*bp);
The arguments are:
This call either reads or writes data from a file, depending on the value of bp->b_io.bio_cmd.
The call may block.
Always zero. Errors should be signalled by setting BIO_ERROR on b_ioflags field in struct buf, and setting b_error to the appropriate errno value.
This manual page was written by Doug Rabson.
February 2, 2014 | Debian |