Home
last modified time | relevance | path

Searched refs:object_new (Results 1 – 25 of 106) sorted by relevance

12345

/qemu/tests/unit/
H A Dtest-io-task.c68 Object *obj = object_new(TYPE_DUMMY); in test_task_complete()
98 Object *obj = object_new(TYPE_DUMMY); in test_task_data_free()
116 Object *obj = object_new(TYPE_DUMMY); in test_task_failure()
177 Object *obj = object_new(TYPE_DUMMY); in test_task_thread_complete()
218 Object *obj = object_new(TYPE_DUMMY); in test_task_thread_failure()
H A Dtest-qdev-global-props.c99 mt = STATIC_TYPE(object_new(TYPE_STATIC_PROPS)); in test_static_prop_subprocess()
134 mt = STATIC_TYPE(object_new(TYPE_STATIC_PROPS)); in test_static_globalprop_subprocess()
252 mt = DYNAMIC_TYPE(object_new(TYPE_DYNAMIC_PROPS)); in test_dynamic_globalprop_subprocess()
298 mt = STATIC_TYPE(object_new(TYPE_SUBCLASS)); in test_subclass_global_props()
H A Dcheck-qom-proplist.c249 DummyBus *bus = DUMMY_BUS(object_new(TYPE_DUMMY_BUS)); in dummy_dev_init()
250 DummyBackend *backend = DUMMY_BACKEND(object_new(TYPE_DUMMY_BACKEND)); in dummy_dev_init()
614 Object *obj1 = object_new(TYPE_DUMMY); in test_qom_partial_path()
615 Object *obj2a = object_new(TYPE_DUMMY); in test_qom_partial_path()
616 Object *obj2b = object_new(TYPE_DUMMY); in test_qom_partial_path()
H A Dtest-smp-parse.c1014 Object *obj = object_new(machine_type); in test_generic_valid()
1033 Object *obj = object_new(machine_type); in test_generic_invalid()
1052 Object *obj = object_new(machine_type); in test_with_modules()
1102 Object *obj = object_new(machine_type); in test_with_dies()
1152 Object *obj = object_new(machine_type); in test_with_modules_dies()
1213 Object *obj = object_new(machine_type); in test_with_clusters()
1263 Object *obj = object_new(machine_type); in test_with_books()
1313 Object *obj = object_new(machine_type); in test_with_drawers()
1363 Object *obj = object_new(machine_type); in test_with_drawers_books()
1424 Object *obj = object_new(machine_type); in test_full_topo()
H A Dcheck-qom-interface.c70 Object *obj = object_new(type); in test_interface_impl()
/qemu/hw/core/
H A Dreset.c41 RESETTABLE_CONTAINER(object_new(TYPE_RESETTABLE_CONTAINER)); in get_root_reset_container()
97 Object *obj = object_new(TYPE_LEGACY_RESET); in qemu_register_reset()
107 Object *obj = object_new(TYPE_LEGACY_RESET); in qemu_register_reset_nosnapshotload()
H A Dqdev-clock.c70 Clock *clk = CLOCK(object_new(TYPE_CLOCK)); in qdev_init_clock_out()
81 Clock *clk = CLOCK(object_new(TYPE_CLOCK)); in qdev_init_clock_in()
H A Dirq.c83 IRQState *irq = IRQ(object_new(TYPE_IRQ)); in qemu_allocate_irq()
/qemu/hw/remote/
H A Diommu.c55 elem->mr = MEMORY_REGION(object_new(TYPE_MEMORY_REGION)); in remote_iommu_find_add_as()
113 iommu = REMOTE_IOMMU(object_new(TYPE_REMOTE_IOMMU)); in remote_iommu_setup()
/qemu/hw/s390x/
H A Dtod.c27 obj = object_new(TYPE_KVM_S390_TOD); in s390_init_tod()
29 obj = object_new(TYPE_QEMU_S390_TOD); in s390_init_tod()
/qemu/qom/
H A Dcontainer.c29 Object *child = object_new(TYPE_CONTAINER); in object_property_add_new_container()
/qemu/hw/arm/
H A Dmps2.c275 orgate = object_new(TYPE_OR_IRQ); in mps2_common_init()
318 orgate = object_new(TYPE_OR_IRQ); in mps2_common_init()
334 txrx_orgate = object_new(TYPE_OR_IRQ); in mps2_common_init()
426 orgate = object_new(TYPE_OR_IRQ); in mps2_common_init()
H A Dmcimx7d-sabre.c43 s = FSL_IMX7(object_new(TYPE_FSL_IMX7)); in mcimx7d_sabre_init()
H A Dmcimx6ul-evk.c41 s = FSL_IMX6UL(object_new(TYPE_FSL_IMX6UL)); in mcimx6ul_evk_init()
H A Dsabrelite.c52 s = FSL_IMX6(object_new(TYPE_FSL_IMX6)); in sabrelite_init()
H A Dimx8mp-evk.c66 s = FSL_IMX8MP(object_new(TYPE_FSL_IMX8MP)); in imx8mp_evk_init()
H A Ddigic_boards.c52 DigicState *s = DIGIC(object_new(TYPE_DIGIC)); in digic4_board_init()
H A Dcubieboard.c55 a10 = AW_A10(object_new(TYPE_AW_A10)); in cubieboard_init()
H A Dorangepi.c52 h3 = AW_H3(object_new(TYPE_AW_H3)); in orangepi_init()
H A Dbananapi_m2u.c74 r40 = AW_R40(object_new(TYPE_AW_R40)); in bpim2u_init()
/qemu/io/
H A Dchannel-file.c35 ioc = QIO_CHANNEL_FILE(object_new(TYPE_QIO_CHANNEL_FILE)); in qio_channel_file_new_fd()
69 ioc = QIO_CHANNEL_FILE(object_new(TYPE_QIO_CHANNEL_FILE)); in qio_channel_file_new_path()
/qemu/hw/i386/xen/
H A Dxen-pvh.c32 Object *cpu = object_new(ms->cpu_type); in xen_pvh_cpu_new()
/qemu/target/loongarch/
H A Dloongarch-qmp-cmds.c86 obj = object_new(object_class_get_name(oc)); in qmp_query_cpu_model_expansion()
/qemu/rust/qemu-api/src/
H A Dqom.rs108 object_get_typename, object_new, object_ref, object_unref, TypeInfo,
724 let raw_obj = object_new(Self::TYPE_NAME.as_ptr()); in new()
/qemu/migration/
H A Dchannel-block.c32 ioc = QIO_CHANNEL_BLOCK(object_new(TYPE_QIO_CHANNEL_BLOCK)); in qio_channel_block_new()

12345