[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

vn_strategy Entry Point

Purpose

Accesses blocks of a file.

Syntax

int vn_strategy (vp, bp, crp)
struct vnode *vp;
struct buf *bp;
struct ucred *crp;

Parameters

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.

Description

Note: The vn_strategy entry point is not implemented in Version 3.2 of the operating system.

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.

Return Values

0 Indicates success.

Nonzero return values are returned from the /usr/include/sys/errno.h file to indicate failure.

Related Information

The buf structure.

Virtual File System Overview, Virtual File System Kernel Extensions Overview, Logical File System Overview, Understanding Virtual Nodes (V-nodes) in AIX Kernel Extensions and Device Support Programming Concepts.

List of Virtual File System Operations.


[ Previous | Next | Contents | Home | Search ]