Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/pagemap.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include "vxfs.h"
#include "vxfs_inode.h"
#include "vxfs_extern.h"
Go to the source code of this file.
Functions | |
struct vxfs_inode_info * | vxfs_blkiget (struct super_block *sbp, u_long extent, ino_t ino) |
struct vxfs_inode_info * | vxfs_stiget (struct super_block *sbp, ino_t ino) |
struct inode * | vxfs_get_fake_inode (struct super_block *sbp, struct vxfs_inode_info *vip) |
void | vxfs_put_fake_inode (struct inode *ip) |
struct inode * | vxfs_iget (struct super_block *sbp, ino_t ino) |
void | vxfs_evict_inode (struct inode *ip) |
Variables | |
struct kmem_cache * | vxfs_inode_cachep |
|
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.
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.
|
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.
|
read |
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.
|
read |
struct kmem_cache* vxfs_inode_cachep |
Definition at line 44 of file vxfs_inode.c.