|
@@ -167,8 +167,8 @@ int blk_flush(BlockBackend *blk);
|
|
|
|
|
|
int blk_ioctl(BlockBackend *blk, unsigned long int req, void *buf);
|
|
int blk_ioctl(BlockBackend *blk, unsigned long int req, void *buf);
|
|
|
|
|
|
-int blk_pwrite_compressed(BlockBackend *blk, int64_t offset, const void *buf,
|
|
|
|
- int64_t bytes);
|
|
|
|
|
|
+int blk_pwrite_compressed(BlockBackend *blk, int64_t offset, int64_t bytes,
|
|
|
|
+ const void *buf);
|
|
int blk_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes);
|
|
int blk_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes);
|
|
int blk_pwrite_zeroes(BlockBackend *blk, int64_t offset,
|
|
int blk_pwrite_zeroes(BlockBackend *blk, int64_t offset,
|
|
int64_t bytes, BdrvRequestFlags flags);
|
|
int64_t bytes, BdrvRequestFlags flags);
|