Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xenbus_comms.c File Reference
#include <linux/wait.h>
#include <linux/interrupt.h>
#include <linux/sched.h>
#include <linux/err.h>
#include <xen/xenbus.h>
#include <asm/xen/hypervisor.h>
#include <xen/events.h>
#include <xen/page.h>
#include "xenbus_comms.h"

Go to the source code of this file.

Functions

int xb_write (const void *data, unsigned len)
 
int xb_data_to_read (void)
 
int xb_wait_for_data_to_read (void)
 
int xb_read (void *data, unsigned len)
 
int xb_init_comms (void)
 
void xb_deinit_comms (void)
 

Function Documentation

int xb_data_to_read ( void  )

Definition at line 141 of file xenbus_comms.c.

void xb_deinit_comms ( void  )

Definition at line 238 of file xenbus_comms.c.

int xb_init_comms ( void  )

xb_init_comms - Set up interrupt handler off store event channel.

Definition at line 203 of file xenbus_comms.c.

int xb_read ( void data,
unsigned  len 
)

Definition at line 152 of file xenbus_comms.c.

int xb_wait_for_data_to_read ( void  )

Definition at line 147 of file xenbus_comms.c.

int xb_write ( const void data,
unsigned  len 
)

xb_write - low level write : buffer to send : length of buffer

Returns 0 on success, error otherwise.

Definition at line 92 of file xenbus_comms.c.