Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
multicalls.c File Reference
#include <linux/percpu.h>
#include <linux/hardirq.h>
#include <linux/debugfs.h>
#include <asm/xen/hypercall.h>
#include "multicalls.h"
#include "debugfs.h"

Go to the source code of this file.

Data Structures

struct  mc_buffer
 
struct  mc_buffer::callback
 

Macros

#define MC_BATCH   32
 
#define MC_DEBUG   0
 
#define MC_ARGS   (MC_BATCH * 16)
 

Functions

 DEFINE_PER_CPU (unsigned long, xen_mc_irq_flags)
 
void xen_mc_flush (void)
 
struct multicall_space __xen_mc_entry (size_t args)
 
struct multicall_space xen_mc_extend_args (unsigned long op, size_t size)
 
void xen_mc_callback (void(*fn)(void *), void *data)
 

Macro Definition Documentation

#define MC_ARGS   (MC_BATCH * 16)

Definition at line 35 of file multicalls.c.

#define MC_BATCH   32

Definition at line 31 of file multicalls.c.

#define MC_DEBUG   0

Definition at line 33 of file multicalls.c.

Function Documentation

struct multicall_space __xen_mc_entry ( size_t  args)
read

Definition at line 132 of file multicalls.c.

DEFINE_PER_CPU ( unsigned  long,
xen_mc_irq_flags   
)
void xen_mc_callback ( void(*)(void *)  fn,
void data 
)

Definition at line 193 of file multicalls.c.

struct multicall_space xen_mc_extend_args ( unsigned long  op,
size_t  size 
)
read

Definition at line 163 of file multicalls.c.

void xen_mc_flush ( void  )

Definition at line 55 of file multicalls.c.