Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/bhyve/block_if.c
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
#include "bhyverun.h" | #include "bhyverun.h" | ||||
#include "mevent.h" | #include "mevent.h" | ||||
#include "block_if.h" | #include "block_if.h" | ||||
#define BLOCKIF_SIG 0xb109b109 | #define BLOCKIF_SIG 0xb109b109 | ||||
#define BLOCKIF_NUMTHR 8 | #define BLOCKIF_NUMTHR 8 | ||||
#define BLOCKIF_MAXREQ (64 + BLOCKIF_NUMTHR) | #define BLOCKIF_MAXREQ (BLOCKIF_RING_MAX + BLOCKIF_NUMTHR) | ||||
enum blockop { | enum blockop { | ||||
BOP_READ, | BOP_READ, | ||||
BOP_WRITE, | BOP_WRITE, | ||||
BOP_FLUSH, | BOP_FLUSH, | ||||
BOP_DELETE | BOP_DELETE | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 774 Lines • Show Last 20 Lines |