Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ramfs.h File Reference

Go to the source code of this file.

Functions

struct inoderamfs_get_inode (struct super_block *sb, const struct inode *dir, umode_t mode, dev_t dev)
 
struct dentryramfs_mount (struct file_system_type *fs_type, int flags, const char *dev_name, void *data)
 
int ramfs_nommu_expand_for_mapping (struct inode *inode, size_t newsize)
 
unsigned long ramfs_nommu_get_unmapped_area (struct file *file, unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags)
 
int ramfs_nommu_mmap (struct file *file, struct vm_area_struct *vma)
 
int __init init_rootfs (void)
 
int ramfs_fill_super (struct super_block *sb, void *data, int silent)
 

Variables

struct file_operations ramfs_file_operations
 
struct vm_operations_struct generic_file_vm_ops
 

Function Documentation

int __init init_rootfs ( void  )
int ramfs_fill_super ( struct super_block sb,
void data,
int  silent 
)

Definition at line 209 of file inode.c.

struct inode* ramfs_get_inode ( struct super_block sb,
const struct inode dir,
umode_t  mode,
dev_t  dev 
)
read

Definition at line 54 of file inode.c.

struct dentry* ramfs_mount ( struct file_system_type fs_type,
int  flags,
const char dev_name,
void data 
)
read

Definition at line 241 of file inode.c.

int ramfs_nommu_expand_for_mapping ( struct inode inode,
size_t  newsize 
)

Definition at line 62 of file file-nommu.c.

unsigned long ramfs_nommu_get_unmapped_area ( struct file file,
unsigned long  addr,
unsigned long  len,
unsigned long  pgoff,
unsigned long  flags 
)

Definition at line 200 of file file-nommu.c.

int ramfs_nommu_mmap ( struct file file,
struct vm_area_struct vma 
)

Definition at line 259 of file file-nommu.c.

Variable Documentation

struct vm_operations_struct generic_file_vm_ops

Definition at line 77 of file nommu.c.

struct file_operations ramfs_file_operations

Definition at line 40 of file file-mmu.c.