Linux Kernel
3.7.1
|
#include <asm/page.h>
#include <xen/interface/xen.h>
#include <xen/interface/grant_table.h>
#include <asm/xen/hypervisor.h>
#include <xen/features.h>
Go to the source code of this file.
Data Structures | |
struct | gnttab_free_callback |
Macros | |
#define | GNTTAB_RESERVED_XENSTORE 1 |
#define | NR_GRANT_FRAMES 4 |
#define | gnttab_map_vaddr(map) ((void *)(map.host_virt_addr)) |
Variables | |
unsigned long | xen_hvm_resume_frames |
Definition at line 184 of file grant_table.h.
#define GNTTAB_RESERVED_XENSTORE 1 |
Definition at line 49 of file grant_table.h.
#define NR_GRANT_FRAMES 4 |
Definition at line 52 of file grant_table.h.
int arch_gnttab_map_shared | ( | xen_pfn_t * | frames, |
unsigned long | nr_gframes, | ||
unsigned long | max_nr_gframes, | ||
void ** | __shared | ||
) |
Definition at line 36 of file grant-table.c.
int arch_gnttab_map_status | ( | uint64_t * | frames, |
unsigned long | nr_gframes, | ||
unsigned long | max_nr_gframes, | ||
grant_status_t ** | __shared | ||
) |
Definition at line 48 of file grant-table.c.
Definition at line 43 of file grant-table.c.
int gnttab_alloc_grant_references | ( | u16 | count, |
grant_ref_t * | pprivate_head | ||
) |
Definition at line 694 of file grant-table.c.
void gnttab_batch_copy | ( | struct gnttab_copy * | batch, |
unsigned | count | ||
) |
Definition at line 860 of file grant-table.c.
void gnttab_batch_map | ( | struct gnttab_map_grant_ref * | batch, |
unsigned | count | ||
) |
Definition at line 847 of file grant-table.c.
void gnttab_cancel_free_callback | ( | struct gnttab_free_callback * | callback | ) |
Definition at line 749 of file grant-table.c.
int gnttab_claim_grant_reference | ( | grant_ref_t * | pprivate_head | ) |
Definition at line 713 of file grant-table.c.
int gnttab_empty_grant_references | ( | const grant_ref_t * | pprivate_head | ) |
Definition at line 707 of file grant-table.c.
void gnttab_end_foreign_access | ( | grant_ref_t | ref, |
int | readonly, | ||
unsigned long | page | ||
) |
Definition at line 558 of file grant-table.c.
int gnttab_end_foreign_access_ref | ( | grant_ref_t | ref, |
int | readonly | ||
) |
Definition at line 466 of file grant-table.c.
unsigned long gnttab_end_foreign_transfer | ( | grant_ref_t | ref | ) |
Definition at line 659 of file grant-table.c.
unsigned long gnttab_end_foreign_transfer_ref | ( | grant_ref_t | ref | ) |
Definition at line 653 of file grant-table.c.
void gnttab_free_grant_reference | ( | grant_ref_t | ref | ) |
Definition at line 667 of file grant-table.c.
void gnttab_free_grant_references | ( | grant_ref_t | head | ) |
Definition at line 673 of file grant-table.c.
Definition at line 275 of file grant-table.c.
void gnttab_grant_foreign_access_ref | ( | grant_ref_t | ref, |
domid_t | domid, | ||
unsigned long | frame, | ||
int | readonly | ||
) |
Definition at line 267 of file grant-table.c.
int gnttab_grant_foreign_access_subpage | ( | domid_t | domid, |
unsigned long | frame, | ||
int | flags, | ||
unsigned | page_off, | ||
unsigned | length | ||
) |
Definition at line 322 of file grant-table.c.
int gnttab_grant_foreign_access_subpage_ref | ( | grant_ref_t | ref, |
domid_t | domid, | ||
unsigned long | frame, | ||
int | flags, | ||
unsigned | page_off, | ||
unsigned | length | ||
) |
Definition at line 303 of file grant-table.c.
int gnttab_grant_foreign_access_trans | ( | domid_t | domid, |
int | flags, | ||
domid_t | trans_domid, | ||
grant_ref_t | trans_gref | ||
) |
Definition at line 379 of file grant-table.c.
int gnttab_grant_foreign_access_trans_ref | ( | grant_ref_t | ref, |
domid_t | domid, | ||
int | flags, | ||
domid_t | trans_domid, | ||
grant_ref_t | trans_gref | ||
) |
Definition at line 361 of file grant-table.c.
Definition at line 571 of file grant-table.c.
void gnttab_grant_foreign_transfer_ref | ( | grant_ref_t | , |
domid_t | domid, | ||
unsigned long | pfn | ||
) |
Definition at line 584 of file grant-table.c.
Definition at line 1187 of file grant-table.c.
int gnttab_map_refs | ( | struct gnttab_map_grant_ref * | map_ops, |
struct gnttab_map_grant_ref * | kmap_ops, | ||
struct page ** | pages, | ||
unsigned int | count | ||
) |
Definition at line 873 of file grant-table.c.
Definition at line 817 of file grant-table.c.
int gnttab_query_foreign_access | ( | grant_ref_t | ref | ) |
Definition at line 416 of file grant-table.c.
void gnttab_release_grant_reference | ( | grant_ref_t * | private_head, |
grant_ref_t | release | ||
) |
Definition at line 723 of file grant-table.c.
void gnttab_request_free_callback | ( | struct gnttab_free_callback * | callback, |
void(*)(void *) | fn, | ||
void * | arg, | ||
u16 | count | ||
) |
Definition at line 731 of file grant-table.c.
Definition at line 1136 of file grant-table.c.
Definition at line 343 of file grant-table.c.
Definition at line 1163 of file grant-table.c.
Definition at line 400 of file grant-table.c.
int gnttab_unmap_refs | ( | struct gnttab_unmap_grant_ref * | unmap_ops, |
struct gnttab_map_grant_ref * | kunmap_ops, | ||
struct page ** | pages, | ||
unsigned int | count | ||
) |
Definition at line 925 of file grant-table.c.
unsigned long xen_hvm_resume_frames |
Definition at line 70 of file grant-table.c.