Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
balloon.h File Reference

Go to the source code of this file.

Data Structures

struct  balloon_stats
 

Macros

#define RETRY_UNLIMITED   0
 

Functions

void balloon_set_new_target (unsigned long target)
 
int alloc_xenballooned_pages (int nr_pages, struct page **pages, bool highmem)
 
void free_xenballooned_pages (int nr_pages, struct page **pages)
 

Variables

struct balloon_stats balloon_stats
 

Macro Definition Documentation

#define RETRY_UNLIMITED   0

Definition at line 5 of file balloon.h.

Function Documentation

int alloc_xenballooned_pages ( int  nr_pages,
struct page **  pages,
bool  highmem 
)

alloc_xenballooned_pages - get pages that have been ballooned out : Number of pages to get : pages returned : allow highmem pages

Returns
0 on success, error otherwise

Definition at line 153 of file enlighten.c.

void balloon_set_new_target ( unsigned long  target)

Definition at line 491 of file balloon.c.

void free_xenballooned_pages ( int  nr_pages,
struct page **  pages 
)

free_xenballooned_pages - return pages retrieved with get_ballooned_pages : Number of pages : pages to return

Definition at line 163 of file enlighten.c.

Variable Documentation

Definition at line 86 of file balloon.c.