Linux Kernel
3.7.1
|
#include <linux/list.h>
#include <asm/sync_bitops.h>
#include <linux/atomic.h>
#include <linux/hyperv.h>
Go to the source code of this file.
Data Structures | |
union | hv_connection_id |
union | hv_port_id |
struct | hv_port_info |
struct | hv_connection_info |
union | hv_message_flags |
struct | hv_message_header |
struct | hv_timer_message_payload |
struct | hv_message |
struct | hv_message_page |
union | hv_synic_event_flags |
struct | hv_synic_event_flags_page |
union | hv_synic_scontrol |
union | hv_synic_sint |
union | hv_synic_simp |
union | hv_synic_siefp |
union | hv_monitor_trigger_group |
struct | hv_monitor_parameter |
union | hv_monitor_trigger_state |
struct | hv_monitor_page |
struct | hv_input_post_message |
struct | hv_input_signal_event |
union | hv_x64_msr_guest_os_id_contents |
union | hv_x64_msr_hypercall_contents |
struct | hv_input_signal_event_buffer |
struct | hv_context |
struct | vmbus_connection |
struct | vmbus_msginfo |
Variables | |
struct hv_context | hv_context |
struct vmbus_connection | vmbus_connection |
#define HV_ANY_VP (0xFFFFFFFF) |
Definition at line 62 of file hyperv_vmbus.h.
#define HV_CAPS_MAX 8 |
Definition at line 461 of file hyperv_vmbus.h.
#define HV_CONNECT_PAYLOAD_BYTE_COUNT 64 |
Definition at line 484 of file hyperv_vmbus.h.
#define HV_CPU_POWER_MANAGEMENT (1 << 0) |
Definition at line 457 of file hyperv_vmbus.h.
#define HV_EVENT_FLAGS_BYTE_COUNT (256) |
Definition at line 66 of file hyperv_vmbus.h.
#define HV_EVENT_FLAGS_COUNT (256 * 8) |
Definition at line 65 of file hyperv_vmbus.h.
Definition at line 67 of file hyperv_vmbus.h.
Definition at line 464 of file hyperv_vmbus.h.
#define HV_LINUX_VENDOR_ID 0x8100 |
Definition at line 437 of file hyperv_vmbus.h.
#define HV_MESSAGE_PAYLOAD_BYTE_COUNT (240) |
Definition at line 60 of file hyperv_vmbus.h.
#define HV_MESSAGE_PAYLOAD_QWORD_COUNT (30) |
Definition at line 61 of file hyperv_vmbus.h.
#define HV_MESSAGE_SIZE (256) |
Definition at line 59 of file hyperv_vmbus.h.
#define HV_PARTITION_ID_INVALID ((u64)0x0) |
Definition at line 102 of file hyperv_vmbus.h.
#define HV_PORT_MESSAGE_BUFFER_COUNT (16) |
Definition at line 207 of file hyperv_vmbus.h.
#define HV_PRESENT_BIT 0x80000000 |
Definition at line 411 of file hyperv_vmbus.h.
#define HV_RECOMMENDATIONS_MAX 4 |
Definition at line 458 of file hyperv_vmbus.h.
#define HV_SERVICE_CONNECT_REQUEST_MESSAGE_ID (1) |
Definition at line 477 of file hyperv_vmbus.h.
#define HV_SERVICE_CONNECT_RESPONSE_CONNECTION_REJECTED (3) |
Definition at line 475 of file hyperv_vmbus.h.
#define HV_SERVICE_CONNECT_RESPONSE_INVALID_PARAMETER (1) |
Definition at line 473 of file hyperv_vmbus.h.
#define HV_SERVICE_CONNECT_RESPONSE_MESSAGE_ID (2) |
Definition at line 478 of file hyperv_vmbus.h.
#define HV_SERVICE_CONNECT_RESPONSE_SUCCESS (0) |
Definition at line 472 of file hyperv_vmbus.h.
#define HV_SERVICE_CONNECT_RESPONSE_UNKNOWN_SERVICE (2) |
Definition at line 474 of file hyperv_vmbus.h.
#define HV_SERVICE_DISCONNECT_REQUEST_MESSAGE_ID (3) |
Definition at line 479 of file hyperv_vmbus.h.
#define HV_SERVICE_DISCONNECT_RESPONSE_MESSAGE_ID (4) |
Definition at line 480 of file hyperv_vmbus.h.
#define HV_SERVICE_MAX_MESSAGE_ID (4) |
Definition at line 481 of file hyperv_vmbus.h.
#define HV_SERVICE_PARENT_CONNECTION (0) |
Definition at line 470 of file hyperv_vmbus.h.
#define HV_SERVICE_PARENT_PORT (0) |
Definition at line 469 of file hyperv_vmbus.h.
#define HV_SERVICE_PROTOCOL_VERSION (0x0010) |
Definition at line 483 of file hyperv_vmbus.h.
#define HV_SYNIC_SINT_COUNT (16) |
Definition at line 98 of file hyperv_vmbus.h.
#define HV_SYNIC_STIMER_COUNT (4) |
Definition at line 99 of file hyperv_vmbus.h.
#define HV_SYNIC_VERSION (1) |
Definition at line 53 of file hyperv_vmbus.h.
#define HV_SYNIC_VERSION_1 (0x1) |
Definition at line 56 of file hyperv_vmbus.h.
#define HV_X64_MAX 5 |
Definition at line 460 of file hyperv_vmbus.h.
#define HV_X64_MSR_GUEST_OS_ID 0x40000000 |
Definition at line 370 of file hyperv_vmbus.h.
#define HV_X64_MSR_HYPERCALL 0x40000001 |
Definition at line 387 of file hyperv_vmbus.h.
Definition at line 578 of file hyperv_vmbus.h.
#define MAX_NUM_CHANNELS_SUPPORTED 256 |
Definition at line 582 of file hyperv_vmbus.h.
#define MAX_SIZE_CHANNEL_MESSAGE HV_MESSAGE_PAYLOAD_BYTE_COUNT |
Definition at line 592 of file hyperv_vmbus.h.
anonymous enum |
VMBUS_MESSAGE_CONNECTION_ID | |
VMBUS_MESSAGE_PORT_ID | |
VMBUS_EVENT_CONNECTION_ID | |
VMBUS_EVENT_PORT_ID | |
VMBUS_MONITOR_CONNECTION_ID | |
VMBUS_MONITOR_PORT_ID | |
VMBUS_MESSAGE_SINT |
Definition at line 399 of file hyperv_vmbus.h.
enum hv_call_code |
Definition at line 327 of file hyperv_vmbus.h.
enum hv_cpuid_function |
HVCPUID_VERSION_FEATURES | |
HVCPUID_VENDOR_MAXFUNCTION | |
HVCPUID_INTERFACE | |
HVCPUID_VERSION | |
HVCPUID_FEATURES | |
HVCPUID_ENLIGHTENMENT_INFO | |
HVCPUID_IMPLEMENTATION_LIMITS |
Definition at line 37 of file hyperv_vmbus.h.
HVGUESTOS_MICROSOFT_UNDEFINED | |
HVGUESTOS_MICROSOFT_MSDOS | |
HVGUESTOS_MICROSOFT_WINDOWS3X | |
HVGUESTOS_MICROSOFT_WINDOWS9X | |
HVGUESTOS_MICROSOFT_WINDOWSNT | |
HVGUESTOS_MICROSOFT_WINDOWSCE |
Definition at line 358 of file hyperv_vmbus.h.
enum hv_guest_os_vendor |
Definition at line 354 of file hyperv_vmbus.h.
enum hv_message_type |
Definition at line 70 of file hyperv_vmbus.h.
enum hv_port_type |
Definition at line 123 of file hyperv_vmbus.h.
enum vmbus_connect_state |
Definition at line 585 of file hyperv_vmbus.h.
Definition at line 250 of file ring_buffer.c.
int hv_post_message | ( | union hv_connection_id | connection_id, |
enum hv_message_type | message_type, | ||
void * | payload, | ||
size_t | payload_size | ||
) |
Definition at line 289 of file ring_buffer.c.
void hv_ringbuffer_get_debuginfo | ( | struct hv_ring_buffer_info * | ring_info, |
struct hv_ring_buffer_debug_info * | debug_info | ||
) |
Definition at line 220 of file ring_buffer.c.
Definition at line 262 of file ring_buffer.c.
Definition at line 373 of file ring_buffer.c.
int hv_ringbuffer_read | ( | struct hv_ring_buffer_info * | ring_info, |
void * | buffer, | ||
u32 | buflen, | ||
u32 | offset | ||
) |
Definition at line 416 of file ring_buffer.c.
int hv_ringbuffer_write | ( | struct hv_ring_buffer_info * | ring_info, |
struct scatterlist * | sglist, | ||
u32 | sgcount | ||
) |
Definition at line 300 of file ring_buffer.c.
Definition at line 190 of file connection.c.
Definition at line 45 of file connection.c.
|
read |
Definition at line 604 of file vmbus_drv.c.
Definition at line 628 of file vmbus_drv.c.
Definition at line 660 of file vmbus_drv.c.
Definition at line 172 of file channel_mgmt.c.
Definition at line 248 of file connection.c.
Definition at line 283 of file connection.c.
Definition at line 310 of file connection.c.
Definition at line 37 of file connection.c.