block.h (cfe6c547690b06fbce54a6d0f7b05dd7f18e36ea) | block.h (1bf6e9ca9234e1dbcaa18baa06eca9d55cc2dbbb) |
---|---|
1#ifndef BLOCK_H 2#define BLOCK_H 3 4#include "block/aio.h" 5#include "qapi/qapi-types-block-core.h" 6#include "block/aio-wait.h" 7#include "qemu/iov.h" 8#include "qemu/coroutine.h" --- 464 unchanged lines hidden (view full) --- 473bool bdrv_is_encrypted(BlockDriverState *bs); 474void bdrv_iterate_format(void (*it)(void *opaque, const char *name), 475 void *opaque); 476const char *bdrv_get_node_name(const BlockDriverState *bs); 477const char *bdrv_get_device_name(const BlockDriverState *bs); 478const char *bdrv_get_device_or_node_name(const BlockDriverState *bs); 479int bdrv_get_flags(BlockDriverState *bs); 480int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); | 1#ifndef BLOCK_H 2#define BLOCK_H 3 4#include "block/aio.h" 5#include "qapi/qapi-types-block-core.h" 6#include "block/aio-wait.h" 7#include "qemu/iov.h" 8#include "qemu/coroutine.h" --- 464 unchanged lines hidden (view full) --- 473bool bdrv_is_encrypted(BlockDriverState *bs); 474void bdrv_iterate_format(void (*it)(void *opaque, const char *name), 475 void *opaque); 476const char *bdrv_get_node_name(const BlockDriverState *bs); 477const char *bdrv_get_device_name(const BlockDriverState *bs); 478const char *bdrv_get_device_or_node_name(const BlockDriverState *bs); 479int bdrv_get_flags(BlockDriverState *bs); 480int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi); |
481ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs); | 481ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs, 482 Error **errp); |
482void bdrv_round_to_clusters(BlockDriverState *bs, 483 int64_t offset, int64_t bytes, 484 int64_t *cluster_offset, 485 int64_t *cluster_bytes); 486 487const char *bdrv_get_encrypted_filename(BlockDriverState *bs); 488void bdrv_get_backing_filename(BlockDriverState *bs, 489 char *filename, int filename_size); --- 229 unchanged lines hidden --- | 483void bdrv_round_to_clusters(BlockDriverState *bs, 484 int64_t offset, int64_t bytes, 485 int64_t *cluster_offset, 486 int64_t *cluster_bytes); 487 488const char *bdrv_get_encrypted_filename(BlockDriverState *bs); 489void bdrv_get_backing_filename(BlockDriverState *bs, 490 char *filename, int filename_size); --- 229 unchanged lines hidden --- |