block.h (c6a2225a5a5e272edc0304845e32ea436ea1043a) | block.h (ceaca56feee6a1d682c882300855cad44a67ec8e) |
---|---|
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" --- 429 unchanged lines hidden (view full) --- 438 BlockDriverState *bs_ = (bs); \ 439 AIO_WAIT_WHILE(bdrv_get_aio_context(bs_), \ 440 cond); }) 441 442int bdrv_pdiscard(BdrvChild *child, int64_t offset, int64_t bytes); 443int bdrv_co_pdiscard(BdrvChild *child, int64_t offset, int64_t bytes); 444int bdrv_has_zero_init_1(BlockDriverState *bs); 445int bdrv_has_zero_init(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" --- 429 unchanged lines hidden (view full) --- 438 BlockDriverState *bs_ = (bs); \ 439 AIO_WAIT_WHILE(bdrv_get_aio_context(bs_), \ 440 cond); }) 441 442int bdrv_pdiscard(BdrvChild *child, int64_t offset, int64_t bytes); 443int bdrv_co_pdiscard(BdrvChild *child, int64_t offset, int64_t bytes); 444int bdrv_has_zero_init_1(BlockDriverState *bs); 445int bdrv_has_zero_init(BlockDriverState *bs); |
446int bdrv_has_zero_init_truncate(BlockDriverState *bs); |
|
446bool bdrv_unallocated_blocks_are_zero(BlockDriverState *bs); 447bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs); 448int bdrv_block_status(BlockDriverState *bs, int64_t offset, 449 int64_t bytes, int64_t *pnum, int64_t *map, 450 BlockDriverState **file); 451int bdrv_block_status_above(BlockDriverState *bs, BlockDriverState *base, 452 int64_t offset, int64_t bytes, int64_t *pnum, 453 int64_t *map, BlockDriverState **file); --- 297 unchanged lines hidden --- | 447bool bdrv_unallocated_blocks_are_zero(BlockDriverState *bs); 448bool bdrv_can_write_zeroes_with_unmap(BlockDriverState *bs); 449int bdrv_block_status(BlockDriverState *bs, int64_t offset, 450 int64_t bytes, int64_t *pnum, int64_t *map, 451 BlockDriverState **file); 452int bdrv_block_status_above(BlockDriverState *bs, BlockDriverState *base, 453 int64_t offset, int64_t bytes, int64_t *pnum, 454 int64_t *map, BlockDriverState **file); --- 297 unchanged lines hidden --- |