Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
inode.h File Reference
#include "extent_map.h"

Go to the source code of this file.

Data Structures

struct  ocfs2_inode_info
 

Macros

#define OCFS2_INODE_SYSTEM_FILE   0x00000001
 
#define OCFS2_INODE_JOURNAL   0x00000002
 
#define OCFS2_INODE_BITMAP   0x00000004
 
#define OCFS2_INODE_DELETED   0x00000008
 
#define OCFS2_INODE_SKIP_DELETE   0x00000010
 
#define OCFS2_INODE_MAYBE_ORPHANED   0x00000020
 
#define OCFS2_INODE_OPEN_DIRECT   0x00000040
 
#define OCFS2_INODE_SKIP_ORPHAN_DIR   0x00000080
 
#define INODE_JOURNAL(i)   (OCFS2_I(i)->ip_flags & OCFS2_INODE_JOURNAL)
 
#define SET_INODE_JOURNAL(i)   (OCFS2_I(i)->ip_flags |= OCFS2_INODE_JOURNAL)
 
#define OCFS2_FI_FLAG_SYSFILE   0x1
 
#define OCFS2_FI_FLAG_ORPHAN_RECOVERY   0x2
 

Functions

void ocfs2_evict_inode (struct inode *inode)
 
int ocfs2_drop_inode (struct inode *inode)
 
struct inodeocfs2_ilookup (struct super_block *sb, u64 feoff)
 
struct inodeocfs2_iget (struct ocfs2_super *osb, u64 feoff, unsigned flags, int sysfile_type)
 
int ocfs2_inode_init_private (struct inode *inode)
 
int ocfs2_inode_revalidate (struct dentry *dentry)
 
void ocfs2_populate_inode (struct inode *inode, struct ocfs2_dinode *fe, int create_ino)
 
void ocfs2_read_inode (struct inode *inode)
 
void ocfs2_read_inode2 (struct inode *inode, void *opaque)
 
ssize_t ocfs2_rw_direct (int rw, struct file *filp, char *buf, size_t size, loff_t *offp)
 
void ocfs2_sync_blockdev (struct super_block *sb)
 
void ocfs2_refresh_inode (struct inode *inode, struct ocfs2_dinode *fe)
 
int ocfs2_mark_inode_dirty (handle_t *handle, struct inode *inode, struct buffer_head *bh)
 
int ocfs2_aio_read (struct file *file, struct kiocb *req, struct iocb *iocb)
 
int ocfs2_aio_write (struct file *file, struct kiocb *req, struct iocb *iocb)
 
struct buffer_head * ocfs2_bread (struct inode *inode, int block, int *err, int reada)
 
void ocfs2_set_inode_flags (struct inode *inode)
 
void ocfs2_get_inode_flags (struct ocfs2_inode_info *oi)
 
int ocfs2_validate_inode_block (struct super_block *sb, struct buffer_head *bh)
 
int ocfs2_read_inode_block (struct inode *inode, struct buffer_head **bh)
 
int ocfs2_read_inode_block_full (struct inode *inode, struct buffer_head **bh, int flags)
 

Variables

struct kmem_cacheocfs2_inode_cache
 
struct address_space_operations ocfs2_aops
 
struct ocfs2_caching_operations ocfs2_inode_caching_ops
 

Macro Definition Documentation

#define INODE_JOURNAL (   i)    (OCFS2_I(i)->ip_flags & OCFS2_INODE_JOURNAL)

Definition at line 114 of file inode.h.

#define OCFS2_FI_FLAG_ORPHAN_RECOVERY   0x2

Definition at line 132 of file inode.h.

#define OCFS2_FI_FLAG_SYSFILE   0x1

Definition at line 131 of file inode.h.

#define OCFS2_INODE_BITMAP   0x00000004

Definition at line 84 of file inode.h.

#define OCFS2_INODE_DELETED   0x00000008

Definition at line 86 of file inode.h.

#define OCFS2_INODE_JOURNAL   0x00000002

Definition at line 83 of file inode.h.

#define OCFS2_INODE_MAYBE_ORPHANED   0x00000020

Definition at line 103 of file inode.h.

#define OCFS2_INODE_OPEN_DIRECT   0x00000040

Definition at line 105 of file inode.h.

#define OCFS2_INODE_SKIP_DELETE   0x00000010

Definition at line 88 of file inode.h.

#define OCFS2_INODE_SKIP_ORPHAN_DIR   0x00000080

Definition at line 107 of file inode.h.

#define OCFS2_INODE_SYSTEM_FILE   0x00000001

Definition at line 82 of file inode.h.

#define SET_INODE_JOURNAL (   i)    (OCFS2_I(i)->ip_flags |= OCFS2_INODE_JOURNAL)

Definition at line 115 of file inode.h.

Function Documentation

int ocfs2_aio_read ( struct file file,
struct kiocb req,
struct iocb iocb 
)
int ocfs2_aio_write ( struct file file,
struct kiocb req,
struct iocb iocb 
)
struct buffer_head* ocfs2_bread ( struct inode inode,
int  block,
int err,
int  reada 
)
read
int ocfs2_drop_inode ( struct inode inode)

Definition at line 1178 of file inode.c.

void ocfs2_evict_inode ( struct inode inode)

Definition at line 1164 of file inode.c.

void ocfs2_get_inode_flags ( struct ocfs2_inode_info oi)

Definition at line 98 of file inode.c.

struct inode* ocfs2_iget ( struct ocfs2_super osb,
u64  feoff,
unsigned  flags,
int  sysfile_type 
)
read

Definition at line 127 of file inode.c.

struct inode* ocfs2_ilookup ( struct super_block sb,
u64  feoff 
)
read

Definition at line 116 of file inode.c.

int ocfs2_inode_init_private ( struct inode inode)
int ocfs2_inode_revalidate ( struct dentry dentry)

Definition at line 1197 of file inode.c.

int ocfs2_mark_inode_dirty ( handle_t *  handle,
struct inode inode,
struct buffer_head *  bh 
)

Definition at line 1237 of file inode.c.

void ocfs2_populate_inode ( struct inode inode,
struct ocfs2_dinode fe,
int  create_ino 
)

Definition at line 238 of file inode.c.

void ocfs2_read_inode ( struct inode inode)
void ocfs2_read_inode2 ( struct inode inode,
void opaque 
)
int ocfs2_read_inode_block ( struct inode inode,
struct buffer_head **  bh 
)

Definition at line 1390 of file inode.c.

int ocfs2_read_inode_block_full ( struct inode inode,
struct buffer_head **  bh,
int  flags 
)

Definition at line 1374 of file inode.c.

void ocfs2_refresh_inode ( struct inode inode,
struct ocfs2_dinode fe 
)

Definition at line 1282 of file inode.c.

ssize_t ocfs2_rw_direct ( int  rw,
struct file filp,
char buf,
size_t  size,
loff_t *  offp 
)
void ocfs2_set_inode_flags ( struct inode inode)

Definition at line 77 of file inode.c.

void ocfs2_sync_blockdev ( struct super_block sb)

Definition at line 532 of file inode.c.

int ocfs2_validate_inode_block ( struct super_block sb,
struct buffer_head *  bh 
)

Definition at line 1310 of file inode.c.

Variable Documentation

Definition at line 2086 of file aops.c.

struct kmem_cache* ocfs2_inode_cache
struct ocfs2_caching_operations ocfs2_inode_caching_ops

Definition at line 1438 of file inode.c.