Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
efs.h File Reference
#include <linux/fs.h>
#include <asm/uaccess.h>
#include <linux/efs_fs_sb.h>

Go to the source code of this file.

Data Structures

union  extent_u
 
struct  extent_u::extent_s
 
struct  edevs
 
struct  efs_dinode
 
union  efs_dinode::di_addr
 
struct  efs_inode_info
 
struct  efs_dentry
 
struct  efs_dir
 

Macros

#define EFS_VERSION   "1.0a"
 
#define EFS_BLOCKSIZE_BITS   9
 
#define EFS_BLOCKSIZE   (1 << EFS_BLOCKSIZE_BITS)
 
#define EFS_DIRECTEXTENTS   12
 
#define EFS_DIRBSIZE_BITS   EFS_BLOCKSIZE_BITS
 
#define EFS_DIRBSIZE   (1 << EFS_DIRBSIZE_BITS)
 
#define EFS_DENTSIZE   (sizeof(struct efs_dentry) - 3 + 1)
 
#define EFS_MAXNAMELEN   ((1 << (sizeof(char) * 8)) - 1)
 
#define EFS_DIRBLK_HEADERSIZE   4
 
#define EFS_DIRBLK_MAGIC   0xbeef /* moo */
 
#define EFS_MAXENTS
 
#define EFS_SLOTAT(dir, slot)   EFS_REALOFF((dir)->space[slot])
 
#define EFS_REALOFF(offset)   ((offset << 1))
 

Typedefs

typedef int32_t efs_block_t
 
typedef uint32_t efs_ino_t
 
typedef union extent_u efs_extent
 
typedef struct edevs efs_devs
 

Functions

struct inodeefs_iget (struct super_block *, unsigned long)
 
efs_block_t efs_map_block (struct inode *, efs_block_t)
 
int efs_get_block (struct inode *, sector_t, struct buffer_head *, int)
 
struct dentryefs_lookup (struct inode *, struct dentry *, unsigned int)
 
struct dentryefs_fh_to_dentry (struct super_block *sb, struct fid *fid, int fh_len, int fh_type)
 
struct dentryefs_fh_to_parent (struct super_block *sb, struct fid *fid, int fh_len, int fh_type)
 
struct dentryefs_get_parent (struct dentry *)
 
int efs_bmap (struct inode *, int)
 

Variables

struct inode_operations efs_dir_inode_operations
 
struct file_operations efs_dir_operations
 
struct address_space_operations efs_symlink_aops
 

Macro Definition Documentation

#define EFS_BLOCKSIZE   (1 << EFS_BLOCKSIZE_BITS)

Definition at line 20 of file efs.h.

#define EFS_BLOCKSIZE_BITS   9

Definition at line 19 of file efs.h.

#define EFS_DENTSIZE   (sizeof(struct efs_dentry) - 3 + 1)

Definition at line 88 of file efs.h.

#define EFS_DIRBLK_HEADERSIZE   4

Definition at line 91 of file efs.h.

#define EFS_DIRBLK_MAGIC   0xbeef /* moo */

Definition at line 92 of file efs.h.

#define EFS_DIRBSIZE   (1 << EFS_DIRBSIZE_BITS)

Definition at line 80 of file efs.h.

#define EFS_DIRBSIZE_BITS   EFS_BLOCKSIZE_BITS

Definition at line 79 of file efs.h.

#define EFS_DIRECTEXTENTS   12

Definition at line 25 of file efs.h.

#define EFS_MAXENTS
Value:
(EFS_DENTSIZE + sizeof(char)))

Definition at line 102 of file efs.h.

#define EFS_MAXNAMELEN   ((1 << (sizeof(char) * 8)) - 1)

Definition at line 89 of file efs.h.

#define EFS_REALOFF (   offset)    ((offset << 1))

Definition at line 108 of file efs.h.

#define EFS_SLOTAT (   dir,
  slot 
)    EFS_REALOFF((dir)->space[slot])

Definition at line 106 of file efs.h.

#define EFS_VERSION   "1.0a"

Definition at line 13 of file efs.h.

Typedef Documentation

Definition at line 22 of file efs.h.

typedef union extent_u efs_extent

Definition at line 23 of file efs.h.

Function Documentation

int efs_bmap ( struct inode ,
int   
)
struct dentry* efs_fh_to_dentry ( struct super_block sb,
struct fid fid,
int  fh_len,
int  fh_type 
)
read

Definition at line 92 of file namei.c.

struct dentry* efs_fh_to_parent ( struct super_block sb,
struct fid fid,
int  fh_len,
int  fh_type 
)
read

Definition at line 99 of file namei.c.

int efs_get_block ( struct inode ,
sector_t  ,
struct buffer_head *  ,
int   
)

Definition at line 12 of file file.c.

struct dentry* efs_get_parent ( struct dentry )
read

Definition at line 106 of file namei.c.

struct inode* efs_iget ( struct super_block ,
unsigned  long 
)
read

Definition at line 47 of file inode.c.

struct dentry* efs_lookup ( struct inode ,
struct dentry ,
unsigned  int 
)
read

Definition at line 61 of file namei.c.

efs_block_t efs_map_block ( struct inode ,
efs_block_t   
)

Definition at line 200 of file inode.c.

Variable Documentation

struct inode_operations efs_dir_inode_operations

Definition at line 18 of file dir.c.

struct file_operations efs_dir_operations

Definition at line 12 of file dir.c.

struct address_space_operations efs_symlink_aops

Definition at line 52 of file symlink.c.