Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
memory_hotplug.h File Reference
#include <linux/mmzone.h>
#include <linux/spinlock.h>
#include <linux/notifier.h>
#include <linux/bug.h>

Go to the source code of this file.


int mem_online_node (int nid)
int add_memory (int nid, u64 start, u64 size)
int arch_add_memory (int nid, u64 start, u64 size)
int offline_pages (unsigned long start_pfn, unsigned long nr_pages)
int offline_memory_block (struct memory_block *mem)
int remove_memory (u64 start, u64 size)
int sparse_add_one_section (struct zone *zone, unsigned long start_pfn, int nr_pages)
void sparse_remove_one_section (struct zone *zone, struct mem_section *ms)
struct pagesparse_decode_mem_map (unsigned long coded_mem_map, unsigned long pnum)

Function Documentation

int add_memory ( int  nid,
u64  start,
u64  size 

Definition at line 608 of file memory_hotplug.c.

int arch_add_memory ( int  nid,
u64  start,
u64  size 
int mem_online_node ( int  nid)

Definition at line 587 of file memory_hotplug.c.

int offline_memory_block ( struct memory_block mem)

Definition at line 666 of file memory.c.

int offline_pages ( unsigned long  start_pfn,
unsigned long  nr_pages 

Definition at line 1048 of file memory_hotplug.c.

int remove_memory ( u64  start,
u64  size 

Definition at line 934 of file init.c.

int sparse_add_one_section ( struct zone zone,
unsigned long  start_pfn,
int  nr_pages 
struct page* sparse_decode_mem_map ( unsigned long  coded_mem_map,
unsigned long  pnum 

Definition at line 224 of file sparse.c.

void sparse_remove_one_section ( struct zone zone,
struct mem_section *  ms