block.h (46f63e5b8899e1639d93025a8f2d5f1239b7dcdd) block.h (5e003f17ec518cd96f5d2ac23ce9e14144426235)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu/iov.h"
6#include "qemu/option.h"
7#include "qemu/coroutine.h"
8#include "block/accounting.h"

--- 447 unchanged lines hidden (view full) ---

456 BDRV_NEXT_MONITOR_OWNED,
457 } phase;
458 BlockBackend *blk;
459 BlockDriverState *bs;
460} BdrvNextIterator;
461
462BlockDriverState *bdrv_first(BdrvNextIterator *it);
463BlockDriverState *bdrv_next(BdrvNextIterator *it);
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu/iov.h"
6#include "qemu/option.h"
7#include "qemu/coroutine.h"
8#include "block/accounting.h"

--- 447 unchanged lines hidden (view full) ---

456 BDRV_NEXT_MONITOR_OWNED,
457 } phase;
458 BlockBackend *blk;
459 BlockDriverState *bs;
460} BdrvNextIterator;
461
462BlockDriverState *bdrv_first(BdrvNextIterator *it);
463BlockDriverState *bdrv_next(BdrvNextIterator *it);
464void bdrv_next_cleanup(BdrvNextIterator *it);
464
465BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs);
466bool bdrv_is_encrypted(BlockDriverState *bs);
467void bdrv_iterate_format(void (*it)(void *opaque, const char *name),
468 void *opaque);
469const char *bdrv_get_node_name(const BlockDriverState *bs);
470const char *bdrv_get_device_name(const BlockDriverState *bs);
471const char *bdrv_get_device_or_node_name(const BlockDriverState *bs);

--- 152 unchanged lines hidden ---
465
466BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs);
467bool bdrv_is_encrypted(BlockDriverState *bs);
468void bdrv_iterate_format(void (*it)(void *opaque, const char *name),
469 void *opaque);
470const char *bdrv_get_node_name(const BlockDriverState *bs);
471const char *bdrv_get_device_name(const BlockDriverState *bs);
472const char *bdrv_get_device_or_node_name(const BlockDriverState *bs);

--- 152 unchanged lines hidden ---