ext_fs.h File Reference

Go to the source code of this file.

Data Structures

struct  ext_inode
struct  ext_free_inode
struct  ext_free_block
struct  ext_super_block
struct  ext_dir_entry

Defines

#define EXT_NAME_LEN   255
#define EXT_ROOT_INO   1
#define EXT_SUPER_MAGIC   0x137D
#define EXT_INODES_PER_BLOCK   ((BLOCK_SIZE)/(sizeof (struct ext_inode)))

Functions

int ext_open (struct inode *inode, struct file *filp)
void ext_release (struct inode *inode, struct file *filp)
int ext_lookup (struct inode *dir, const char *name, int len, struct inode **result)
int ext_create (struct inode *dir, const char *name, int len, int mode, struct inode **result)
int ext_mkdir (struct inode *dir, const char *name, int len, int mode)
int ext_rmdir (struct inode *dir, const char *name, int len)
int ext_unlink (struct inode *dir, const char *name, int len)
int ext_symlink (struct inode *inode, const char *name, int len, const char *symname)
int ext_link (struct inode *oldinode, struct inode *dir, const char *name, int len)
int ext_mknod (struct inode *dir, const char *name, int len, int mode, int rdev)
int ext_rename (struct inode *old_dir, const char *old_name, int old_len, struct inode *new_dir, const char *new_name, int new_len)
inodeext_new_inode (const struct inode *dir)
void ext_free_inode (struct inode *inode)
unsigned long ext_count_free_inodes (struct super_block *sb)
int ext_new_block (struct super_block *sb)
void ext_free_block (struct super_block *sb, int block)
unsigned long ext_count_free_blocks (struct super_block *sb)
int ext_bmap (struct inode *, int)
buffer_headext_getblk (struct inode *, int, int)
buffer_headext_bread (struct inode *, int, int)
void ext_truncate (struct inode *)
void ext_put_super (struct super_block *)
void ext_write_super (struct super_block *)
super_blockext_read_super (struct super_block *, void *, int)
void ext_read_inode (struct inode *)
void ext_write_inode (struct inode *)
void ext_put_inode (struct inode *)
void ext_statfs (struct super_block *, struct statfs *)
int ext_sync_inode (struct inode *)
int ext_sync_file (struct inode *, struct file *)
int ext_lseek (struct inode *, struct file *, off_t, int)
int ext_read (struct inode *, struct file *, char *, int)
int ext_write (struct inode *, struct file *, char *, int)

Variables

inode_operations ext_file_inode_operations
inode_operations ext_dir_inode_operations
inode_operations ext_symlink_inode_operations


Define Documentation

#define EXT_INODES_PER_BLOCK   ((BLOCK_SIZE)/(sizeof (struct ext_inode)))

Definition at line 17 of file ext_fs.h.

#define EXT_NAME_LEN   255

The ext filesystem constants/structures

Definition at line 12 of file ext_fs.h.

#define EXT_ROOT_INO   1

Definition at line 13 of file ext_fs.h.

#define EXT_SUPER_MAGIC   0x137D

Definition at line 15 of file ext_fs.h.


Function Documentation

int ext_bmap ( struct inode ,
int   
)

struct buffer_head* ext_bread ( struct inode ,
int  ,
int   
)

unsigned long ext_count_free_blocks ( struct super_block sb  ) 

unsigned long ext_count_free_inodes ( struct super_block sb  ) 

int ext_create ( struct inode dir,
const char *  name,
int  len,
int  mode,
struct inode **  result 
)

void ext_free_block ( struct super_block sb,
int  block 
)

void ext_free_inode ( struct inode inode  ) 

struct buffer_head* ext_getblk ( struct inode ,
int  ,
int   
)

int ext_link ( struct inode oldinode,
struct inode dir,
const char *  name,
int  len 
)

int ext_lookup ( struct inode dir,
const char *  name,
int  len,
struct inode **  result 
)

int ext_lseek ( struct inode ,
struct file ,
off_t  ,
int   
)

int ext_mkdir ( struct inode dir,
const char *  name,
int  len,
int  mode 
)

int ext_mknod ( struct inode dir,
const char *  name,
int  len,
int  mode,
int  rdev 
)

int ext_new_block ( struct super_block sb  ) 

struct inode* ext_new_inode ( const struct inode dir  ) 

int ext_open ( struct inode inode,
struct file filp 
)

void ext_put_inode ( struct inode  ) 

void ext_put_super ( struct super_block  ) 

int ext_read ( struct inode ,
struct file ,
char *  ,
int   
)

void ext_read_inode ( struct inode  ) 

struct super_block* ext_read_super ( struct super_block ,
void *  ,
int   
)

void ext_release ( struct inode inode,
struct file filp 
)

int ext_rename ( struct inode old_dir,
const char *  old_name,
int  old_len,
struct inode new_dir,
const char *  new_name,
int  new_len 
)

int ext_rmdir ( struct inode dir,
const char *  name,
int  len 
)

void ext_statfs ( struct super_block ,
struct statfs  
)

int ext_symlink ( struct inode inode,
const char *  name,
int  len,
const char *  symname 
)

int ext_sync_file ( struct inode ,
struct file  
)

int ext_sync_inode ( struct inode  ) 

void ext_truncate ( struct inode  ) 

int ext_unlink ( struct inode dir,
const char *  name,
int  len 
)

int ext_write ( struct inode ,
struct file ,
char *  ,
int   
)

void ext_write_inode ( struct inode  ) 

void ext_write_super ( struct super_block  ) 


Variable Documentation

struct inode_operations ext_dir_inode_operations

struct inode_operations ext_file_inode_operations

struct inode_operations ext_symlink_inode_operations


Generated on Mon May 1 21:47:00 2006 for KernelAPI by  doxygen 1.4.6-5