Lines Matching defs:bs

103     BlockDriverState *bs = opaque;  in qcow2_crypto_hdr_read_func()  local
126 BlockDriverState *bs = opaque; in qcow2_crypto_hdr_init_func() local
165 BlockDriverState *bs = opaque; in qcow2_crypto_hdr_write_func() local
205 qcow2_read_extensions(BlockDriverState *bs, uint64_t start_offset, in qcow2_read_extensions()
463 static void cleanup_unknown_header_ext(BlockDriverState *bs) in cleanup_unknown_header_ext()
510 int qcow2_mark_dirty(BlockDriverState *bs) in qcow2_mark_dirty()
540 static int GRAPH_RDLOCK qcow2_mark_clean(BlockDriverState *bs) in qcow2_mark_clean()
562 int qcow2_mark_corrupt(BlockDriverState *bs) in qcow2_mark_corrupt()
575 qcow2_mark_consistent(BlockDriverState *bs) in qcow2_mark_consistent()
608 qcow2_co_check_locked(BlockDriverState *bs, BdrvCheckResult *result, in qcow2_co_check_locked()
647 qcow2_co_check(BlockDriverState *bs, BdrvCheckResult *result, in qcow2_co_check()
659 int qcow2_validate_table(BlockDriverState *bs, uint64_t offset, in qcow2_validate_table()
840 BlockDriverState *bs = opaque; in cache_clean_timer_cb() local
848 static void cache_clean_timer_init(BlockDriverState *bs, AioContext *context) in cache_clean_timer_init()
861 static void cache_clean_timer_del(BlockDriverState *bs) in cache_clean_timer_del()
870 static void qcow2_detach_aio_context(BlockDriverState *bs) in qcow2_detach_aio_context()
875 static void qcow2_attach_aio_context(BlockDriverState *bs, in qcow2_attach_aio_context()
881 static bool read_cache_sizes(BlockDriverState *bs, QemuOpts *opts, in read_cache_sizes()
986 qcow2_update_options_prepare(BlockDriverState *bs, Qcow2ReopenState *r, in qcow2_update_options_prepare()
1217 static void qcow2_update_options_commit(BlockDriverState *bs, in qcow2_update_options_commit()
1252 static void qcow2_update_options_abort(BlockDriverState *bs, in qcow2_update_options_abort()
1265 qcow2_update_options(BlockDriverState *bs, QDict *options, int flags, in qcow2_update_options()
1319 qcow2_do_open(BlockDriverState *bs, QDict *options, int flags, in qcow2_do_open()
1922 BlockDriverState *bs; member
1944 static int qcow2_open(BlockDriverState *bs, QDict *options, int flags, in qcow2_open()
1975 static void qcow2_refresh_limits(BlockDriverState *bs, Error **errp) in qcow2_refresh_limits()
2144 qcow2_co_block_status(BlockDriverState *bs, bool want_zero, int64_t offset, in qcow2_co_block_status()
2197 qcow2_handle_l2meta(BlockDriverState *bs, QCowL2Meta **pl2meta, bool link_l2) in qcow2_handle_l2meta()
2229 qcow2_co_preadv_encrypted(BlockDriverState *bs, in qcow2_co_preadv_encrypted()
2278 BlockDriverState *bs; member
2289 static coroutine_fn int qcow2_add_task(BlockDriverState *bs, in qcow2_add_task()
2330 qcow2_co_preadv_task(BlockDriverState *bs, QCow2SubclusterType subc_type, in qcow2_co_preadv_task()
2387 qcow2_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in qcow2_co_preadv_part()
2510 is_zero_cow(BlockDriverState *bs, QCowL2Meta *m) in is_zero_cow()
2529 handle_alloc_space(BlockDriverState *bs, QCowL2Meta *l2meta) in handle_alloc_space()
2593 int qcow2_co_pwritev_task(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_pwritev_task()
2677 qcow2_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in qcow2_co_pwritev_part()
2759 static int GRAPH_RDLOCK qcow2_inactivate(BlockDriverState *bs) in qcow2_inactivate()
2795 qcow2_do_close(BlockDriverState *bs, bool close_data_file) in qcow2_do_close()
2835 static void GRAPH_UNLOCKED qcow2_close(BlockDriverState *bs) in qcow2_close()
2844 qcow2_co_invalidate_cache(BlockDriverState *bs, Error **errp) in qcow2_co_invalidate_cache()
2921 int qcow2_update_header(BlockDriverState *bs) in qcow2_update_header()
3178 qcow2_co_change_backing_file(BlockDriverState *bs, const char *backing_file, in qcow2_co_change_backing_file()
3208 qcow2_set_up_encryption(BlockDriverState *bs, in qcow2_set_up_encryption()
3258 preallocate_co(BlockDriverState *bs, uint64_t offset, uint64_t new_length, in preallocate_co()
3517 BlockDriverState *bs = NULL; in qcow2_co_create() local
3902 BlockDriverState *bs = NULL; in qcow2_co_create_opts() local
4032 is_zero(BlockDriverState *bs, int64_t offset, int64_t bytes) in is_zero()
4062 qcow2_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in qcow2_co_pwrite_zeroes()
4118 qcow2_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in qcow2_co_pdiscard()
4147 qcow2_co_copy_range_from(BlockDriverState *bs, in qcow2_co_copy_range_from()
4230 qcow2_co_copy_range_to(BlockDriverState *bs, in qcow2_co_copy_range_to()
4298 qcow2_co_truncate(BlockDriverState *bs, int64_t offset, bool exact, in qcow2_co_truncate()
4675 qcow2_co_pwritev_compressed_task(BlockDriverState *bs, in qcow2_co_pwritev_compressed_task()
4759 qcow2_co_pwritev_compressed_part(BlockDriverState *bs, in qcow2_co_pwritev_compressed_part()
4822 qcow2_co_preadv_compressed(BlockDriverState *bs, in qcow2_co_preadv_compressed()
4864 static int GRAPH_RDLOCK make_completely_empty(BlockDriverState *bs) in make_completely_empty()
5015 static int GRAPH_RDLOCK qcow2_make_empty(BlockDriverState *bs) in qcow2_make_empty()
5059 static coroutine_fn GRAPH_RDLOCK int qcow2_co_flush_to_os(BlockDriverState *bs) in qcow2_co_flush_to_os()
5240 qcow2_co_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in qcow2_co_get_info()
5251 qcow2_get_specific_info(BlockDriverState *bs, Error **errp) in qcow2_get_specific_info()
5331 qcow2_has_zero_init(BlockDriverState *bs) in qcow2_has_zero_init()
5362 static int64_t qcow2_check_vmstate_request(BlockDriverState *bs, in qcow2_check_vmstate_request()
5386 qcow2_co_save_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos) in qcow2_co_save_vmstate()
5398 qcow2_co_load_vmstate(BlockDriverState *bs, QEMUIOVector *qiov, int64_t pos) in qcow2_co_load_vmstate()
5409 static int GRAPH_RDLOCK qcow2_has_compressed_clusters(BlockDriverState *bs) in qcow2_has_compressed_clusters()
5446 qcow2_downgrade(BlockDriverState *bs, int target_version, in qcow2_downgrade()
5557 qcow2_upgrade(BlockDriverState *bs, int target_version, in qcow2_upgrade()
5648 static void qcow2_amend_helper_cb(BlockDriverState *bs, in qcow2_amend_helper_cb()
5686 qcow2_amend_options(BlockDriverState *bs, QemuOpts *opts, in qcow2_amend_options()
5936 static int coroutine_fn qcow2_co_amend(BlockDriverState *bs, in qcow2_co_amend()
5980 void qcow2_signal_corruption(BlockDriverState *bs, bool fatal, int64_t offset, in qcow2_signal_corruption()