#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/blkdev.h>
#include <linux/vmalloc.h>
#include <linux/wait.h>
#include <linux/io.h>
#include <asm/setup.h>
#include <asm/pgalloc.h>
#include <asm/hypervisor.h>
#include <xen/grant_table.h>
#include <xen/xenbus.h>
#include <xen/interface/io/ring.h>
#include <xen/interface/io/blkif.h>
#include <xen/interface/io/protocols.h>
Go to the source code of this file.
|
struct blkif_x86_32_request_rw | __attribute__ ((__packed__)) |
|
| DEFINE_RING_TYPES (blkif_common, struct blkif_common_request, struct blkif_common_response) |
|
| DEFINE_RING_TYPES (blkif_x86_32, struct blkif_x86_32_request, struct blkif_x86_32_response) |
|
| DEFINE_RING_TYPES (blkif_x86_64, struct blkif_x86_64_request, struct blkif_x86_64_response) |
|
int | xen_blkif_interface_init (void) |
|
int | xen_blkif_xenbus_init (void) |
|
irqreturn_t | xen_blkif_be_int (int irq, void *dev_id) |
|
int | xen_blkif_schedule (void *arg) |
|
int | xen_blkbk_flush_diskcache (struct xenbus_transaction xbt, struct backend_info *be, int state) |
|
int | xen_blkbk_barrier (struct xenbus_transaction xbt, struct backend_info *be, int state) |
|
struct xenbus_device * | xen_blkbk_xenbus (struct backend_info *be) |
|
#define DPRINTK |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
Value:
__func__, __LINE__, ##args)
Definition at line 47 of file common.h.
#define DRV_PFX "xen-blkback:" |
Value:((_v)->bdev->bd_part ? \
(_v)->bdev->bd_part->nr_sects : \
get_capacity((_v)->bdev->bd_disk))
Definition at line 207 of file common.h.
#define xen_blkif_get |
( |
|
_b | ) |
(atomic_inc(&(_b)->refcnt)) |
#define xen_blkif_put |
( |
|
_b | ) |
|
Value:do { \
wake_up(&(_b)->waiting_to_free);\
} while (0)
Definition at line 212 of file common.h.
- Enumerator:
BLKIF_PROTOCOL_NATIVE |
|
BLKIF_PROTOCOL_X86_32 |
|
BLKIF_PROTOCOL_X86_64 |
|
Definition at line 143 of file common.h.
int xen_blkif_interface_init |
( |
void |
| ) |
|
int xen_blkif_schedule |
( |
void * |
arg | ) |
|