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/spinlock.h>

Go to the source code of this file.

Data Structures

struct  xen_memory_reservation
 
struct  xen_memory_exchange
 
struct  xen_machphys_mfn_list
 
struct  xen_machphys_mapping
 
struct  xen_add_to_physmap
 
struct  xen_memory_map
 

Macros

#define XENMEM_increase_reservation   0
 
#define XENMEM_decrease_reservation   1
 
#define XENMEM_populate_physmap   6
 
#define XENMEM_exchange   11
 
#define XENMEM_maximum_ram_page   2
 
#define XENMEM_current_reservation   3
 
#define XENMEM_maximum_reservation   4
 
#define XENMEM_machphys_mfn_list   5
 
#define XENMEM_machphys_mapping   12
 
#define XENMEM_add_to_physmap   7
 
#define XENMAPSPACE_shared_info   0 /* shared info page */
 
#define XENMAPSPACE_grant_table   1 /* grant table page */
 
#define XENMEM_memory_map   9
 
#define XENMEM_machine_memory_map   10
 

Functions

 DEFINE_GUEST_HANDLE_STRUCT (xen_memory_reservation)
 
 DEFINE_GUEST_HANDLE_STRUCT (xen_memory_exchange)
 
 DEFINE_GUEST_HANDLE_STRUCT (xen_machphys_mfn_list)
 
 DEFINE_GUEST_HANDLE_STRUCT (xen_machphys_mapping_t)
 
 DEFINE_GUEST_HANDLE_STRUCT (xen_add_to_physmap)
 
 DEFINE_GUEST_HANDLE_STRUCT (xen_memory_map)
 

Variables

spinlock_t xen_reservation_lock
 

Macro Definition Documentation

#define XENMAPSPACE_grant_table   1 /* grant table page */

Definition at line 171 of file memory.h.

#define XENMAPSPACE_shared_info   0 /* shared info page */

Definition at line 170 of file memory.h.

#define XENMEM_add_to_physmap   7

Definition at line 161 of file memory.h.

#define XENMEM_current_reservation   3

Definition at line 111 of file memory.h.

#define XENMEM_decrease_reservation   1

Definition at line 20 of file memory.h.

#define XENMEM_exchange   11

Definition at line 64 of file memory.h.

#define XENMEM_increase_reservation   0

Definition at line 19 of file memory.h.

#define XENMEM_machine_memory_map   10

Definition at line 212 of file memory.h.

#define XENMEM_machphys_mapping   12

Definition at line 149 of file memory.h.

#define XENMEM_machphys_mfn_list   5

Definition at line 120 of file memory.h.

#define XENMEM_maximum_ram_page   2

Definition at line 104 of file memory.h.

#define XENMEM_maximum_reservation   4

Definition at line 112 of file memory.h.

#define XENMEM_memory_map   9

Definition at line 190 of file memory.h.

#define XENMEM_populate_physmap   6

Definition at line 21 of file memory.h.

Function Documentation

DEFINE_GUEST_HANDLE_STRUCT ( xen_memory_reservation  )
DEFINE_GUEST_HANDLE_STRUCT ( xen_memory_exchange  )
DEFINE_GUEST_HANDLE_STRUCT ( xen_machphys_mfn_list  )
DEFINE_GUEST_HANDLE_STRUCT ( xen_machphys_mapping_t  )
DEFINE_GUEST_HANDLE_STRUCT ( xen_add_to_physmap  )
DEFINE_GUEST_HANDLE_STRUCT ( xen_memory_map  )

Variable Documentation

spinlock_t xen_reservation_lock