inodes.c File Reference

Go to the source code of this file.

Functions

 LIST_HEAD (super_blocks)
 lib/src/arch/l4/inodes.c
struct inode * new_inode (struct super_block *sb)
void __mark_inode_dirty (struct inode *inode, int flags)
void iput (struct inode *inode)
void generic_delete_inode (struct inode *inode)
int invalidate_inodes (struct super_block *sb)
void truncate_inode_pages (struct address_space *mapping, loff_t lstart)
void touch_atime (struct vfsmount *mnt, struct dentry *dentry)
struct super_block * get_super (struct block_device *bdev)
int simple_statfs (struct dentry *dentry, struct kstatfs *buf)
void kill_anon_super (struct super_block *sb)
void shrink_dcache_sb (struct super_block *sb)
void drop_super (struct super_block *sb)
static struct inode * dde_alloc_inode (struct super_block *sb)
 ! Alloc and init a new inode.
void __iget (struct inode *inode)
static struct inode * dde_new_inode (struct super_block *sb, struct list_head *head, int(*test)(struct inode *, void *), int(*set)(struct inode *, void *), void *data)
struct inode * iget5_locked (struct super_block *sb, unsigned long hashval, int(*test)(struct inode *, void *), int(*set)(struct inode *, void *), void *data)
void unlock_new_inode (struct inode *inode)
struct super_block * sget (struct file_system_type *type, int(*test)(struct super_block *, void *), int(*set)(struct super_block *, void *), void *data)
int set_anon_super (struct super_block *s, void *data)
int get_sb_pseudo (struct file_system_type *fs_type, char *name, const struct super_operations *ops, unsigned long magic, struct vfsmount *mnt)
void inode_init_once (struct inode *inode)

Variables

struct inode_operations empty_iops = { }
struct file_operations empty_fops = { }


Function Documentation

void __iget ( struct inode *  inode  ) 

Definition at line 133 of file inodes.c.

void __mark_inode_dirty ( struct inode *  inode,
int  flags 
)

Definition at line 30 of file inodes.c.

static struct inode* dde_alloc_inode ( struct super_block *  sb  )  [static, read]

! Alloc and init a new inode.

Basically stolen from linux/fs/inode.c:alloc_inode()

Definition at line 99 of file inodes.c.

static struct inode* dde_new_inode ( struct super_block *  sb,
struct list_head *  head,
int(*)(struct inode *, void *)  test,
int(*)(struct inode *, void *)  set,
void *  data 
) [static, read]

Definition at line 139 of file inodes.c.

void drop_super ( struct super_block *  sb  ) 

Definition at line 87 of file inodes.c.

void generic_delete_inode ( struct inode *  inode  ) 

Definition at line 40 of file inodes.c.

int get_sb_pseudo ( struct file_system_type *  fs_type,
char *  name,
const struct super_operations *  ops,
unsigned long  magic,
struct vfsmount *  mnt 
)

Definition at line 264 of file inodes.c.

struct super_block* get_super ( struct block_device *  bdev  )  [read]

Definition at line 65 of file inodes.c.

struct inode* iget5_locked ( struct super_block *  sb,
unsigned long  hashval,
int(*)(struct inode *, void *)  test,
int(*)(struct inode *, void *)  set,
void *  data 
) [read]

Definition at line 160 of file inodes.c.

void inode_init_once ( struct inode *  inode  ) 

Definition at line 307 of file inodes.c.

int invalidate_inodes ( struct super_block *  sb  ) 

Definition at line 45 of file inodes.c.

void iput ( struct inode *  inode  ) 

Definition at line 35 of file inodes.c.

void kill_anon_super ( struct super_block *  sb  ) 

Definition at line 77 of file inodes.c.

LIST_HEAD ( super_blocks   ) 

lib/src/arch/l4/inodes.c

Assorted dummies implementing inode and superblock access functions, which are used by the block layer stuff, but not needed in DDE_Linux.

struct inode* new_inode ( struct super_block *  sb  )  [read]

Definition at line 22 of file inodes.c.

int set_anon_super ( struct super_block *  s,
void *  data 
)

Definition at line 258 of file inodes.c.

struct super_block* sget ( struct file_system_type *  type,
int(*)(struct super_block *, void *)  test,
int(*)(struct super_block *, void *)  set,
void *  data 
) [read]

Definition at line 193 of file inodes.c.

void shrink_dcache_sb ( struct super_block *  sb  ) 

Definition at line 82 of file inodes.c.

int simple_statfs ( struct dentry *  dentry,
struct kstatfs *  buf 
)

Definition at line 71 of file inodes.c.

void touch_atime ( struct vfsmount *  mnt,
struct dentry *  dentry 
)

Definition at line 56 of file inodes.c.

void truncate_inode_pages ( struct address_space *  mapping,
loff_t  lstart 
)

Definition at line 51 of file inodes.c.

void unlock_new_inode ( struct inode *  inode  ) 

Definition at line 187 of file inodes.c.


Variable Documentation

struct file_operations empty_fops = { }

Definition at line 93 of file inodes.c.

struct inode_operations empty_iops = { }

Definition at line 92 of file inodes.c.


Generated on Wed Apr 11 06:39:15 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6