block.h (c88f1ffc19e38008a1c33ae039482a860aa7418c) block.h (6f7a3b535f0d48d138e43cadf13323f083bfb547)
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"

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

347int64_t bdrv_nb_sectors(BlockDriverState *bs);
348int64_t bdrv_getlength(BlockDriverState *bs);
349int64_t bdrv_get_allocated_file_size(BlockDriverState *bs);
350BlockMeasureInfo *bdrv_measure(BlockDriver *drv, QemuOpts *opts,
351 BlockDriverState *in_bs, Error **errp);
352void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr);
353void bdrv_refresh_limits(BlockDriverState *bs, Error **errp);
354int bdrv_commit(BlockDriverState *bs);
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"

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

347int64_t bdrv_nb_sectors(BlockDriverState *bs);
348int64_t bdrv_getlength(BlockDriverState *bs);
349int64_t bdrv_get_allocated_file_size(BlockDriverState *bs);
350BlockMeasureInfo *bdrv_measure(BlockDriver *drv, QemuOpts *opts,
351 BlockDriverState *in_bs, Error **errp);
352void bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr);
353void bdrv_refresh_limits(BlockDriverState *bs, Error **errp);
354int bdrv_commit(BlockDriverState *bs);
355int bdrv_make_empty(BdrvChild *c, Error **errp);
355int bdrv_change_backing_file(BlockDriverState *bs,
356 const char *backing_file, const char *backing_fmt);
357void bdrv_register(BlockDriver *bdrv);
358int bdrv_drop_intermediate(BlockDriverState *top, BlockDriverState *base,
359 const char *backing_file_str);
360BlockDriverState *bdrv_find_overlay(BlockDriverState *active,
361 BlockDriverState *bs);
362BlockDriverState *bdrv_find_base(BlockDriverState *bs);

--- 376 unchanged lines hidden ---
356int bdrv_change_backing_file(BlockDriverState *bs,
357 const char *backing_file, const char *backing_fmt);
358void bdrv_register(BlockDriver *bdrv);
359int bdrv_drop_intermediate(BlockDriverState *top, BlockDriverState *base,
360 const char *backing_file_str);
361BlockDriverState *bdrv_find_overlay(BlockDriverState *active,
362 BlockDriverState *bs);
363BlockDriverState *bdrv_find_base(BlockDriverState *bs);

--- 376 unchanged lines hidden ---