|
@@ -1354,7 +1354,7 @@ int coroutine_fn blk_co_preadv_part(BlockBackend *blk, int64_t offset,
|
|
}
|
|
}
|
|
|
|
|
|
/* To be called between exactly one pair of blk_inc/dec_in_flight() */
|
|
/* To be called between exactly one pair of blk_inc/dec_in_flight() */
|
|
-int coroutine_fn
|
|
|
|
|
|
+static int coroutine_fn
|
|
blk_co_do_pwritev_part(BlockBackend *blk, int64_t offset, int64_t bytes,
|
|
blk_co_do_pwritev_part(BlockBackend *blk, int64_t offset, int64_t bytes,
|
|
QEMUIOVector *qiov, size_t qiov_offset,
|
|
QEMUIOVector *qiov, size_t qiov_offset,
|
|
BdrvRequestFlags flags)
|
|
BdrvRequestFlags flags)
|
|
@@ -1687,7 +1687,7 @@ BlockAIOCB *blk_aio_ioctl(BlockBackend *blk, unsigned long int req, void *buf,
|
|
}
|
|
}
|
|
|
|
|
|
/* To be called between exactly one pair of blk_inc/dec_in_flight() */
|
|
/* To be called between exactly one pair of blk_inc/dec_in_flight() */
|
|
-int coroutine_fn
|
|
|
|
|
|
+static int coroutine_fn
|
|
blk_co_do_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes)
|
|
blk_co_do_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes)
|
|
{
|
|
{
|
|
int ret;
|
|
int ret;
|
|
@@ -1735,7 +1735,7 @@ int coroutine_fn blk_co_pdiscard(BlockBackend *blk, int64_t offset,
|
|
}
|
|
}
|
|
|
|
|
|
/* To be called between exactly one pair of blk_inc/dec_in_flight() */
|
|
/* To be called between exactly one pair of blk_inc/dec_in_flight() */
|
|
-int coroutine_fn blk_co_do_flush(BlockBackend *blk)
|
|
|
|
|
|
+static int coroutine_fn blk_co_do_flush(BlockBackend *blk)
|
|
{
|
|
{
|
|
blk_wait_while_drained(blk);
|
|
blk_wait_while_drained(blk);
|
|
IO_CODE();
|
|
IO_CODE();
|