Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
vxfs_extern.h File Reference

Go to the source code of this file.

Functions

daddr_t vxfs_bmap1 (struct inode *, long)
 
int vxfs_read_fshead (struct super_block *)
 
void vxfs_dumpi (struct vxfs_inode_info *, ino_t)
 
struct inodevxfs_get_fake_inode (struct super_block *, struct vxfs_inode_info *)
 
void vxfs_put_fake_inode (struct inode *)
 
struct vxfs_inode_infovxfs_blkiget (struct super_block *, u_long, ino_t)
 
struct vxfs_inode_infovxfs_stiget (struct super_block *, ino_t)
 
struct inodevxfs_iget (struct super_block *, ino_t)
 
void vxfs_evict_inode (struct inode *)
 
int vxfs_read_olt (struct super_block *, u_long)
 
struct pagevxfs_get_page (struct address_space *, u_long)
 
void vxfs_put_page (struct page *)
 
struct buffer_head * vxfs_bread (struct inode *, int)
 

Variables

struct inode_operations vxfs_immed_symlink_iops
 
struct address_space_operations vxfs_immed_aops
 
struct kmem_cachevxfs_inode_cachep
 
struct inode_operations vxfs_dir_inode_ops
 
struct file_operations vxfs_dir_operations
 
struct address_space_operations vxfs_aops
 

Function Documentation

struct vxfs_inode_info* vxfs_blkiget ( struct super_block sbp,
u_long  extent,
ino_t  ino 
)
read

vxfs_blkiget - find inode based on extent # : superblock of the filesystem we search in : number of the extent to search : inode number to search

Description: vxfs_blkiget searches inode in the filesystem described by in the extent . Returns the matching VxFS inode on success, else a NULL pointer.

NOTE: While __vxfs_iget uses the pagecache vxfs_blkiget uses the buffercache. This function should not be used outside the read_super() method, otherwise the data may be incoherent.

Definition at line 88 of file vxfs_inode.c.

daddr_t vxfs_bmap1 ( struct inode ip,
long  iblock 
)

vxfs_bmap1 - vxfs-internal bmap operation : pointer to the inode we do bmap for : logical block

Description: vxfs_bmap1 perfoms a logical to physical block mapping for vxfs-internal purposes.

Return Value: The physical block number on success, else Zero.

Definition at line 260 of file vxfs_bmap.c.

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.

void vxfs_dumpi ( struct vxfs_inode_info ,
ino_t   
)
void vxfs_evict_inode ( struct inode ip)

vxfs_evict_inode - remove inode from main memory : inode to discard.

Description: vxfs_evict_inode() is called on the final iput and frees the private inode area.

Definition at line 355 of file vxfs_inode.c.

struct inode* vxfs_get_fake_inode ( struct super_block sbp,
struct vxfs_inode_info vip 
)
read

vxfs_get_fake_inode - get fake inode structure : filesystem superblock : fspriv inode

Description: vxfs_fake_inode gets a fake inode (not in the inode hash) for a superblock, vxfs_inode pair. Returns the filled VFS inode.

Definition at line 258 of file vxfs_inode.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.

struct inode* vxfs_iget ( struct super_block sbp,
ino_t  ino 
)
read

vxfs_iget - get an inode : the superblock to get the inode for : the number of the inode to get

Description: vxfs_read_inode creates an inode, reads the disk inode for and fills in all relevant fields in the new inode.

Definition at line 293 of file vxfs_inode.c.

void vxfs_put_fake_inode ( struct inode ip)

vxfs_put_fake_inode - free faked inode *ip: VFS inode

Description: vxfs_put_fake_inode frees all data associated with .

Definition at line 278 of file vxfs_inode.c.

void vxfs_put_page ( struct page )
inline

Definition at line 50 of file vxfs_subr.c.

int vxfs_read_fshead ( struct super_block sbp)

vxfs_read_fshead - read the fileset headers : superblock to which the fileset belongs

Description: vxfs_read_fshead will fill the inode and structural inode list in .

Returns: Zero on success, else a negative error code (-EINVAL).

Definition at line 107 of file vxfs_fshead.c.

int vxfs_read_olt ( struct super_block sbp,
u_long  bsize 
)

vxfs_read_olt - read olt : superblock of the filesystem : blocksize of the filesystem

Description: vxfs_read_olt reads the olt of the filesystem described by into main memory and does some basic setup.

Returns: Zero on success, else a negative error code.

Definition at line 77 of file vxfs_olt.c.

struct vxfs_inode_info* vxfs_stiget ( struct super_block sbp,
ino_t  ino 
)
read

vxfs_stiget - find inode using the structural inode list : VFS superblock : inode #

Description: Find inode in the filesystem described by using the structural inode list. Returns the matching VxFS inode on success, else a NULL pointer.

Definition at line 174 of file vxfs_inode.c.

Variable Documentation

Definition at line 44 of file vxfs_subr.c.

struct inode_operations vxfs_dir_inode_ops

Definition at line 54 of file vxfs_lookup.c.

struct file_operations vxfs_dir_operations

Definition at line 58 of file vxfs_lookup.c.

Definition at line 60 of file vxfs_immed.c.

struct inode_operations vxfs_immed_symlink_iops

Definition at line 52 of file vxfs_immed.c.

struct kmem_cache* vxfs_inode_cachep

Definition at line 44 of file vxfs_inode.c.