Linux Kernel
3.7.1
|
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/blkdev.h>
#include <linux/hdreg.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/virtio.h>
#include <linux/virtio_blk.h>
#include <linux/scatterlist.h>
#include <linux/string_helpers.h>
#include <scsi/scsi_cmnd.h>
#include <linux/idr.h>
Go to the source code of this file.
Data Structures | |
struct | virtio_blk |
struct | virtblk_req |
Macros | |
#define | PART_BITS 4 |
Enumerations | |
enum | { VBLK_IS_FLUSH = 1, VBLK_REQ_FLUSH = 2, VBLK_REQ_DATA = 4, VBLK_REQ_FUA = 8 } |
Functions | |
module_param (use_bio, bool, S_IRUGO) | |
DEVICE_ATTR (serial, S_IRUGO, virtblk_serial_show, NULL) | |
module_init (init) | |
module_exit (fini) | |
MODULE_DEVICE_TABLE (virtio, id_table) | |
MODULE_DESCRIPTION ("Virtio block driver") | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct workqueue_struct * | virtblk_wq |
struct virtio_blk | __attribute__ |
#define PART_BITS 4 |
Definition at line 15 of file virtio_blk.c.
anonymous enum |
Definition at line 68 of file virtio_blk.c.
MODULE_DEVICE_TABLE | ( | virtio | , |
id_table | |||
) |
module_exit | ( | fini | ) |
module_init | ( | init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
struct workqueue_struct* virtblk_wq |
Definition at line 23 of file virtio_blk.c.