Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
vxfs_subr.c File Reference
#include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/kernel.h>
#include <linux/pagemap.h>
#include "vxfs_extern.h"

Go to the source code of this file.

Functions

void vxfs_put_page (struct page *pp)
 
struct pagevxfs_get_page (struct address_space *mapping, u_long n)
 
struct buffer_head * vxfs_bread (struct inode *ip, int block)
 

Variables

struct address_space_operations vxfs_aops
 

Function Documentation

struct buffer_head* vxfs_bread ( struct inode ip,
int  block 
)
read

vxfs_bread - read buffer for a give inode,block tuple : inode : logical block

Description: The vxfs_bread function reads block no of into the buffercache.

Returns: The resulting &struct buffer_head.

Definition at line 102 of file vxfs_subr.c.

struct page* vxfs_get_page ( struct address_space mapping,
u_long  n 
)
read

vxfs_get_page - read a page into memory. : inode to read from
: page number

Description: vxfs_get_page reads the
th page of into the pagecache.

Returns: The wanted page on success, else a NULL pointer.

if (!PageChecked(pp))

vxfs_check_page(pp);

Definition at line 68 of file vxfs_subr.c.

void vxfs_put_page ( struct page pp)
inline

Definition at line 50 of file vxfs_subr.c.

Variable Documentation

Initial value:
= {
.readpage = vxfs_readpage,
.bmap = vxfs_bmap,
}

Definition at line 44 of file vxfs_subr.c.