Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
book3s_hv_builtin.c File Reference
#include <linux/kvm_host.h>
#include <linux/preempt.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/bootmem.h>
#include <linux/init.h>
#include <asm/cputable.h>
#include <asm/kvm_ppc.h>
#include <asm/kvm_book3s.h>

Go to the source code of this file.

Macros

#define KVM_LINEAR_RMA   0
 
#define KVM_LINEAR_HPT   1
 

Functions

 EXPORT_SYMBOL_GPL (kvm_hpt_order)
 
 early_param ("kvm_rma_size", early_parse_rma_size)
 
 early_param ("kvm_rma_count", early_parse_rma_count)
 
struct kvmppc_linear_infokvm_alloc_rma (void)
 
 EXPORT_SYMBOL_GPL (kvm_alloc_rma)
 
void kvm_release_rma (struct kvmppc_linear_info *ri)
 
 EXPORT_SYMBOL_GPL (kvm_release_rma)
 
 early_param ("kvm_hpt_count", early_parse_hpt_count)
 
struct kvmppc_linear_infokvm_alloc_hpt (void)
 
 EXPORT_SYMBOL_GPL (kvm_alloc_hpt)
 
void kvm_release_hpt (struct kvmppc_linear_info *li)
 
 EXPORT_SYMBOL_GPL (kvm_release_hpt)
 
void __init kvm_linear_init (void)
 

Variables

int kvm_hpt_order = KVM_DEFAULT_HPT_ORDER
 

Macro Definition Documentation

#define KVM_LINEAR_HPT   1

Definition at line 22 of file book3s_hv_builtin.c.

#define KVM_LINEAR_RMA   0

Definition at line 21 of file book3s_hv_builtin.c.

Function Documentation

early_param ( "kvm_rma_size"  ,
early_parse_rma_size   
)
early_param ( "kvm_rma_count"  ,
early_parse_rma_count   
)
early_param ( "kvm_hpt_count"  ,
early_parse_hpt_count   
)
EXPORT_SYMBOL_GPL ( kvm_hpt_order  )
EXPORT_SYMBOL_GPL ( kvm_alloc_rma  )
EXPORT_SYMBOL_GPL ( kvm_release_rma  )
EXPORT_SYMBOL_GPL ( kvm_alloc_hpt  )
EXPORT_SYMBOL_GPL ( kvm_release_hpt  )
struct kvmppc_linear_info* kvm_alloc_hpt ( void  )
read

Definition at line 125 of file book3s_hv_builtin.c.

struct kvmppc_linear_info* kvm_alloc_rma ( void  )
read

Definition at line 92 of file book3s_hv_builtin.c.

void __init kvm_linear_init ( void  )

Definition at line 212 of file book3s_hv_builtin.c.

void kvm_release_hpt ( struct kvmppc_linear_info li)

Definition at line 131 of file book3s_hv_builtin.c.

void kvm_release_rma ( struct kvmppc_linear_info ri)

Definition at line 98 of file book3s_hv_builtin.c.

Variable Documentation

int kvm_hpt_order = KVM_DEFAULT_HPT_ORDER

Definition at line 28 of file book3s_hv_builtin.c.