Lines Matching defs:bs
31 int qcow2_grow_l1_table(BlockDriverState *bs, int min_size) in qcow2_grow_l1_table()
93 void qcow2_l2_cache_reset(BlockDriverState *bs) in qcow2_l2_cache_reset()
102 static inline int l2_cache_new_entry(BlockDriverState *bs) in l2_cache_new_entry()
160 static int l2_load(BlockDriverState *bs, uint64_t l2_offset, in l2_load()
197 static int write_l1_entry(BlockDriverState *bs, int l1_index) in write_l1_entry()
229 static int l2_allocate(BlockDriverState *bs, int l1_index, uint64_t **table) in l2_allocate()
345 static int qcow_read(BlockDriverState *bs, int64_t sector_num, in qcow_read()
396 static int copy_sectors(BlockDriverState *bs, uint64_t start_sect, in copy_sectors()
440 int qcow2_get_cluster_offset(BlockDriverState *bs, uint64_t offset, in qcow2_get_cluster_offset()
530 static int get_cluster_table(BlockDriverState *bs, uint64_t offset, in get_cluster_table()
595 uint64_t qcow2_alloc_compressed_cluster_offset(BlockDriverState *bs, in qcow2_alloc_compressed_cluster_offset()
648 static int write_l2_entries(BlockDriverState *bs, uint64_t *l2_table, in write_l2_entries()
667 int qcow2_alloc_cluster_link_l2(BlockDriverState *bs, QCowL2Meta *m) in qcow2_alloc_cluster_link_l2()
750 int qcow2_alloc_cluster_offset(BlockDriverState *bs, uint64_t offset, in qcow2_alloc_cluster_offset()
900 int qcow2_decompress_cluster(BlockDriverState *bs, uint64_t cluster_offset) in qcow2_decompress_cluster()