Lines Matching full:obj
55 Object *obj = object_resolve_path(path, NULL); in hmp_qom_set() local
57 if (!obj) { in hmp_qom_set()
61 object_property_parse(obj, property, value, &err); in hmp_qom_set()
64 QObject *obj = qobject_from_json(value, &err); in hmp_qom_set() local
67 qmp_qom_set(path, property, obj, &err); in hmp_qom_set()
79 QObject *obj = qmp_qom_get(path, property, &err); in hmp_qom_get() local
82 GString *str = qobject_to_json_pretty(obj, true); in hmp_qom_get()
87 qobject_unref(obj); in hmp_qom_get()
96 static void print_qom_composition(Monitor *mon, Object *obj, int indent);
104 static int insert_qom_composition_child(Object *obj, void *opaque) in insert_qom_composition_child() argument
106 g_array_append_val(opaque, obj); in insert_qom_composition_child()
110 static void print_qom_composition(Monitor *mon, Object *obj, int indent) in print_qom_composition() argument
116 if (obj == object_get_root()) { in print_qom_composition()
119 name = object_get_canonical_path_component(obj); in print_qom_composition()
122 object_get_typename(obj)); in print_qom_composition()
124 object_child_foreach(obj, insert_qom_composition_child, children); in print_qom_composition()
137 Object *obj; in hmp_info_qom_tree() local
141 obj = object_resolve_path(path, &ambiguous); in hmp_info_qom_tree()
142 if (!obj) { in hmp_info_qom_tree()
151 obj = qdev_get_machine(); in hmp_info_qom_tree()
153 print_qom_composition(mon, obj, 0); in hmp_info_qom_tree()