Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/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 Dclock.c34 obj = object_new(TYPE_CLOCK); in clock_new()
H A Dbus.c166 bus = BUS(object_new(typename)); in qbus_new()
/openbmc/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()
/openbmc/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()
H A Ds390-skeys.c48 obj = object_new(TYPE_KVM_S390_SKEYS); in s390_skeys_init()
50 obj = object_new(TYPE_QEMU_S390_SKEYS); in s390_skeys_init()
/openbmc/qemu/qom/
H A Dcontainer.c29 Object *child = object_new(TYPE_CONTAINER); in object_property_add_new_container()
/openbmc/qemu/hw/i386/xen/
H A Dxen-pvh.c32 Object *cpu = object_new(ms->cpu_type); in xen_pvh_cpu_new()
/openbmc/qemu/target/loongarch/
H A Dloongarch-qmp-cmds.c87 obj = object_new(object_class_get_name(oc)); in qmp_query_cpu_model_expansion()
/openbmc/qemu/io/
H A Dchannel-null.c41 ioc = QIO_CHANNEL_NULL(object_new(TYPE_QIO_CHANNEL_NULL)); in qio_channel_null_new()
H A Ddns-resolver.c39 instance = QIO_DNS_RESOLVER(object_new(TYPE_QIO_DNS_RESOLVER)); in qio_dns_resolve_init_instance()
H A Dchannel-buffer.c33 ioc = QIO_CHANNEL_BUFFER(object_new(TYPE_QIO_CHANNEL_BUFFER)); in qio_channel_buffer_new()
/openbmc/qemu/hw/microblaze/
H A Dpetalogix_s3adsp1800_mmu.c87 cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU)); in OBJECT_DECLARE_TYPE()
H A Dpetalogix_ml605_mmu.c85 cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU)); in petalogix_ml605_init()
/openbmc/qemu/target/arm/
H A Darm-qmp-cmds.c155 obj = object_new(object_class_get_name(oc)); in qmp_query_cpu_model_expansion()
/openbmc/qemu/hw/mips/
H A Dcps.c77 MIPSCPU *cpu = MIPS_CPU(object_new(s->cpu_type)); in mips_cps_realize()
/openbmc/qemu/hw/riscv/
H A Dmicroblaze-v-generic.c67 cpu = RISCV_CPU(object_new(machine->cpu_type)); in mb_v_generic_init()
/openbmc/qemu/hw/virtio/
H A Dvirtio-rng.c196 Object *default_backend = object_new(TYPE_RNG_BUILTIN); in virtio_rng_device_realize()
/openbmc/qemu/hw/sparc64/
H A Dsparc64.c275 cpu = SPARC_CPU(object_new(cpu_type)); in sparc64_cpu_devinit()

12