#include <linux/spinlock.h>
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/delay.h>
#include <linux/freezer.h>
#include <xen/events.h>
#include <xen/page.h>
#include <xen/xen.h>
#include <asm/xen/hypervisor.h>
#include <asm/xen/hypercall.h>
#include "common.h"
Go to the source code of this file.
#define BLKBACK_INVALID_HANDLE (~0) |
#define pending_handle |
( |
|
_req, |
|
|
|
_seg |
|
) |
| (blkbk->pending_grant_handles[vaddr_pagenr(_req, _seg)]) |
#define pending_page |
( |
|
req, |
|
|
|
seg |
|
) |
| pending_pages[vaddr_pagenr(req, seg)] |
MODULE_ALIAS |
( |
"xen-backend:vbd" |
| ) |
|
module_init |
( |
xen_blkif_init |
| ) |
|
MODULE_LICENSE |
( |
"Dual BSD/GPL" |
| ) |
|
module_param |
( |
log_stats |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param_named |
( |
reqs |
, |
|
|
xen_blkif_reqs |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
reqs |
, |
|
|
"Number of blkback requests to allocate" |
|
|
) |
| |
int xen_blkif_schedule |
( |
void * |
arg | ) |
|