KVM
|
#include <linux/kvm_host.h>
#include <linux/kvm.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/errno.h>
#include "kvm_mm.h"
Go to the source code of this file.
Functions | |
void | gfn_to_pfn_cache_invalidate_start (struct kvm *kvm, unsigned long start, unsigned long end, bool may_block) |
bool | kvm_gpc_check (struct gfn_to_pfn_cache *gpc, unsigned long len) |
EXPORT_SYMBOL_GPL (kvm_gpc_check) | |
static void | gpc_unmap_khva (kvm_pfn_t pfn, void *khva) |
static bool | mmu_notifier_retry_cache (struct kvm *kvm, unsigned long mmu_seq) |
static kvm_pfn_t | hva_to_pfn_retry (struct gfn_to_pfn_cache *gpc) |
static int | __kvm_gpc_refresh (struct gfn_to_pfn_cache *gpc, gpa_t gpa, unsigned long len) |
int | kvm_gpc_refresh (struct gfn_to_pfn_cache *gpc, unsigned long len) |
EXPORT_SYMBOL_GPL (kvm_gpc_refresh) | |
void | kvm_gpc_init (struct gfn_to_pfn_cache *gpc, struct kvm *kvm, struct kvm_vcpu *vcpu, enum pfn_cache_usage usage) |
EXPORT_SYMBOL_GPL (kvm_gpc_init) | |
int | kvm_gpc_activate (struct gfn_to_pfn_cache *gpc, gpa_t gpa, unsigned long len) |
EXPORT_SYMBOL_GPL (kvm_gpc_activate) | |
void | kvm_gpc_deactivate (struct gfn_to_pfn_cache *gpc) |
EXPORT_SYMBOL_GPL (kvm_gpc_deactivate) | |
|
static |
Definition at line 239 of file pfncache.c.
EXPORT_SYMBOL_GPL | ( | kvm_gpc_activate | ) |
EXPORT_SYMBOL_GPL | ( | kvm_gpc_check | ) |
EXPORT_SYMBOL_GPL | ( | kvm_gpc_deactivate | ) |
EXPORT_SYMBOL_GPL | ( | kvm_gpc_init | ) |
EXPORT_SYMBOL_GPL | ( | kvm_gpc_refresh | ) |
void gfn_to_pfn_cache_invalidate_start | ( | struct kvm * | kvm, |
unsigned long | start, | ||
unsigned long | end, | ||
bool | may_block | ||
) |
Definition at line 25 of file pfncache.c.
|
static |
|
static |
Definition at line 140 of file pfncache.c.
int kvm_gpc_activate | ( | struct gfn_to_pfn_cache * | gpc, |
gpa_t | gpa, | ||
unsigned long | len | ||
) |
Definition at line 357 of file pfncache.c.
bool kvm_gpc_check | ( | struct gfn_to_pfn_cache * | gpc, |
unsigned long | len | ||
) |
Definition at line 79 of file pfncache.c.
void kvm_gpc_deactivate | ( | struct gfn_to_pfn_cache * | gpc | ) |
void kvm_gpc_init | ( | struct gfn_to_pfn_cache * | gpc, |
struct kvm * | kvm, | ||
struct kvm_vcpu * | vcpu, | ||
enum pfn_cache_usage | usage | ||
) |
Definition at line 340 of file pfncache.c.
int kvm_gpc_refresh | ( | struct gfn_to_pfn_cache * | gpc, |
unsigned long | len | ||
) |
|
inlinestatic |