Lines Matching refs:BlockDriverState

46 bdrv_parent_cb_resize(BlockDriverState *bs);
48 static int coroutine_fn bdrv_co_do_pwrite_zeroes(BlockDriverState *bs,
52 bdrv_parent_drained_begin(BlockDriverState *bs, BdrvChild *ignore) in bdrv_parent_drained_begin()
79 bdrv_parent_drained_end(BlockDriverState *bs, BdrvChild *ignore) in bdrv_parent_drained_end()
104 bdrv_parent_drained_poll(BlockDriverState *bs, BdrvChild *ignore, in bdrv_parent_drained_poll()
152 BlockDriverState *bs;
169 void bdrv_refresh_limits(BlockDriverState *bs, Transaction *tran, Error **errp) in bdrv_refresh_limits()
238 void bdrv_enable_copy_on_read(BlockDriverState *bs) in bdrv_enable_copy_on_read()
244 void bdrv_disable_copy_on_read(BlockDriverState *bs) in bdrv_disable_copy_on_read()
253 BlockDriverState *bs;
261 bool bdrv_drain_poll(BlockDriverState *bs, BdrvChild *ignore_parent, in bdrv_drain_poll()
277 static bool bdrv_drain_poll_top_level(BlockDriverState *bs, in bdrv_drain_poll_top_level()
286 static void bdrv_do_drained_begin(BlockDriverState *bs, BdrvChild *parent,
288 static void bdrv_do_drained_end(BlockDriverState *bs, BdrvChild *parent);
294 BlockDriverState *bs = data->bs; in bdrv_co_drain_bh_cb()
313 static void coroutine_fn bdrv_co_yield_to_drain(BlockDriverState *bs, in bdrv_co_yield_to_drain()
347 static void bdrv_do_drained_begin(BlockDriverState *bs, BdrvChild *parent, in bdrv_do_drained_begin()
382 void bdrv_do_drained_begin_quiesce(BlockDriverState *bs, BdrvChild *parent) in bdrv_do_drained_begin_quiesce()
388 bdrv_drained_begin(BlockDriverState *bs) in bdrv_drained_begin()
398 static void bdrv_do_drained_end(BlockDriverState *bs, BdrvChild *parent) in bdrv_do_drained_end()
425 void bdrv_drained_end(BlockDriverState *bs) in bdrv_drained_end()
431 void bdrv_drain(BlockDriverState *bs) in bdrv_drain()
438 static void bdrv_drain_assert_idle(BlockDriverState *bs) in bdrv_drain_assert_idle()
454 BlockDriverState *bs = NULL; in bdrv_drain_all_poll()
485 BlockDriverState *bs = NULL; in bdrv_drain_all_begin_nopoll()
512 BlockDriverState *bs = NULL; in bdrv_drain_all_begin()
538 void bdrv_drain_all_end_quiesce(BlockDriverState *bs) in bdrv_drain_all_end_quiesce()
552 BlockDriverState *bs = NULL; in bdrv_drain_all_end()
607 BlockDriverState *bs, in tracked_request_begin()
718 BdrvTrackedRequest *coroutine_fn bdrv_co_get_self_request(BlockDriverState *bs) in bdrv_co_get_self_request()
737 bdrv_round_to_subclusters(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_round_to_subclusters()
752 static int coroutine_fn GRAPH_RDLOCK bdrv_get_cluster_size(BlockDriverState *bs) in bdrv_get_cluster_size()
765 void bdrv_inc_in_flight(BlockDriverState *bs) in bdrv_inc_in_flight()
771 void bdrv_wakeup(BlockDriverState *bs) in bdrv_wakeup()
777 void bdrv_dec_in_flight(BlockDriverState *bs) in bdrv_dec_in_flight()
787 BlockDriverState *bs = self->bs; in bdrv_wait_serialising_requests()
904 BlockDriverState *bs = child->bs; in bdrv_make_zero()
974 bdrv_driver_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_driver_preadv()
1043 bdrv_driver_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_driver_pwritev()
1125 bdrv_driver_pwritev_compressed(BlockDriverState *bs, int64_t offset, in bdrv_driver_pwritev_compressed()
1164 BlockDriverState *bs = child->bs; in bdrv_co_do_copy_on_readv()
1329 BlockDriverState *bs = child->bs; in bdrv_aligned_preadv()
1471 static bool bdrv_init_padding(BlockDriverState *bs, in bdrv_init_padding()
1515 BlockDriverState *bs = child->bs; in bdrv_padding_rmw_read()
1606 static int bdrv_create_padded_qiov(BlockDriverState *bs, in bdrv_create_padded_qiov()
1704 static int bdrv_pad_request(BlockDriverState *bs, in bdrv_pad_request()
1776 BlockDriverState *bs = child->bs; in bdrv_co_preadv_part()
1832 bdrv_co_do_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_co_do_pwrite_zeroes()
1964 BlockDriverState *bs = child->bs; in bdrv_co_write_req_prepare()
2019 BlockDriverState *bs = child->bs; in bdrv_co_write_req_finish()
2064 BlockDriverState *bs = child->bs; in bdrv_aligned_pwritev()
2150 BlockDriverState *bs = child->bs; in bdrv_co_do_zero_pwritev()
2228 BlockDriverState *bs = child->bs; in bdrv_co_pwritev_part()
2333 BlockDriverState *bs = NULL; in bdrv_flush_all()
2386 bdrv_co_do_block_status(BlockDriverState *bs, bool want_zero, in bdrv_co_do_block_status()
2388 int64_t *pnum, int64_t *map, BlockDriverState **file) in bdrv_co_do_block_status()
2394 BlockDriverState *local_file = NULL; in bdrv_co_do_block_status()
2555 BlockDriverState *cow_bs = bdrv_cow_bs(bs); in bdrv_co_do_block_status()
2623 bdrv_co_common_block_status_above(BlockDriverState *bs, in bdrv_co_common_block_status_above()
2624 BlockDriverState *base, in bdrv_co_common_block_status_above()
2631 BlockDriverState **file, in bdrv_co_common_block_status_above()
2635 BlockDriverState *p; in bdrv_co_common_block_status_above()
2726 int coroutine_fn bdrv_co_block_status_above(BlockDriverState *bs, in bdrv_co_block_status_above()
2727 BlockDriverState *base, in bdrv_co_block_status_above()
2730 BlockDriverState **file) in bdrv_co_block_status_above()
2737 int coroutine_fn bdrv_co_block_status(BlockDriverState *bs, int64_t offset, in bdrv_co_block_status()
2739 int64_t *map, BlockDriverState **file) in bdrv_co_block_status()
2753 int coroutine_fn bdrv_co_is_zero_fast(BlockDriverState *bs, int64_t offset, in bdrv_co_is_zero_fast()
2774 int coroutine_fn bdrv_co_is_allocated(BlockDriverState *bs, int64_t offset, in bdrv_co_is_allocated()
2807 int coroutine_fn bdrv_co_is_allocated_above(BlockDriverState *bs, in bdrv_co_is_allocated_above()
2808 BlockDriverState *base, in bdrv_co_is_allocated_above()
2830 bdrv_co_readv_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos) in bdrv_co_readv_vmstate()
2833 BlockDriverState *child_bs = bdrv_primary_bs(bs); in bdrv_co_readv_vmstate()
2863 bdrv_co_writev_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos) in bdrv_co_writev_vmstate()
2866 BlockDriverState *child_bs = bdrv_primary_bs(bs); in bdrv_co_writev_vmstate()
2895 int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, in bdrv_save_vmstate()
2905 int bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, in bdrv_load_vmstate()
2947 int coroutine_fn bdrv_co_flush(BlockDriverState *bs) in bdrv_co_flush()
3079 BlockDriverState *bs = child->bs; in bdrv_co_pdiscard()
3193 int coroutine_fn bdrv_co_ioctl(BlockDriverState *bs, int req, void *buf) in bdrv_co_ioctl()
3224 int coroutine_fn bdrv_co_zone_report(BlockDriverState *bs, int64_t offset, in bdrv_co_zone_report()
3245 int coroutine_fn bdrv_co_zone_mgmt(BlockDriverState *bs, BlockZoneOp op, in bdrv_co_zone_mgmt()
3265 int coroutine_fn bdrv_co_zone_append(BlockDriverState *bs, int64_t *offset, in bdrv_co_zone_append()
3292 void *qemu_blockalign(BlockDriverState *bs, size_t size) in qemu_blockalign()
3298 void *qemu_blockalign0(BlockDriverState *bs, size_t size) in qemu_blockalign0()
3304 void *qemu_try_blockalign(BlockDriverState *bs, size_t size) in qemu_try_blockalign()
3318 void *qemu_try_blockalign0(BlockDriverState *bs, size_t size) in qemu_try_blockalign0()
3332 bdrv_register_buf_rollback(BlockDriverState *bs, void *host, size_t size, in bdrv_register_buf_rollback()
3353 bool bdrv_register_buf(BlockDriverState *bs, void *host, size_t size, in bdrv_register_buf()
3375 void bdrv_unregister_buf(BlockDriverState *bs, void *host, size_t size) in bdrv_unregister_buf()
3519 bdrv_parent_cb_resize(BlockDriverState *bs) in bdrv_parent_cb_resize()
3543 BlockDriverState *bs = child->bs; in bdrv_co_truncate()
3668 void bdrv_cancel_in_flight(BlockDriverState *bs) in bdrv_cancel_in_flight()
3686 BlockDriverState *bs = child->bs; in bdrv_co_preadv_snapshot()
3708 bdrv_co_snapshot_block_status(BlockDriverState *bs, in bdrv_co_snapshot_block_status()
3711 BlockDriverState **file) in bdrv_co_snapshot_block_status()
3735 bdrv_co_pdiscard_snapshot(BlockDriverState *bs, int64_t offset, int64_t bytes) in bdrv_co_pdiscard_snapshot()