Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
xenbus_xs.c File Reference
#include <linux/unistd.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/uio.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/kthread.h>
#include <linux/rwsem.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <asm/xen/hypervisor.h>
#include <xen/xenbus.h>
#include <xen/xen.h>
#include "xenbus_comms.h"

Go to the source code of this file.

Data Structures

struct  xs_stored_msg
 
struct  xs_handle
 

Functions

voidxenbus_dev_request_and_reply (struct xsd_sockmsg *msg)
 
 EXPORT_SYMBOL (xenbus_dev_request_and_reply)
 
char ** xenbus_directory (struct xenbus_transaction t, const char *dir, const char *node, unsigned int *num)
 
 EXPORT_SYMBOL_GPL (xenbus_directory)
 
int xenbus_exists (struct xenbus_transaction t, const char *dir, const char *node)
 
 EXPORT_SYMBOL_GPL (xenbus_exists)
 
voidxenbus_read (struct xenbus_transaction t, const char *dir, const char *node, unsigned int *len)
 
 EXPORT_SYMBOL_GPL (xenbus_read)
 
int xenbus_write (struct xenbus_transaction t, const char *dir, const char *node, const char *string)
 
 EXPORT_SYMBOL_GPL (xenbus_write)
 
int xenbus_mkdir (struct xenbus_transaction t, const char *dir, const char *node)
 
 EXPORT_SYMBOL_GPL (xenbus_mkdir)
 
int xenbus_rm (struct xenbus_transaction t, const char *dir, const char *node)
 
 EXPORT_SYMBOL_GPL (xenbus_rm)
 
int xenbus_transaction_start (struct xenbus_transaction *t)
 
 EXPORT_SYMBOL_GPL (xenbus_transaction_start)
 
int xenbus_transaction_end (struct xenbus_transaction t, int abort)
 
 EXPORT_SYMBOL_GPL (xenbus_transaction_end)
 
int xenbus_scanf (struct xenbus_transaction t, const char *dir, const char *node, const char *fmt,...)
 
 EXPORT_SYMBOL_GPL (xenbus_scanf)
 
int xenbus_printf (struct xenbus_transaction t, const char *dir, const char *node, const char *fmt,...)
 
 EXPORT_SYMBOL_GPL (xenbus_printf)
 
int xenbus_gather (struct xenbus_transaction t, const char *dir,...)
 
 EXPORT_SYMBOL_GPL (xenbus_gather)
 
int register_xenbus_watch (struct xenbus_watch *watch)
 
 EXPORT_SYMBOL_GPL (register_xenbus_watch)
 
void unregister_xenbus_watch (struct xenbus_watch *watch)
 
 EXPORT_SYMBOL_GPL (unregister_xenbus_watch)
 
void xs_suspend (void)
 
void xs_resume (void)
 
void xs_suspend_cancel (void)
 
int xs_init (void)
 

Function Documentation

EXPORT_SYMBOL ( xenbus_dev_request_and_reply  )
EXPORT_SYMBOL_GPL ( xenbus_directory  )
EXPORT_SYMBOL_GPL ( xenbus_exists  )
EXPORT_SYMBOL_GPL ( xenbus_read  )
EXPORT_SYMBOL_GPL ( xenbus_write  )
EXPORT_SYMBOL_GPL ( xenbus_mkdir  )
EXPORT_SYMBOL_GPL ( xenbus_rm  )
EXPORT_SYMBOL_GPL ( xenbus_transaction_start  )
EXPORT_SYMBOL_GPL ( xenbus_transaction_end  )
EXPORT_SYMBOL_GPL ( xenbus_scanf  )
EXPORT_SYMBOL_GPL ( xenbus_printf  )
EXPORT_SYMBOL_GPL ( xenbus_gather  )
EXPORT_SYMBOL_GPL ( register_xenbus_watch  )
EXPORT_SYMBOL_GPL ( unregister_xenbus_watch  )
int register_xenbus_watch ( struct xenbus_watch watch)

Definition at line 663 of file xenbus_xs.c.

void unregister_xenbus_watch ( struct xenbus_watch watch)

Definition at line 692 of file xenbus_xs.c.

void* xenbus_dev_request_and_reply ( struct xsd_sockmsg msg)

Definition at line 198 of file xenbus_xs.c.

char** xenbus_directory ( struct xenbus_transaction  t,
const char dir,
const char node,
unsigned int num 
)

Definition at line 354 of file xenbus_xs.c.

int xenbus_exists ( struct xenbus_transaction  t,
const char dir,
const char node 
)

Definition at line 374 of file xenbus_xs.c.

int xenbus_gather ( struct xenbus_transaction  t,
const char dir,
  ... 
)

Definition at line 555 of file xenbus_xs.c.

int xenbus_mkdir ( struct xenbus_transaction  t,
const char dir,
const char node 
)

Definition at line 434 of file xenbus_xs.c.

int xenbus_printf ( struct xenbus_transaction  t,
const char dir,
const char node,
const char fmt,
  ... 
)

Definition at line 532 of file xenbus_xs.c.

void* xenbus_read ( struct xenbus_transaction  t,
const char dir,
const char node,
unsigned int len 
)

Definition at line 392 of file xenbus_xs.c.

int xenbus_rm ( struct xenbus_transaction  t,
const char dir,
const char node 
)

Definition at line 451 of file xenbus_xs.c.

int xenbus_scanf ( struct xenbus_transaction  t,
const char dir,
const char node,
const char fmt,
  ... 
)

Definition at line 509 of file xenbus_xs.c.

int xenbus_transaction_end ( struct xenbus_transaction  t,
int  abort 
)

Definition at line 490 of file xenbus_xs.c.

int xenbus_transaction_start ( struct xenbus_transaction t)

Definition at line 469 of file xenbus_xs.c.

int xenbus_write ( struct xenbus_transaction  t,
const char dir,
const char node,
const char string 
)

Definition at line 411 of file xenbus_xs.c.

int xs_init ( void  )

Definition at line 914 of file xenbus_xs.c.

void xs_resume ( void  )

Definition at line 744 of file xenbus_xs.c.

void xs_suspend ( void  )

Definition at line 736 of file xenbus_xs.c.

void xs_suspend_cancel ( void  )

Definition at line 764 of file xenbus_xs.c.