Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
hv.c File Reference
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/hyperv.h>
#include <linux/version.h>
#include <asm/hyperv.h>
#include "hyperv_vmbus.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int hv_init (void)
 
void hv_cleanup (void)
 
int hv_post_message (union hv_connection_id connection_id, enum hv_message_type message_type, void *payload, size_t payload_size)
 
u16 hv_signal_event (void)
 
void hv_synic_init (void *irqarg)
 
void hv_synic_cleanup (void *arg)
 

Variables

struct hv_context hv_context
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 22 of file hv.c.

Function Documentation

void hv_cleanup ( void  )

Definition at line 209 of file hv.c.

int hv_init ( void  )

Definition at line 131 of file hv.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 233 of file hv.c.

u16 hv_signal_event ( void  )

Definition at line 276 of file hv.c.

void hv_synic_cleanup ( void arg)

Definition at line 373 of file hv.c.

void hv_synic_init ( void irqarg)

Definition at line 293 of file hv.c.

Variable Documentation

Initial value:
= {
.synic_initialized = false,
.hypercall_page = NULL,
.signal_event_param = NULL,
.signal_event_buffer = NULL,
}

Definition at line 34 of file hv.c.