/external/qemu/ |
D | block.h | 55 BlockDriverState *bdrv_new(const char *device_name); 56 void bdrv_delete(BlockDriverState *bs); 57 int bdrv_file_open(BlockDriverState **pbs, const char *filename, int flags); 58 int bdrv_open(BlockDriverState *bs, const char *filename, int flags); 59 int bdrv_open2(BlockDriverState *bs, const char *filename, int flags, 61 void bdrv_close(BlockDriverState *bs); 62 int bdrv_check(BlockDriverState *bs); 63 int bdrv_read(BlockDriverState *bs, int64_t sector_num, 65 int bdrv_write(BlockDriverState *bs, int64_t sector_num, 67 int bdrv_pread(BlockDriverState *bs, int64_t offset, [all …]
|
D | block_int.h | 53 int (*bdrv_open)(BlockDriverState *bs, const char *filename, int flags); 54 int (*bdrv_read)(BlockDriverState *bs, int64_t sector_num, 56 int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num, 58 void (*bdrv_close)(BlockDriverState *bs); 60 void (*bdrv_flush)(BlockDriverState *bs); 61 int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num, 63 int (*bdrv_set_key)(BlockDriverState *bs, const char *key); 64 int (*bdrv_make_empty)(BlockDriverState *bs); 66 BlockDriverAIOCB *(*bdrv_aio_readv)(BlockDriverState *bs, 69 BlockDriverAIOCB *(*bdrv_aio_writev)(BlockDriverState *bs, [all …]
|
D | block.c | 51 static BlockDriverAIOCB *bdrv_aio_readv_em(BlockDriverState *bs, 54 static BlockDriverAIOCB *bdrv_aio_writev_em(BlockDriverState *bs, 57 static int bdrv_read_em(BlockDriverState *bs, int64_t sector_num, 59 static int bdrv_write_em(BlockDriverState *bs, int64_t sector_num, 62 BlockDriverState *bdrv_first; 146 BlockDriverState *bdrv_new(const char *device_name) in bdrv_new() 148 BlockDriverState **pbs, *bs; in bdrv_new() 150 bs = qemu_mallocz(sizeof(BlockDriverState)); in bdrv_new() 279 BlockDriverState *bs; in find_image_format() 308 int bdrv_file_open(BlockDriverState **pbs, const char *filename, int flags) in bdrv_file_open() [all …]
|
D | sysemu.h | 174 BlockDriverState *bdrv; 193 extern void drive_uninit(BlockDriverState *bdrv); 195 extern const char *drive_get_serial(BlockDriverState *bdrv); 196 extern BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv); 198 BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type);
|
D | dma-helpers.c | 41 BlockDriverState *bs; 148 BlockDriverState *bs, QEMUSGList *sg, uint64_t sector_num, in dma_bdrv_io() 172 BlockDriverAIOCB *dma_bdrv_read(BlockDriverState *bs, in dma_bdrv_read() 179 BlockDriverAIOCB *dma_bdrv_write(BlockDriverState *bs, in dma_bdrv_write()
|
D | dma.h | 35 BlockDriverAIOCB *dma_bdrv_read(BlockDriverState *bs, 38 BlockDriverAIOCB *dma_bdrv_write(BlockDriverState *bs,
|
D | savevm.c | 96 static BlockDriverState *bs_snapshots; 343 BlockDriverState *bs; 368 static QEMUFile *qemu_fopen_bdrv(BlockDriverState *bs, int64_t offset, int is_writable) in qemu_fopen_bdrv() 1110 static int bdrv_can_snapshot(BlockDriverState *bs) in bdrv_can_snapshot() 1118 static int bdrv_has_snapshot(BlockDriverState *bs) in bdrv_has_snapshot() 1125 static BlockDriverState *get_bs_snapshots(void) in get_bs_snapshots() 1127 BlockDriverState *bs; in get_bs_snapshots() 1143 static int bdrv_snapshot_find(BlockDriverState *bs, QEMUSnapshotInfo *sn_info, in bdrv_snapshot_find() 1167 BlockDriverState *bs, *bs1; in do_savevm() 1270 BlockDriverState *bs, *bs1; in do_loadvm() [all …]
|
/external/qemu/block/ |
D | qcow2.h | 78 BlockDriverState *hd; 151 int qcow2_backing_read1(BlockDriverState *bs, 155 int qcow2_refcount_init(BlockDriverState *bs); 156 void qcow2_refcount_close(BlockDriverState *bs); 158 int64_t qcow2_alloc_clusters(BlockDriverState *bs, int64_t size); 159 int64_t qcow2_alloc_bytes(BlockDriverState *bs, int size); 160 void qcow2_free_clusters(BlockDriverState *bs, 162 void qcow2_free_any_clusters(BlockDriverState *bs, 167 int qcow2_update_snapshot_refcount(BlockDriverState *bs, 170 int qcow2_check_refcounts(BlockDriverState *bs); [all …]
|
D | raw-posix.c | 119 static int fd_open(BlockDriverState *bs); 122 static int cdrom_reopen(BlockDriverState *bs); 125 static int raw_open_common(BlockDriverState *bs, const char *filename, in raw_open_common() 172 static int raw_open(BlockDriverState *bs, const char *filename, int flags) in raw_open() 208 static int raw_pread_aligned(BlockDriverState *bs, int64_t offset, in raw_pread_aligned() 268 static int raw_pwrite_aligned(BlockDriverState *bs, int64_t offset, in raw_pwrite_aligned() 310 static int raw_pread(BlockDriverState *bs, int64_t offset, in raw_pread() 377 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read() 393 static int raw_pwrite(BlockDriverState *bs, int64_t offset, in raw_pwrite() 466 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write() [all …]
|
D | raw-win32.c | 76 static int raw_open(BlockDriverState *bs, const char *filename, int flags) in raw_open() 112 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read() 133 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write() 154 static void raw_flush(BlockDriverState *bs) in raw_flush() 160 static void raw_close(BlockDriverState *bs) in raw_close() 166 static int raw_truncate(BlockDriverState *bs, int64_t offset) in raw_truncate() 180 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength() 283 static int find_device_type(BlockDriverState *bs, const char *filename) in find_device_type() 318 static int hdev_open(BlockDriverState *bs, const char *filename, int flags) in hdev_open() 369 static int raw_is_inserted(BlockDriverState *bs) [all …]
|
D | qcow2-refcount.c | 29 static int64_t alloc_clusters_noref(BlockDriverState *bs, int64_t size); 30 static int update_refcount(BlockDriverState *bs, 37 int qcow2_refcount_init(BlockDriverState *bs) in qcow2_refcount_init() 58 void qcow2_refcount_close(BlockDriverState *bs) in qcow2_refcount_close() 66 static int load_refcount_block(BlockDriverState *bs, in load_refcount_block() 79 static int get_refcount(BlockDriverState *bs, int64_t cluster_index) in get_refcount() 101 static int grow_refcount_table(BlockDriverState *bs, int min_size) in grow_refcount_table() 166 static int64_t alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index) in alloc_refcount_block() 234 static int update_refcount(BlockDriverState *bs, in update_refcount() 312 static int update_cluster_refcount(BlockDriverState *bs, in update_cluster_refcount() [all …]
|
D | vmdk.c | 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, [all …]
|
D | qcow2-snapshot.c | 49 void qcow2_free_snapshots(BlockDriverState *bs) in qcow2_free_snapshots() 63 int qcow2_read_snapshots(BlockDriverState *bs) in qcow2_read_snapshots() 119 static int qcow_write_snapshots(BlockDriverState *bs) in qcow_write_snapshots() 188 static void find_new_snapshot_id(BlockDriverState *bs, in find_new_snapshot_id() 204 static int find_snapshot_by_id(BlockDriverState *bs, const char *id_str) in find_snapshot_by_id() 216 static int find_snapshot_by_id_or_name(BlockDriverState *bs, const char *name) in find_snapshot_by_id_or_name() 232 int qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info) in qcow2_snapshot_create() 301 int qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id) in qcow2_snapshot_goto() 342 int qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id) in qcow2_snapshot_delete() 377 int qcow2_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_tab) in qcow2_snapshot_list()
|
D | nbd.c | 42 static int nbd_open(BlockDriverState *bs, const char* filename, int flags) in nbd_open() 99 static int nbd_read(BlockDriverState *bs, int64_t sector_num, in nbd_read() 129 static int nbd_write(BlockDriverState *bs, int64_t sector_num, in nbd_write() 159 static void nbd_close(BlockDriverState *bs) in nbd_close() 173 static int64_t nbd_getlength(BlockDriverState *bs) in nbd_getlength()
|
D | qcow2.c | 81 static int qcow_read_extensions(BlockDriverState *bs, uint64_t start_offset, in qcow_read_extensions() 145 static int qcow_open(BlockDriverState *bs, const char *filename, int flags) in qcow_open() 269 static int qcow_set_key(BlockDriverState *bs, const char *key) in qcow_set_key() 311 static int qcow_is_allocated(BlockDriverState *bs, int64_t sector_num, in qcow_is_allocated() 323 int qcow2_backing_read1(BlockDriverState *bs, in qcow2_backing_read1() 393 BlockDriverState *bs = acb->common.bs; in qcow_aio_read_cb() 491 static QCowAIOCB *qcow_aio_setup(BlockDriverState *bs, in qcow_aio_setup() 517 static BlockDriverAIOCB *qcow_aio_readv(BlockDriverState *bs, in qcow_aio_readv() 534 BlockDriverState *bs = acb->common.bs; in qcow_aio_write_cb() 603 static BlockDriverAIOCB *qcow_aio_writev(BlockDriverState *bs, in qcow_aio_writev() [all …]
|
D | qcow2-cluster.c | 31 int qcow2_grow_l1_table(BlockDriverState *bs, int min_size) in qcow2_grow_l1_table() 81 void qcow2_l2_cache_reset(BlockDriverState *bs) in qcow2_l2_cache_reset() 90 static inline int l2_cache_new_entry(BlockDriverState *bs) in l2_cache_new_entry() 148 static uint64_t *l2_load(BlockDriverState *bs, uint64_t l2_offset) in l2_load() 208 static uint64_t *l2_allocate(BlockDriverState *bs, int l1_index) in l2_allocate() 309 static int qcow_read(BlockDriverState *bs, int64_t sector_num, in qcow_read() 352 static int copy_sectors(BlockDriverState *bs, uint64_t start_sect, in copy_sectors() 394 uint64_t qcow2_get_cluster_offset(BlockDriverState *bs, uint64_t offset, in qcow2_get_cluster_offset() 480 static int get_cluster_table(BlockDriverState *bs, uint64_t offset, in get_cluster_table() 540 uint64_t qcow2_alloc_compressed_cluster_offset(BlockDriverState *bs, in qcow2_alloc_compressed_cluster_offset() [all …]
|
D | cow.c | 66 static int cow_open(BlockDriverState *bs, const char *filename, int flags) in cow_open() 147 static int cow_is_allocated(BlockDriverState *bs, int64_t sector_num, in cow_is_allocated() 154 static int cow_read(BlockDriverState *bs, int64_t sector_num, in cow_read() 183 static int cow_write(BlockDriverState *bs, int64_t sector_num, in cow_write() 198 static void cow_close(BlockDriverState *bs) in cow_close() 258 static void cow_flush(BlockDriverState *bs) in cow_flush()
|
D | qcow.c | 57 BlockDriverState *hd; 93 static int qcow_open(BlockDriverState *bs, const char *filename, int flags) in qcow_open() 176 static int qcow_set_key(BlockDriverState *bs, const char *key) in qcow_set_key() 256 static uint64_t get_cluster_offset(BlockDriverState *bs, in get_cluster_offset() 382 static int qcow_is_allocated(BlockDriverState *bs, int64_t sector_num, in qcow_is_allocated() 448 static int qcow_read(BlockDriverState *bs, int64_t sector_num, 519 static QCowAIOCB *qcow_aio_setup(BlockDriverState *bs, in qcow_aio_setup() 547 BlockDriverState *bs = acb->common.bs; in qcow_aio_read_cb() 635 static BlockDriverAIOCB *qcow_aio_readv(BlockDriverState *bs, in qcow_aio_readv() 652 BlockDriverState *bs = acb->common.bs; in qcow_aio_write_cb() [all …]
|
D | parallels.c | 71 static int parallels_open(BlockDriverState *bs, const char *filename, int flags) in parallels_open() 119 static inline int seek_to_sector(BlockDriverState *bs, int64_t sector_num) in seek_to_sector() 142 static int parallels_read(BlockDriverState *bs, int64_t sector_num, in parallels_read() 160 static void parallels_close(BlockDriverState *bs) in parallels_close()
|
D | vpc.c | 113 BlockDriverState *hd; 153 static int vpc_open(BlockDriverState *bs, const char *filename, int flags) in vpc_open() 242 static inline int64_t get_sector_offset(BlockDriverState *bs, in get_sector_offset() 313 static int rewrite_footer(BlockDriverState* bs) in rewrite_footer() 333 static int64_t alloc_block(BlockDriverState* bs, int64_t sector_num) in alloc_block() 376 static int vpc_read(BlockDriverState *bs, int64_t sector_num, in vpc_read() 401 static int vpc_write(BlockDriverState *bs, int64_t sector_num, in vpc_write() 586 static void vpc_close(BlockDriverState *bs) in vpc_close()
|
D | bochs.c | 112 static int bochs_open(BlockDriverState *bs, const char *filename, int flags) in bochs_open() 172 static inline int seek_to_sector(BlockDriverState *bs, int64_t sector_num) in seek_to_sector() 216 static int bochs_read(BlockDriverState *bs, int64_t sector_num, in bochs_read() 238 static void bochs_close(BlockDriverState *bs) in bochs_close()
|
D | cloop.c | 54 static int cloop_open(BlockDriverState *bs, const char *filename, int flags) in cloop_open() 130 static int cloop_read(BlockDriverState *bs, int64_t sector_num, in cloop_read() 146 static void cloop_close(BlockDriverState *bs) in cloop_close()
|
D | dmg.c | 77 static int dmg_open(BlockDriverState *bs, const char *filename, int flags) in dmg_open() 255 static int dmg_read(BlockDriverState *bs, int64_t sector_num, in dmg_read() 271 static void dmg_close(BlockDriverState *bs) in dmg_close()
|
/external/qemu/hw/ |
D | pc.h | 153 BlockDriverState *hd0, BlockDriverState *hd1); 154 void pci_cmd646_ide_init(PCIBus *bus, BlockDriverState **hd_table, 156 void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn, 158 void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
|
D | scsi-disk.h | 27 SCSIDevice *scsi_disk_init(BlockDriverState *bdrv, int tcq, 29 SCSIDevice *scsi_generic_init(BlockDriverState *bdrv, int tcq,
|