Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
memory.h File Reference
#include <linux/node.h>
#include <linux/compiler.h>
#include <linux/mutex.h>

Go to the source code of this file.

Data Structures

struct  memory_block
 
struct  memory_notify
 
struct  memory_isolate_notify
 
struct  memory_accessor
 

Macros

#define MIN_MEMORY_BLOCK_SIZE   (1UL << SECTION_SIZE_BITS)
 
#define MEM_ONLINE   (1<<0) /* exposed to userspace */
 
#define MEM_GOING_OFFLINE   (1<<1) /* exposed to userspace */
 
#define MEM_OFFLINE   (1<<2) /* exposed to userspace */
 
#define MEM_GOING_ONLINE   (1<<3)
 
#define MEM_CANCEL_ONLINE   (1<<4)
 
#define MEM_CANCEL_OFFLINE   (1<<5)
 
#define MEM_ISOLATE_COUNT   (1<<0)
 
#define SLAB_CALLBACK_PRI   1
 
#define IPC_CALLBACK_PRI   10
 
#define hotplug_memory_notifier(fn, pri)   do { } while (0)
 

Functions

int arch_get_memory_phys_device (unsigned long start_pfn)
 

Variables

struct mutex text_mutex
 

Macro Definition Documentation

#define hotplug_memory_notifier (   fn,
  pri 
)    do { } while (0)

Definition at line 134 of file memory.h.

#define IPC_CALLBACK_PRI   10

Definition at line 80 of file memory.h.

#define MEM_CANCEL_OFFLINE   (1<<5)

Definition at line 51 of file memory.h.

#define MEM_CANCEL_ONLINE   (1<<4)

Definition at line 50 of file memory.h.

#define MEM_GOING_OFFLINE   (1<<1) /* exposed to userspace */

Definition at line 47 of file memory.h.

#define MEM_GOING_ONLINE   (1<<3)

Definition at line 49 of file memory.h.

#define MEM_ISOLATE_COUNT   (1<<0)

Definition at line 64 of file memory.h.

#define MEM_OFFLINE   (1<<2) /* exposed to userspace */

Definition at line 48 of file memory.h.

#define MEM_ONLINE   (1<<0) /* exposed to userspace */

Definition at line 46 of file memory.h.

#define MIN_MEMORY_BLOCK_SIZE   (1UL << SECTION_SIZE_BITS)

Definition at line 22 of file memory.h.

#define SLAB_CALLBACK_PRI   1

Definition at line 79 of file memory.h.

Function Documentation

int arch_get_memory_phys_device ( unsigned long  start_pfn)

Definition at line 504 of file memory.c.

Variable Documentation

struct mutex text_mutex