Home
last modified time | relevance | path

Searched refs:resource_uuids (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/display/
H A Dvirtio-dmabuf.c19 static GHashTable *resource_uuids; variable
35 if (resource_uuids == NULL) { in virtio_add_resource()
36 resource_uuids = g_hash_table_new_full(qemu_uuid_hash, in virtio_add_resource()
41 if (g_hash_table_lookup(resource_uuids, uuid) == NULL) { in virtio_add_resource()
42 g_hash_table_insert(resource_uuids, uuid, value); in virtio_add_resource()
91 result = g_hash_table_remove(resource_uuids, uuid); in virtio_remove_resource()
102 if (resource_uuids != NULL) { in get_shared_object()
103 lookup_res = g_hash_table_lookup(resource_uuids, uuid); in get_shared_object()
142 g_hash_table_destroy(resource_uuids); in virtio_free_resources()
144 resource_uuids = NULL; in virtio_free_resources()