Lines Matching refs:BlockDriverState
64 BlockDriverState *hd;
91 BlockDriverState *hd; // active image handler
118 static uint32_t vmdk_read_cid(BlockDriverState *bs, int parent) in vmdk_read_cid()
146 static int vmdk_write_cid(BlockDriverState *bs, uint32_t cid) in vmdk_write_cid()
169 static int vmdk_is_cid_valid(BlockDriverState *bs) in vmdk_is_cid_valid()
173 BlockDriverState *p_bs = s->hd->backing_hd; in vmdk_is_cid_valid()
316 static void vmdk_parent_close(BlockDriverState *bs) in vmdk_parent_close()
323 static int vmdk_parent_open(BlockDriverState *bs, const char * filename) in vmdk_parent_open()
368 static int vmdk_open(BlockDriverState *bs, const char *filename, int flags) in vmdk_open()
455 static uint64_t get_cluster_offset(BlockDriverState *bs, VmdkMetaData *m_data,
458 static int get_whole_cluster(BlockDriverState *bs, uint64_t cluster_offset, in get_whole_cluster()
489 static int vmdk_L2update(BlockDriverState *bs, VmdkMetaData *m_data) in vmdk_L2update()
508 static uint64_t get_cluster_offset(BlockDriverState *bs, VmdkMetaData *m_data, in get_cluster_offset()
593 static int vmdk_is_allocated(BlockDriverState *bs, int64_t sector_num, in vmdk_is_allocated()
609 static int vmdk_read(BlockDriverState *bs, int64_t sector_num, in vmdk_read()
644 static int vmdk_write(BlockDriverState *bs, int64_t sector_num, in vmdk_write()
812 static void vmdk_close(BlockDriverState *bs) in vmdk_close()
823 static void vmdk_flush(BlockDriverState *bs) in vmdk_flush()