block.h (9c2647f75004c4f7d64c9c0ec55f8c6f0739a8b1) | block.h (ab5b522879e2a7880418cbd29340675e5427572f) |
---|---|
1#ifndef BLOCK_H 2#define BLOCK_H 3 4#include "block/aio.h" 5#include "block/aio-wait.h" 6#include "qemu/iov.h" 7#include "qemu/coroutine.h" 8#include "block/accounting.h" --- 372 unchanged lines hidden (view full) --- 381 const char *bdref_key, Error **errp); 382BlockDriverState *bdrv_open(const char *filename, const char *reference, 383 QDict *options, int flags, Error **errp); 384BlockDriverState *bdrv_new_open_driver(BlockDriver *drv, const char *node_name, 385 int flags, Error **errp); 386BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue, 387 BlockDriverState *bs, QDict *options, 388 bool keep_old_opts); | 1#ifndef BLOCK_H 2#define BLOCK_H 3 4#include "block/aio.h" 5#include "block/aio-wait.h" 6#include "qemu/iov.h" 7#include "qemu/coroutine.h" 8#include "block/accounting.h" --- 372 unchanged lines hidden (view full) --- 381 const char *bdref_key, Error **errp); 382BlockDriverState *bdrv_open(const char *filename, const char *reference, 383 QDict *options, int flags, Error **errp); 384BlockDriverState *bdrv_new_open_driver(BlockDriver *drv, const char *node_name, 385 int flags, Error **errp); 386BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue, 387 BlockDriverState *bs, QDict *options, 388 bool keep_old_opts); |
389void bdrv_reopen_queue_free(BlockReopenQueue *bs_queue); |
|
389int bdrv_reopen_multiple(BlockReopenQueue *bs_queue, Error **errp); 390int bdrv_reopen_set_read_only(BlockDriverState *bs, bool read_only, 391 Error **errp); 392int bdrv_pwrite_zeroes(BdrvChild *child, int64_t offset, 393 int64_t bytes, BdrvRequestFlags flags); 394int bdrv_make_zero(BdrvChild *child, BdrvRequestFlags flags); 395int bdrv_pread(BdrvChild *child, int64_t offset, void *buf, int64_t bytes); 396int bdrv_pwrite(BdrvChild *child, int64_t offset, const void *buf, --- 461 unchanged lines hidden --- | 390int bdrv_reopen_multiple(BlockReopenQueue *bs_queue, Error **errp); 391int bdrv_reopen_set_read_only(BlockDriverState *bs, bool read_only, 392 Error **errp); 393int bdrv_pwrite_zeroes(BdrvChild *child, int64_t offset, 394 int64_t bytes, BdrvRequestFlags flags); 395int bdrv_make_zero(BdrvChild *child, BdrvRequestFlags flags); 396int bdrv_pread(BdrvChild *child, int64_t offset, void *buf, int64_t bytes); 397int bdrv_pwrite(BdrvChild *child, int64_t offset, const void *buf, --- 461 unchanged lines hidden --- |