Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xen-selfballoon.c File Reference
#include <linux/kernel.h>
#include <linux/bootmem.h>
#include <linux/swap.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/module.h>
#include <linux/workqueue.h>
#include <linux/device.h>
#include <xen/balloon.h>
#include <xen/tmem.h>
#include <xen/xen.h>

Go to the source code of this file.

Macros

#define MB2PAGES(mb)   ((mb) << (20 - PAGE_SHIFT))
 

Functions

 __setup ("selfballooning", xen_selfballooning_setup)
 
int register_xen_selfballooning (struct device *dev)
 
 EXPORT_SYMBOL (register_xen_selfballooning)
 
 subsys_initcall (xen_selfballoon_init)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MB2PAGES (   mb)    ((mb) << (20 - PAGE_SHIFT))

Definition at line 210 of file xen-selfballoon.c.

Function Documentation

__setup ( "selfballooning"  ,
xen_selfballooning_setup   
)
EXPORT_SYMBOL ( register_xen_selfballooning  )
MODULE_LICENSE ( "GPL"  )
int register_xen_selfballooning ( struct device dev)

Definition at line 529 of file xen-selfballoon.c.

subsys_initcall ( xen_selfballoon_init  )