/external/qemu/ |
blockdev.h | 22 BlockDriverState *bdrv; member in struct:DriveInfo
|
vl.c | 789 const char *drive_get_serial(BlockDriverState *bdrv) 794 if (drives_table[index].bdrv == bdrv) 800 BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv) 805 if (drives_table[index].bdrv == bdrv) 816 void drive_uninit(BlockDriverState *bdrv) 821 if (drives_table[i].bdrv == bdrv) { 822 drives_table[i].bdrv = NULL 841 BlockDriverState *bdrv; local [all...] |
vl-android.c | 982 const char *drive_get_serial(BlockDriverState *bdrv) 987 if (drives_table[index].bdrv == bdrv) 993 BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv) 998 if (drives_table[index].bdrv == bdrv) 1009 void drive_uninit(BlockDriverState *bdrv) 1014 if (drives_table[i].bdrv == bdrv) { 1015 drives_table[i].bdrv = NULL 1034 BlockDriverState *bdrv; local [all...] |
/external/qemu/hw/ |
usb-msd.c | 520 BlockDriverState *bdrv; local 553 bdrv = bdrv_new("usb"); 554 if (bdrv_open(bdrv, filename, 0, drv) < 0) 556 s->bs = bdrv; 569 s->scsi_dev = scsi_disk_init(bdrv, 0, usb_msd_command_complete, s);
|
scsi-disk.c | 65 BlockDriverState *bdrv; member in struct:SCSIDeviceState 213 r->aiocb = bdrv_aio_readv(s->bdrv, r->sector, &r->qiov, n, 223 BlockErrorAction action = bdrv_get_on_error(r->dev->bdrv, 0); 278 r->aiocb = bdrv_aio_writev(s->bdrv, r->sector, &r->qiov, n, 422 if (!bdrv_is_inserted(s->bdrv)) 468 if (bdrv_get_type_hint(s->bdrv) == BDRV_TYPE_CDROM) { 499 if (bdrv_get_type_hint(s->bdrv) == BDRV_TYPE_CDROM) { 517 int id_len = strlen(bdrv_get_device_name(s->bdrv)); 524 if (bdrv_get_type_hint(s->bdrv) == BDRV_TYPE_CDROM) { 540 bdrv_get_device_name(s->bdrv), id_len) [all...] |