Searched refs:bdrv (Results 1 - 14 of 14) sorted by relevance

/external/qemu/
H A Dblockdev.c97 if (dinfo->bdrv == bs) {
112 bdrv_delete(dinfo->bdrv);
414 dinfo->bdrv = bdrv_new(dinfo->id);
424 bdrv_set_on_error(dinfo->bdrv, on_read_error, on_write_error);
434 bdrv_set_geometry_hint(dinfo->bdrv, cyls, heads, secs);
435 bdrv_set_translation_hint(dinfo->bdrv, translation);
439 bdrv_set_type_hint(dinfo->bdrv, BDRV_TYPE_CDROM);
447 bdrv_set_type_hint(dinfo->bdrv, BDRV_TYPE_FLOPPY);
485 ret = bdrv_open(dinfo->bdrv, file, bdrv_flags, drv);
492 if (bdrv_key_required(dinfo->bdrv))
[all...]
H A Dvl-android.c688 const char *drive_get_serial(BlockDriverState *bdrv) argument
693 if (drives_table[index].bdrv == bdrv)
699 BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv) argument
704 if (drives_table[index].bdrv == bdrv)
715 void drive_uninit(BlockDriverState *bdrv) argument
720 if (drives_table[i].bdrv == bdrv) {
721 drives_table[i].bdrv
740 BlockDriverState *bdrv; local
[all...]
H A Dblock.c138 void bdrv_register(BlockDriver *bdrv) argument
140 if (!bdrv->bdrv_aio_readv) {
142 bdrv->bdrv_aio_readv = bdrv_aio_readv_em;
143 bdrv->bdrv_aio_writev = bdrv_aio_writev_em;
144 } else if (!bdrv->bdrv_read) {
146 bdrv->bdrv_read = bdrv_read_em;
147 bdrv->bdrv_write = bdrv_write_em;
150 if (!bdrv->bdrv_aio_flush)
151 bdrv->bdrv_aio_flush = bdrv_aio_flush_em;
153 QLIST_INSERT_HEAD(&bdrv_drivers, bdrv, lis
1516 bdrv_mon_event(const BlockDriverState *bdrv, BlockMonEventAction action, int is_read) argument
[all...]
H A Dsavevm.c2446 bs = drives_table[i].bdrv;
/external/qemu/include/hw/
H A Dpcmcia.h54 PCMCIACardState *dscm1xxxx_init(BlockDriverState *bdrv);
H A Dqdev-core.h75 typedef void (*SCSIAttachFn)(DeviceState *host, BlockDriverState *bdrv,
/external/qemu/include/sysemu/
H A Dblockdev.h22 BlockDriverState *bdrv; member in struct:DriveInfo
H A Dsysemu.h172 BlockDriverState *bdrv;
191 extern void drive_uninit(BlockDriverState *bdrv);
193 extern const char *drive_get_serial(BlockDriverState *bdrv);
194 extern BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv);
/external/qemu/hw/android/
H A Dandroid_arm.c113 goldfish_mmc_init(0xff005000, 0, info->bdrv);
H A Dandroid_mips.c214 goldfish_mmc_init(GOLDFISH_MMC, 0, info->bdrv);
/external/qemu/include/block/
H A Dblock.h53 void bdrv_mon_event(const BlockDriverState *bdrv,
97 void bdrv_register(BlockDriver *bdrv);
/external/qemu/hw/core/
H A Dqdev.c403 return info->bdrv;
433 attach(host, info->bdrv, unit);
/external/qemu/hw/mips/
H A Dmips_r4k.c233 dinfo->bdrv, sector_len, mips_rom / sector_len,
/external/qemu/hw/i386/
H A Dpc.c1052 goldfish_mmc_init(0xff005000, 0, info->bdrv);
1170 hd[i] = drives_table[index].bdrv;
1205 fd[i] = drives_table[index].bdrv;

Completed in 485 milliseconds