Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
connection.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/hyperv.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 vmbus_connect (void)
 
struct vmbus_channel * relid2channel (u32 relid)
 
void vmbus_on_event (unsigned long data)
 
int vmbus_post_msg (void *buffer, size_t buflen)
 
int vmbus_set_event (u32 child_relid)
 

Variables

struct vmbus_connection vmbus_connection
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 23 of file connection.c.

Function Documentation

struct vmbus_channel* relid2channel ( u32  relid)
read

Definition at line 190 of file connection.c.

int vmbus_connect ( void  )

Definition at line 45 of file connection.c.

void vmbus_on_event ( unsigned long  data)

Definition at line 248 of file connection.c.

int vmbus_post_msg ( void buffer,
size_t  buflen 
)

Definition at line 283 of file connection.c.

int vmbus_set_event ( u32  child_relid)

Definition at line 310 of file connection.c.

Variable Documentation

Initial value:
= {
.conn_state = DISCONNECTED,
.next_gpadl_handle = ATOMIC_INIT(0xE1E10),
}

Definition at line 37 of file connection.c.