Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
inode.h File Reference
#include <linux/fs.h>
#include <linux/buffer_head.h>
#include <linux/mm.h>
#include "util.h"

Go to the source code of this file.

Macros

#define gfs2_file_fops   gfs2_file_fops_nolock
 
#define gfs2_dir_fops   gfs2_dir_fops_nolock
 

Functions

int gfs2_releasepage (struct page *page, gfp_t gfp_mask)
 
int gfs2_internal_read (struct gfs2_inode *ip, char *buf, loff_t *pos, unsigned size)
 
void gfs2_set_aops (struct inode *inode)
 
struct inodegfs2_inode_lookup (struct super_block *sb, unsigned type, u64 no_addr, u64 no_formal_ino, int non_block)
 
struct inodegfs2_lookup_by_inum (struct gfs2_sbd *sdp, u64 no_addr, u64 *no_formal_ino, unsigned int blktype)
 
struct inodegfs2_ilookup (struct super_block *sb, u64 no_addr, int nonblock)
 
int gfs2_inode_refresh (struct gfs2_inode *ip)
 
struct inodegfs2_lookupi (struct inode *dir, const struct qstr *name, int is_root)
 
int gfs2_permission (struct inode *inode, int mask)
 
int gfs2_setattr_simple (struct inode *inode, struct iattr *attr)
 
struct inodegfs2_lookup_simple (struct inode *dip, const char *name)
 
void gfs2_dinode_out (const struct gfs2_inode *ip, void *buf)
 
void gfs2_set_inode_flags (struct inode *inode)
 

Variables

struct inode_operations gfs2_file_iops
 
struct inode_operations gfs2_dir_iops
 
struct inode_operations gfs2_symlink_iops
 
struct file_operations gfs2_file_fops_nolock
 
struct file_operations gfs2_dir_fops_nolock
 

Macro Definition Documentation

#define gfs2_dir_fops   gfs2_dir_fops_nolock

Definition at line 131 of file inode.h.

#define gfs2_file_fops   gfs2_file_fops_nolock

Definition at line 130 of file inode.h.

Function Documentation

void gfs2_dinode_out ( const struct gfs2_inode ip,
void buf 
)

Definition at line 714 of file super.c.

struct inode* gfs2_ilookup ( struct super_block sb,
u64  no_addr,
int  nonblock 
)
read

Definition at line 74 of file inode.c.

struct inode* gfs2_inode_lookup ( struct super_block sb,
unsigned  type,
u64  no_addr,
u64  no_formal_ino,
int  non_block 
)
read
int gfs2_inode_refresh ( struct gfs2_inode ip)

gfs2_inode_refresh - Refresh the incore copy of the dinode : The GFS2 inode

Returns: errno

Definition at line 373 of file glops.c.

int gfs2_internal_read ( struct gfs2_inode ip,
char buf,
loff_t *  pos,
unsigned  size 
)

gfs2_internal_read - read an internal file : The gfs2 inode : The buffer to fill : The file position : The amount to read

Definition at line 526 of file aops.c.

struct inode* gfs2_lookup_by_inum ( struct gfs2_sbd sdp,
u64  no_addr,
u64 no_formal_ino,
unsigned int  blktype 
)
read

Definition at line 205 of file inode.c.

struct inode* gfs2_lookup_simple ( struct inode dip,
const char name 
)
read

Definition at line 249 of file inode.c.

struct inode* gfs2_lookupi ( struct inode dir,
const struct qstr name,
int  is_root 
)
read

Definition at line 282 of file inode.c.

int gfs2_permission ( struct inode inode,
int  mask 
)

gfs2_permission - : The inode : The mask to be tested : Indicates whether this is an RCU path walk or not

This may be called from the VFS directly, or from within GFS2 with the inode locked, so we look to see if the glock is already locked and only lock the glock if its not already been done.

Returns: errno

Definition at line 1511 of file inode.c.

int gfs2_releasepage ( struct page page,
gfp_t  gfp_mask 
)

Definition at line 1043 of file aops.c.

void gfs2_set_aops ( struct inode inode)

Definition at line 1150 of file aops.c.

void gfs2_set_inode_flags ( struct inode inode)

Definition at line 182 of file file.c.

int gfs2_setattr_simple ( struct inode inode,
struct iattr attr 
)

gfs2_setattr_simple - : :

Returns: errno

Definition at line 1554 of file inode.c.

Variable Documentation

struct file_operations gfs2_dir_fops_nolock

Definition at line 1070 of file file.c.

struct inode_operations gfs2_dir_iops

Definition at line 1817 of file inode.c.

struct file_operations gfs2_file_fops_nolock

Definition at line 1053 of file file.c.

struct inode_operations gfs2_file_iops

Definition at line 1805 of file inode.c.

struct inode_operations gfs2_symlink_iops

Definition at line 1838 of file inode.c.