|
Network Block Device @PACKAGE_VERSION@
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <sys/time.h>#include <sys/types.h>#include <stdint.h>#include <unistd.h>#include "config.h"#include "cliserv.h"#include "nbd.h"Go to the source code of this file.
Functions | |
| static void | dowrite (int f, void *buf, size_t len) |
| static uint64_t | getrandomuint64 () |
| int | main (int argc, char **argv) |
Variables | |
| const uint64_t | filesize = 50*1000*1000 |
| const uint64_t | transactions = 250 |
| static void dowrite | ( | int | f, |
| void * | buf, | ||
| size_t | len | ||
| ) | [inline, static] |
Definition at line 21 of file make-integrityhuge.c.
Referenced by main().
| static uint64_t getrandomuint64 | ( | ) | [inline, static] |
Definition at line 34 of file make-integrityhuge.c.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 43 of file make-integrityhuge.c.
References dowrite(), nbd_reply::error, filesize, nbd_request::from, getrandomuint64(), nbd_reply::handle, nbd_request::handle, handle, htonll, nbd_request::len, nbd_reply::magic, nbd_request::magic, NBD_CMD_DISC, NBD_CMD_FLAG_FUA, NBD_CMD_FLUSH, NBD_CMD_READ, NBD_CMD_WRITE, NBD_REPLY_MAGIC, NBD_REQUEST_MAGIC, transactions, and nbd_request::type.
| const uint64_t filesize = 50*1000*1000 |
Definition at line 18 of file make-integrityhuge.c.
Referenced by main().
| const uint64_t transactions = 250 |
Definition at line 19 of file make-integrityhuge.c.
Referenced by main().
1.7.3