#include <linux/types.h>
Go to the source code of this file.
|
#define | NBD_SET_SOCK _IO( 0xab, 0 ) |
|
#define | NBD_SET_BLKSIZE _IO( 0xab, 1 ) |
|
#define | NBD_SET_SIZE _IO( 0xab, 2 ) |
|
#define | NBD_DO_IT _IO( 0xab, 3 ) |
|
#define | NBD_CLEAR_SOCK _IO( 0xab, 4 ) |
|
#define | NBD_CLEAR_QUE _IO( 0xab, 5 ) |
|
#define | NBD_PRINT_DEBUG _IO( 0xab, 6 ) |
|
#define | NBD_SET_SIZE_BLOCKS _IO( 0xab, 7 ) |
|
#define | NBD_DISCONNECT _IO( 0xab, 8 ) |
|
#define | NBD_SET_TIMEOUT _IO( 0xab, 9 ) |
|
#define | NBD_SET_FLAGS _IO( 0xab, 10) |
|
#define | NBD_FLAG_HAS_FLAGS (1 << 0) /* nbd-server supports flags */ |
|
#define | NBD_FLAG_READ_ONLY (1 << 1) /* device is read-only */ |
|
#define | NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */ |
|
#define | nbd_cmd(req) ((req)->cmd[0]) |
|
#define | NBD_REQUEST_MAGIC 0x25609513 |
|
#define | NBD_REPLY_MAGIC 0x67446698 |
|
#define NBD_CLEAR_QUE _IO( 0xab, 5 ) |
Definition at line 25 of file nbd.h.
#define NBD_CLEAR_SOCK _IO( 0xab, 4 ) |
Definition at line 24 of file nbd.h.
Definition at line 46 of file nbd.h.
#define NBD_DISCONNECT _IO( 0xab, 8 ) |
Definition at line 28 of file nbd.h.
#define NBD_DO_IT _IO( 0xab, 3 ) |
Definition at line 23 of file nbd.h.
#define NBD_FLAG_HAS_FLAGS (1 << 0) /* nbd-server supports flags */ |
Definition at line 41 of file nbd.h.
#define NBD_FLAG_READ_ONLY (1 << 1) /* device is read-only */ |
Definition at line 42 of file nbd.h.
#define NBD_FLAG_SEND_TRIM (1 << 5) /* send trim/discard */ |
Definition at line 44 of file nbd.h.
#define NBD_PRINT_DEBUG _IO( 0xab, 6 ) |
Definition at line 26 of file nbd.h.
#define NBD_REPLY_MAGIC 0x67446698 |
Definition at line 53 of file nbd.h.
#define NBD_REQUEST_MAGIC 0x25609513 |
Definition at line 52 of file nbd.h.
#define NBD_SET_BLKSIZE _IO( 0xab, 1 ) |
Definition at line 21 of file nbd.h.
#define NBD_SET_FLAGS _IO( 0xab, 10) |
Definition at line 30 of file nbd.h.
#define NBD_SET_SIZE _IO( 0xab, 2 ) |
Definition at line 22 of file nbd.h.
#define NBD_SET_SIZE_BLOCKS _IO( 0xab, 7 ) |
Definition at line 27 of file nbd.h.
#define NBD_SET_SOCK _IO( 0xab, 0 ) |
Definition at line 20 of file nbd.h.
#define NBD_SET_TIMEOUT _IO( 0xab, 9 ) |
Definition at line 29 of file nbd.h.
- Enumerator:
NBD_CMD_READ |
|
NBD_CMD_WRITE |
|
NBD_CMD_DISC |
|
NBD_CMD_TRIM |
|
Definition at line 32 of file nbd.h.
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
Definition at line 70 of file nbd.h.
Definition at line 69 of file nbd.h.
Definition at line 71 of file nbd.h.
Definition at line 67 of file nbd.h.
Definition at line 68 of file nbd.h.