/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_handle_table.h | 49 struct handle_table; 52 struct handle_table * 63 handle_table_set_destroy(struct handle_table *ht, 73 handle_table_add(struct handle_table *ht, 80 handle_table_set(struct handle_table *ht, 90 handle_table_get(struct handle_table *ht, 95 handle_table_remove(struct handle_table *ht, 100 handle_table_destroy(struct handle_table *ht); 104 handle_table_get_first_handle(struct handle_table *ht); 108 handle_table_get_next_handle(struct handle_table *ht,
|
D | u_handle_table.c | 46 struct handle_table struct 61 struct handle_table * argument 64 struct handle_table *ht; in handle_table_create() 66 ht = MALLOC_STRUCT(handle_table); in handle_table_create() 86 handle_table_set_destroy(struct handle_table *ht, in handle_table_set_destroy() 100 handle_table_resize(struct handle_table *ht, in handle_table_resize() 130 handle_table_clear(struct handle_table *ht, in handle_table_clear() 152 handle_table_add(struct handle_table *ht, in handle_table_add() 190 handle_table_set(struct handle_table *ht, in handle_table_set() 220 handle_table_get(struct handle_table *ht, in handle_table_get() [all …]
|
/third_party/libdrm/amdgpu/ |
D | handle_table.h | 30 struct handle_table { struct 35 drm_private int handle_table_insert(struct handle_table *table, uint32_t key, argument 37 drm_private void handle_table_remove(struct handle_table *table, uint32_t key); 38 drm_private void *handle_table_lookup(struct handle_table *table, uint32_t key); 39 drm_private void handle_table_fini(struct handle_table *table);
|
D | handle_table.c | 31 drm_private int handle_table_insert(struct handle_table *table, uint32_t key, in handle_table_insert() 53 drm_private void handle_table_remove(struct handle_table *table, uint32_t key) in handle_table_remove() 59 drm_private void *handle_table_lookup(struct handle_table *table, uint32_t key) in handle_table_lookup() 67 drm_private void handle_table_fini(struct handle_table *table) in handle_table_fini()
|
D | Makefile.sources | 10 handle_table.c \ 11 handle_table.h
|
D | amdgpu_internal.h | 77 struct handle_table bo_handles; 79 struct handle_table bo_flink_names;
|
D | meson.build | 29 'amdgpu_gpu_info.c', 'amdgpu_vamgr.c', 'amdgpu_vm.c', 'handle_table.c',
|
/third_party/libdrm/omap/ |
D | omap_drm.c | 65 void *handle_table; member 87 dev->handle_table = drmHashCreate(); in omap_device_new_impl() 125 drmHashDestroy(dev->handle_table); in omap_device_del() 164 if (!drmHashLookup(dev->handle_table, handle, (void **)&bo)) { in lookup_bo() 188 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle() 372 drmHashDelete(bo->dev->handle_table, bo->handle); in omap_bo_del()
|
/third_party/libdrm/freedreno/ |
D | freedreno_bo.c | 77 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle() 136 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_handle() 164 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_dmabuf() 201 bo = lookup_bo(dev->handle_table, req.handle); in fd_bo_from_name() 269 drmHashDelete(bo->dev->handle_table, bo->handle); in bo_del()
|
D | freedreno_device.c | 82 dev->handle_table = drmHashCreate(); in fd_device_new() 114 drmHashDestroy(dev->handle_table); in fd_device_del_impl()
|
D | freedreno_priv.h | 96 void *handle_table, *name_table; member
|
/third_party/libdrm/etnaviv/ |
D | etnaviv_device.c | 53 dev->handle_table = drmHashCreate(); in etna_device_new() 85 drmHashDestroy(dev->handle_table); in etna_device_del_impl()
|
D | etnaviv_bo.c | 55 drmHashDelete(bo->dev->handle_table, bo->handle); in bo_del() 101 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle() 182 bo = lookup_bo(dev->handle_table, req.handle); in etna_bo_from_name() 218 bo = lookup_bo(dev->handle_table, handle); in etna_bo_from_dmabuf()
|
D | etnaviv_priv.h | 74 void *handle_table, *name_table; member
|
/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_bo.c | 67 _mesa_hash_table_remove_key(bo->dev->handle_table, &bo->handle); in _etna_bo_del() 120 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_from_handle() 206 bo = lookup_bo(dev->handle_table, req.handle); in etna_bo_from_name() 244 bo = lookup_bo(dev->handle_table, handle); in etna_bo_from_dmabuf()
|
D | etnaviv_device.c | 64 dev->handle_table = _mesa_hash_table_create(NULL, _mesa_hash_u32, _mesa_key_u32_equal); in etna_device_new() 108 _mesa_hash_table_destroy(dev->handle_table, NULL); in etna_device_del_impl()
|
D | etnaviv_priv.h | 80 void *handle_table, *name_table; member
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_bufmgr.c | 154 struct hash_table *handle_table; member 555 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in crocus_bo_gem_create_from_name() 575 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in crocus_bo_gem_create_from_name() 611 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_close() 612 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_close() 1161 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in crocus_bufmgr_destroy() 1231 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in crocus_bo_import_dmabuf() 1256 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in crocus_bo_import_dmabuf() 1303 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in crocus_bo_import_dmabuf_no_mods() 1328 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in crocus_bo_import_dmabuf_no_mods() [all …]
|
/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_bo.c | 85 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_from_handle() 162 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_handle() 190 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_dmabuf() 228 bo = lookup_bo(dev->handle_table, req.handle); in fd_bo_from_name() 360 _mesa_hash_table_remove_key(bo->dev->handle_table, &bo->handle); in bo_del()
|
D | freedreno_device.c | 80 dev->handle_table = in fd_device_new() 135 _mesa_hash_table_destroy(dev->handle_table, NULL); in fd_device_del_impl()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 180 struct hash_table *handle_table; member 801 bo = hash_find_bo(bufmgr->handle_table, open_arg.handle); in brw_bo_gem_create_from_name() 826 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in brw_bo_gem_create_from_name() 875 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_free() 876 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_free() 1414 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in brw_bufmgr_unref() 1491 bo = hash_find_bo(bufmgr->handle_table, handle); in brw_bo_gem_create_from_prime_internal() 1515 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in brw_bo_gem_create_from_prime_internal() 1575 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in brw_bo_make_external() 1924 bufmgr->handle_table = in brw_bufmgr_create()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | htab.c | 32 static struct handle_table *htab = NULL;
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
D | stw_device.h | 72 struct handle_table *ctx_table;
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.c | 217 struct hash_table *handle_table; member 1186 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in iris_bo_gem_create_from_name() 1207 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_gem_create_from_name() 1233 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_close() 1234 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_close() 1684 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in iris_bufmgr_destroy() 1772 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in iris_bo_import_dmabuf() 1812 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_import_dmabuf() 1826 _mesa_hash_table_insert(bo->bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_mark_exported_locked() 2334 bufmgr->handle_table = in iris_bufmgr_create()
|
/third_party/libdrm/intel/ |
D | intel_bufmgr_gem.c | 131 drm_intel_bo_gem *handle_table; member 813 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_gem_bo_alloc_internal() 986 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_gem_bo_alloc_userptr() 1139 HASH_FIND(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_name() 1165 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_name() 1215 HASH_DELETE(handle_hh, bufmgr_gem->handle_table, bo_gem); in drm_intel_gem_bo_free() 2667 HASH_FIND(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_prime() 2696 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_prime()
|