Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
inode.c File Reference
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/highmem.h>
#include <linux/time.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/backing-dev.h>
#include <linux/ramfs.h>
#include <linux/sched.h>
#include <linux/parser.h>
#include <linux/magic.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  ramfs_mount_opts
 
struct  ramfs_fs_info
 

Macros

#define RAMFS_DEFAULT_MODE   0755
 

Enumerations

enum  { Opt_mode, Opt_err }
 

Functions

struct inoderamfs_get_inode (struct super_block *sb, const struct inode *dir, umode_t mode, dev_t dev)
 
int ramfs_fill_super (struct super_block *sb, void *data, int silent)
 
struct dentryramfs_mount (struct file_system_type *fs_type, int flags, const char *dev_name, void *data)
 
 module_init (init_ramfs_fs)
 

Macro Definition Documentation

#define RAMFS_DEFAULT_MODE   0755

Definition at line 41 of file inode.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_mode 
Opt_err 

Definition at line 163 of file inode.c.

Function Documentation

module_init ( init_ramfs_fs  )

Definition at line 274 of file inode.c.

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.