/openbmc/qemu/qapi/ |
H A D | qobject-input-visitor.c | 124 QObject *qobj; in qobject_input_try_get_object() local 135 qobj = tos->obj; in qobject_input_try_get_object() 136 assert(qobj); in qobject_input_try_get_object() 138 if (qobject_type(qobj) == QTYPE_QDICT) { in qobject_input_try_get_object() 140 ret = qdict_get(qobject_to(QDict, qobj), name); in qobject_input_try_get_object() 146 assert(qobject_type(qobj) == QTYPE_QLIST); in qobject_input_try_get_object() 180 QObject *qobj; in qobject_input_get_keyval() local 183 qobj = qobject_input_get_object(qiv, name, true, errp); in qobject_input_get_keyval() 184 if (!qobj) { in qobject_input_get_keyval() 188 qstr = qobject_to(QString, qobj); in qobject_input_get_keyval() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | check-qlit.c | 56 QObject *qobj = make_qobject(); in qlit_equal_qobject_test() local 58 g_assert(qlit_equal_qobject(&qlit, qobj)); in qlit_equal_qobject_test() 60 g_assert(!qlit_equal_qobject(&qlit_foo, qobj)); in qlit_equal_qobject_test() 62 qdict_put(qobject_to(QDict, qobj), "bee", qlist_new()); in qlit_equal_qobject_test() 63 g_assert(!qlit_equal_qobject(&qlit, qobj)); in qlit_equal_qobject_test() 65 qobject_unref(qobj); in qlit_equal_qobject_test() 70 QObject *obj, *qobj = qobject_from_qlit(&qlit); in qobject_from_qlit_test() local 74 qdict = qobject_to(QDict, qobj); in qobject_from_qlit_test() 90 qobject_unref(qobj); in qobject_from_qlit_test()
|
H A D | test-qobject-output-visitor.c | 296 QObject *qobj; in test_visitor_out_any() local 303 qobj = QOBJECT(qnum_from_int(-42)); in test_visitor_out_any() 304 visit_type_any(data->ov, NULL, &qobj, &error_abort); in test_visitor_out_any() 309 qobject_unref(qobj); in test_visitor_out_any() 316 qobj = QOBJECT(qdict); in test_visitor_out_any() 317 visit_type_any(data->ov, NULL, &qobj, &error_abort); in test_visitor_out_any() 318 qobject_unref(qobj); in test_visitor_out_any()
|
H A D | test-qobject-input-visitor.c | 619 QObject *qobj; in test_visitor_in_any() local 634 qobj = qdict_get(qdict, "integer"); in test_visitor_in_any() 635 g_assert(qobj); in test_visitor_in_any() 636 qnum = qobject_to(QNum, qobj); in test_visitor_in_any() 640 qobj = qdict_get(qdict, "boolean"); in test_visitor_in_any() 641 g_assert(qobj); in test_visitor_in_any() 642 qbool = qobject_to(QBool, qobj); in test_visitor_in_any() 645 qobj = qdict_get(qdict, "string"); in test_visitor_in_any() 646 g_assert(qobj); in test_visitor_in_any() 647 qstring = qobject_to(QString, qobj); in test_visitor_in_any()
|
H A D | check-qjson.c | 968 QObject *qobj; in interpolation_valid() local 1029 qobj = qobject_from_jsonf_nofail("%p", value_p); in interpolation_valid() 1030 g_assert(qobj == value_p); in interpolation_valid()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_ioctl.c | 115 struct qxl_bo *qobj; in qxlhw_handle_to_bo() local 122 qobj = gem_to_qxl_bo(gobj); in qxlhw_handle_to_bo() 124 ret = qxl_release_list_add(release, qobj); in qxlhw_handle_to_bo() 129 *qbo_p = qobj; in qxlhw_handle_to_bo() 306 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() local 317 qobj = gem_to_qxl_bo(gobj); in qxl_update_area_ioctl() 319 ret = qxl_bo_reserve(qobj); in qxl_update_area_ioctl() 323 if (!qobj->tbo.pin_count) { in qxl_update_area_ioctl() 324 qxl_ttm_placement_from_domain(qobj, qobj->type); in qxl_update_area_ioctl() 325 ret = ttm_bo_validate(&qobj->tbo, &qobj->placement, &ctx); in qxl_update_area_ioctl() [all …]
|
H A D | qxl_dumb.c | 36 struct qxl_bo *qobj; in qxl_mode_dumb_create() local 70 qobj = gem_to_qxl_bo(gobj); in qxl_mode_dumb_create() 71 qobj->is_dumb = true; in qxl_mode_dumb_create()
|
H A D | qxl_gem.c | 33 struct qxl_bo *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_free() local 39 qxl_surface_evict(qdev, qobj, false); in qxl_gem_object_free() 41 tbo = &qobj->tbo; in qxl_gem_object_free()
|
H A D | qxl_display.c | 415 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() local 422 qobj = gem_to_qxl_bo(fb->obj[0]); in qxl_framebuffer_surface_dirty() 424 is_primary = qobj->shadow ? qobj->shadow->is_primary : qobj->is_primary; in qxl_framebuffer_surface_dirty() 439 qxl_draw_dirty_fb(qdev, fb, qobj, flags, color, in qxl_framebuffer_surface_dirty()
|
/openbmc/qemu/tests/qtest/ |
H A D | readconfig-test.c | 184 QObject *qobj; in test_docs_config_ich9() local 190 qobj = qdict_get(resp, "return"); in test_docs_config_ich9() 191 test_object_available(qobj, "ehci", "ich9-usb-ehci1"); in test_docs_config_ich9() 192 test_object_available(qobj, "uhci-1", "ich9-usb-uhci1"); in test_docs_config_ich9() 193 test_object_available(qobj, "uhci-2", "ich9-usb-uhci2"); in test_docs_config_ich9() 194 test_object_available(qobj, "uhci-3", "ich9-usb-uhci3"); in test_docs_config_ich9() 235 QObject *qobj; in test_docs_q35() local 283 qobj = qdict_get(resp, "return"); in test_docs_q35() 287 test_object_available(qobj, devices[i].name, devices[i].type); in test_docs_q35()
|
H A D | libqmp.c | 141 QObject *qobj; in _qmp_fd_vsend_fds() local 148 qobj = qobject_from_vjsonf_nofail(fmt, ap); in _qmp_fd_vsend_fds() 151 if (qobj) { in _qmp_fd_vsend_fds() 153 GString *str = qobject_to_json(qobj); in _qmp_fd_vsend_fds() 176 qobject_unref(qobj); in _qmp_fd_vsend_fds()
|
H A D | libqtest.c | 1506 QObject *qobj; in qtest_get_machines() local 1538 qobj = qdict_get(minfo, "name"); in qtest_get_machines() 1539 g_assert(qobj); in qtest_get_machines() 1540 qstr = qobject_to(QString, qobj); in qtest_get_machines() 1544 qobj = qdict_get(minfo, "alias"); in qtest_get_machines() 1545 if (qobj) { /* The alias is optional */ in qtest_get_machines() 1546 qstr = qobject_to(QString, qobj); in qtest_get_machines() 1569 QObject *qobj; in qtest_get_cpu_models() local 1593 qobj = qdict_get(minfo, "name"); in qtest_get_cpu_models() 1594 g_assert(qobj); in qtest_get_cpu_models() [all …]
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_ioctl.c | 126 struct virtio_gpu_object *qobj; in virtio_gpu_resource_create_ioctl() local 165 ret = virtio_gpu_object_create(vgdev, ¶ms, &qobj, fence); in virtio_gpu_resource_create_ioctl() 169 obj = &qobj->base.base; in virtio_gpu_resource_create_ioctl() 177 rc->res_handle = qobj->hw_res_handle; /* similiar to a VM address */ in virtio_gpu_resource_create_ioctl() 196 struct virtio_gpu_object *qobj = NULL; in virtio_gpu_resource_info_ioctl() local 202 qobj = gem_to_virtio_gpu_obj(gobj); in virtio_gpu_resource_info_ioctl() 204 ri->size = qobj->base.base.size; in virtio_gpu_resource_info_ioctl() 205 ri->res_handle = qobj->hw_res_handle; in virtio_gpu_resource_info_ioctl() 206 if (qobj->host3d_blob || qobj->guest_blob) in virtio_gpu_resource_info_ioctl() 207 ri->blob_mem = qobj->blob_mem; in virtio_gpu_resource_info_ioctl()
|
/openbmc/qemu/qom/ |
H A D | object_interfaces.c | 143 QObject *qobj; in user_creatable_add_qapi() local 147 v = qobject_output_visitor_new(&qobj); in user_creatable_add_qapi() 149 visit_complete(v, &qobj); in user_creatable_add_qapi() 152 props = qobject_to(QDict, qobj); in user_creatable_add_qapi() 160 qobject_unref(qobj); in user_creatable_add_qapi()
|
/openbmc/qemu/system/ |
H A D | qtest.c | 835 Object *qobj; in qtest_server_init() local 844 qobj = object_new(TYPE_QTEST); in qtest_server_init() 845 object_property_set_str(qobj, "chardev", chr->label, &error_abort); in qtest_server_init() 847 object_property_set_str(qobj, "log", qtest_log, &error_abort); in qtest_server_init() 849 object_property_add_child(qdev_get_machine(), "qtest", qobj); in qtest_server_init() 850 user_creatable_complete(USER_CREATABLE(qobj), errp); in qtest_server_init() 852 object_unparent(qobj); in qtest_server_init() 855 object_unref(qobj); in qtest_server_init()
|
/openbmc/qemu/qobject/ |
H A D | block-qdict.c | 695 QObject *qobj; in qdict_rename_keys() local 705 qobj = qdict_get(qdict, renames->from); in qdict_rename_keys() 706 qdict_put_obj(qdict, renames->to, qobject_ref(qobj)); in qdict_rename_keys()
|