Lines Matching refs:qbus
36 QTAILQ_FOREACH_RCU(kid, &bus->qbus.children, sibling) { in do_scsi_device_find()
193 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_bus_parse_cdb()
291 static bool scsi_bus_check_address(BusState *qbus, DeviceState *qdev, Error **errp) in scsi_bus_check_address() argument
294 SCSIBus *bus = SCSI_BUS(qbus); in scsi_bus_check_address()
323 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_qdev_realize()
427 if (!qdev_realize_and_unref(dev, &bus->qbus, errp)) { in scsi_bus_legacy_add_drive()
574 QTAILQ_FOREACH_RCU(kid, &r->req.bus->qbus.children, sibling) { in scsi_target_emulate_report_luns()
780 BusState *qbus = BUS(bus); in scsi_req_alloc() local
796 object_ref(OBJECT(qbus->parent)); in scsi_req_alloc()
810 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, d->qdev.parent_bus); in scsi_req_new()
1437 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_device_report_change()
1456 BusState *qbus = req->dev->qdev.parent_bus; in scsi_req_unref() local
1457 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, qbus); in scsi_req_unref()
1466 object_unref(OBJECT(qbus->parent)); in scsi_req_unref()
1755 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, sdev->qdev.parent_bus); in scsi_device_drained_begin()
1777 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, sdev->qdev.parent_bus); in scsi_device_drained_end()
1853 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, s->qdev.parent_bus); in get_scsi_requests()