Linux Kernel
3.7.1
|
#include <xen/interface/xen.h>
Go to the source code of this file.
Data Structures | |
struct | grant_entry_v1 |
struct | grant_entry_header |
union | grant_entry_v2 |
struct | gnttab_map_grant_ref |
struct | gnttab_unmap_grant_ref |
struct | gnttab_setup_table |
struct | gnttab_dump_table |
struct | gnttab_transfer |
struct | gnttab_copy |
struct | gnttab_query_size |
struct | gnttab_unmap_and_replace |
struct | gnttab_set_version |
struct | gnttab_get_status_frames |
struct | gnttab_get_version |
Macros | |
#define | GTF_invalid (0U<<0) |
#define | GTF_permit_access (1U<<0) |
#define | GTF_accept_transfer (2U<<0) |
#define | GTF_transitive (3U<<0) |
#define | GTF_type_mask (3U<<0) |
#define | _GTF_readonly (2) |
#define | GTF_readonly (1U<<_GTF_readonly) |
#define | _GTF_reading (3) |
#define | GTF_reading (1U<<_GTF_reading) |
#define | _GTF_writing (4) |
#define | GTF_writing (1U<<_GTF_writing) |
#define | _GTF_sub_page (8) |
#define | GTF_sub_page (1U<<_GTF_sub_page) |
#define | _GTF_transfer_committed (2) |
#define | GTF_transfer_committed (1U<<_GTF_transfer_committed) |
#define | _GTF_transfer_completed (3) |
#define | GTF_transfer_completed (1U<<_GTF_transfer_completed) |
#define | GNTTABOP_map_grant_ref 0 |
#define | GNTTABOP_unmap_grant_ref 1 |
#define | GNTTABOP_setup_table 2 |
#define | GNTTABOP_dump_table 3 |
#define | GNTTABOP_transfer 4 |
#define | _GNTCOPY_source_gref (0) |
#define | GNTCOPY_source_gref (1<<_GNTCOPY_source_gref) |
#define | _GNTCOPY_dest_gref (1) |
#define | GNTCOPY_dest_gref (1<<_GNTCOPY_dest_gref) |
#define | GNTTABOP_copy 5 |
#define | GNTTABOP_query_size 6 |
#define | GNTTABOP_unmap_and_replace 7 |
#define | GNTTABOP_set_version 8 |
#define | GNTTABOP_get_status_frames 9 |
#define | GNTTABOP_get_version 10 |
#define | _GNTMAP_device_map (0) |
#define | GNTMAP_device_map (1<<_GNTMAP_device_map) |
#define | _GNTMAP_host_map (1) |
#define | GNTMAP_host_map (1<<_GNTMAP_host_map) |
#define | _GNTMAP_readonly (2) |
#define | GNTMAP_readonly (1<<_GNTMAP_readonly) |
#define | _GNTMAP_application_map (3) |
#define | GNTMAP_application_map (1<<_GNTMAP_application_map) |
#define | _GNTMAP_contains_pte (4) |
#define | GNTMAP_contains_pte (1<<_GNTMAP_contains_pte) |
#define | GNTST_okay (0) /* Normal return. */ |
#define | GNTST_general_error (-1) /* General undefined error. */ |
#define | GNTST_bad_domain (-2) /* Unrecognsed domain id. */ |
#define | GNTST_bad_gntref (-3) /* Unrecognised or inappropriate gntref. */ |
#define | GNTST_bad_handle (-4) /* Unrecognised or inappropriate handle. */ |
#define | GNTST_bad_virt_addr (-5) /* Inappropriate virtual address to map. */ |
#define | GNTST_bad_dev_addr (-6) /* Inappropriate device address to unmap.*/ |
#define | GNTST_no_device_space (-7) /* Out of space in I/O MMU. */ |
#define | GNTST_permission_denied (-8) /* Not enough privilege for operation. */ |
#define | GNTST_bad_page (-9) /* Specified page was invalid for op. */ |
#define | GNTST_bad_copy_arg (-10) /* copy arguments cross page boundary. */ |
#define | GNTST_address_too_big (-11) /* transfer page address too large. */ |
#define | GNTST_eagain (-12) /* Operation not done; try again. */ |
#define | GNTTABOP_error_msgs |
Typedefs | |
typedef uint32_t | grant_ref_t |
typedef uint16_t | grant_status_t |
typedef uint32_t | grant_handle_t |
#define _GNTCOPY_dest_gref (1) |
Definition at line 369 of file grant_table.h.
#define _GNTCOPY_source_gref (0) |
Definition at line 367 of file grant_table.h.
#define _GNTMAP_application_map (3) |
Definition at line 498 of file grant_table.h.
#define _GNTMAP_contains_pte (4) |
Definition at line 506 of file grant_table.h.
#define _GNTMAP_device_map (0) |
Definition at line 485 of file grant_table.h.
#define _GNTMAP_host_map (1) |
Definition at line 488 of file grant_table.h.
#define _GNTMAP_readonly (2) |
Definition at line 491 of file grant_table.h.
#define _GTF_reading (3) |
Definition at line 141 of file grant_table.h.
#define _GTF_readonly (2) |
Definition at line 139 of file grant_table.h.
#define _GTF_sub_page (8) |
Definition at line 145 of file grant_table.h.
#define _GTF_transfer_committed (2) |
Definition at line 158 of file grant_table.h.
#define _GTF_transfer_completed (3) |
Definition at line 160 of file grant_table.h.
#define _GTF_writing (4) |
Definition at line 143 of file grant_table.h.
#define GNTCOPY_dest_gref (1<<_GNTCOPY_dest_gref) |
Definition at line 370 of file grant_table.h.
#define GNTCOPY_source_gref (1<<_GNTCOPY_source_gref) |
Definition at line 368 of file grant_table.h.
#define GNTMAP_application_map (1<<_GNTMAP_application_map) |
Definition at line 499 of file grant_table.h.
#define GNTMAP_contains_pte (1<<_GNTMAP_contains_pte) |
Definition at line 507 of file grant_table.h.
#define GNTMAP_device_map (1<<_GNTMAP_device_map) |
Definition at line 486 of file grant_table.h.
#define GNTMAP_host_map (1<<_GNTMAP_host_map) |
Definition at line 489 of file grant_table.h.
#define GNTMAP_readonly (1<<_GNTMAP_readonly) |
Definition at line 492 of file grant_table.h.
Definition at line 523 of file grant_table.h.
#define GNTST_bad_copy_arg (-10) /* copy arguments cross page boundary. */ |
Definition at line 522 of file grant_table.h.
Definition at line 518 of file grant_table.h.
#define GNTST_bad_domain (-2) /* Unrecognsed domain id. */ |
Definition at line 514 of file grant_table.h.
#define GNTST_bad_gntref (-3) /* Unrecognised or inappropriate gntref. */ |
Definition at line 515 of file grant_table.h.
#define GNTST_bad_handle (-4) /* Unrecognised or inappropriate handle. */ |
Definition at line 516 of file grant_table.h.
Definition at line 521 of file grant_table.h.
#define GNTST_bad_virt_addr (-5) /* Inappropriate virtual address to map. */ |
Definition at line 517 of file grant_table.h.
#define GNTST_eagain (-12) /* Operation not done; try again. */ |
Definition at line 524 of file grant_table.h.
#define GNTST_general_error (-1) /* General undefined error. */ |
Definition at line 513 of file grant_table.h.
Definition at line 519 of file grant_table.h.
#define GNTST_okay (0) /* Normal return. */ |
Definition at line 512 of file grant_table.h.
#define GNTST_permission_denied (-8) /* Not enough privilege for operation. */ |
Definition at line 520 of file grant_table.h.
#define GNTTABOP_copy 5 |
Definition at line 372 of file grant_table.h.
#define GNTTABOP_dump_table 3 |
Definition at line 321 of file grant_table.h.
#define GNTTABOP_error_msgs |
Definition at line 526 of file grant_table.h.
#define GNTTABOP_get_status_frames 9 |
Definition at line 456 of file grant_table.h.
#define GNTTABOP_get_version 10 |
Definition at line 471 of file grant_table.h.
#define GNTTABOP_map_grant_ref 0 |
Definition at line 261 of file grant_table.h.
#define GNTTABOP_query_size 6 |
Definition at line 397 of file grant_table.h.
#define GNTTABOP_set_version 8 |
Definition at line 437 of file grant_table.h.
#define GNTTABOP_setup_table 2 |
Definition at line 306 of file grant_table.h.
#define GNTTABOP_transfer 4 |
Definition at line 338 of file grant_table.h.
#define GNTTABOP_unmap_and_replace 7 |
Definition at line 419 of file grant_table.h.
#define GNTTABOP_unmap_grant_ref 1 |
Definition at line 286 of file grant_table.h.
#define GTF_accept_transfer (2U<<0) |
Definition at line 126 of file grant_table.h.
#define GTF_invalid (0U<<0) |
Definition at line 124 of file grant_table.h.
#define GTF_permit_access (1U<<0) |
Definition at line 125 of file grant_table.h.
#define GTF_reading (1U<<_GTF_reading) |
Definition at line 142 of file grant_table.h.
#define GTF_readonly (1U<<_GTF_readonly) |
Definition at line 140 of file grant_table.h.
#define GTF_sub_page (1U<<_GTF_sub_page) |
Definition at line 146 of file grant_table.h.
#define GTF_transfer_committed (1U<<_GTF_transfer_committed) |
Definition at line 159 of file grant_table.h.
#define GTF_transfer_completed (1U<<_GTF_transfer_completed) |
Definition at line 161 of file grant_table.h.
#define GTF_transitive (3U<<0) |
Definition at line 127 of file grant_table.h.
#define GTF_type_mask (3U<<0) |
Definition at line 128 of file grant_table.h.
#define GTF_writing (1U<<_GTF_writing) |
Definition at line 144 of file grant_table.h.
typedef uint32_t grant_handle_t |
Definition at line 242 of file grant_table.h.
typedef uint32_t grant_ref_t |
Definition at line 90 of file grant_table.h.
typedef uint16_t grant_status_t |
Definition at line 233 of file grant_table.h.
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_map_grant_ref | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_unmap_grant_ref | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_setup_table | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_dump_table | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_transfer | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_copy | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_query_size | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_unmap_and_replace | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_set_version | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_get_status_frames | ) |
DEFINE_GUEST_HANDLE_STRUCT | ( | gnttab_get_version | ) |