Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
initramfs.c File Reference
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/dirent.h>
#include <linux/syscalls.h>
#include <linux/utime.h>
#include <linux/decompress/generic.h>
#include <linux/initrd.h>
#include <linux/kexec.h>

Go to the source code of this file.

Data Structures

struct  hash
 
struct  dir_entry
 

Macros

#define N_ALIGN(len)   ((((len) + 1) & ~3) + 2)
 

Enumerations

enum  state {
  OFF = 0x0, ON = 0x1, Start, Collect,
  GotHeader, SkipIt, GotName, CopyFile,
  GotSymlink, Reset
}
 

Functions

 __setup ("retain_initrd", retain_initrd_param)
 
 rootfs_initcall (populate_rootfs)
 

Variables

char __initramfs_start []
 
unsigned long __initramfs_size
 

Macro Definition Documentation

#define N_ALIGN (   len)    ((((len) + 1) & ~3) + 2)

Definition at line 31 of file initramfs.c.

Enumeration Type Documentation

enum state
Enumerator:
OFF 
ON 
Start 
Collect 
GotHeader 
SkipIt 
GotName 
CopyFile 
GotSymlink 
Reset 

Definition at line 165 of file initramfs.c.

Function Documentation

__setup ( "retain_initrd"  ,
retain_initrd_param   
)
rootfs_initcall ( populate_rootfs  )

Variable Documentation

unsigned long __initramfs_size
char __initramfs_start[]