Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
init.c File Reference
#include <linux/bootmem.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/memblock.h>
#include <linux/mm.h>
#include <linux/initrd.h>
#include <linux/pagemap.h>
#include <linux/pfn.h>
#include <linux/slab.h>
#include <linux/swap.h>
#include <linux/export.h>
#include <asm/page.h>
#include <asm/mmu_context.h>
#include <asm/pgalloc.h>
#include <asm/sections.h>
#include <asm/tlb.h>
#include <asm/fixmap.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (__page_offset)
 
 EXPORT_SYMBOL (memory_start)
 
 EXPORT_SYMBOL (memory_size)
 
void __init setup_memory (void)
 
void free_init_pages (char *what, unsigned long begin, unsigned long end)
 
void free_initmem (void)
 
void __init mem_init (void)
 
int page_is_ram (unsigned long pfn)
 
void *__init_refok alloc_maybe_bootmem (size_t size, gfp_t mask)
 
void *__init_refok zalloc_maybe_bootmem (size_t size, gfp_t mask)
 

Variables

int mem_init_done
 
unsigned int __page_offset
 
charklimit = _end
 
unsigned long memory_start
 
unsigned long memory_size
 
unsigned long lowmem_size
 

Function Documentation

void* __init_refok alloc_maybe_bootmem ( size_t  size,
gfp_t  mask 
)

Definition at line 482 of file init.c.

EXPORT_SYMBOL ( __page_offset  )
EXPORT_SYMBOL ( memory_start  )
EXPORT_SYMBOL ( memory_size  )
void free_init_pages ( char what,
unsigned long  begin,
unsigned long  end 
)

Definition at line 239 of file init.c.

void free_initmem ( void  )

Definition at line 268 of file init.c.

void __init mem_init ( void  )

Definition at line 275 of file init.c.

int page_is_ram ( unsigned long  pfn)

Definition at line 333 of file init.c.

void __init setup_memory ( void  )

Definition at line 129 of file init.c.

void* __init_refok zalloc_maybe_bootmem ( size_t  size,
gfp_t  mask 
)

Definition at line 490 of file init.c.

Variable Documentation

unsigned int __page_offset

Definition at line 33 of file init.c.

char* klimit = _end

Definition at line 40 of file init.c.

unsigned long lowmem_size

Definition at line 50 of file init.c.

int mem_init_done

Definition at line 30 of file init.c.

unsigned long memory_size

Definition at line 48 of file init.c.

unsigned long memory_start

Definition at line 46 of file init.c.