/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A 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 *h [all...] |
H A D | u_handle_table.c | 46 struct handle_table struct 61 struct handle_table * 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 *h [all...] |
/third_party/libdrm/amdgpu/ |
H A D | handle_table.h | 30 struct handle_table { struct 35 drm_private int handle_table_insert(struct handle_table *table, uint32_t key, 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);
|
H A D | handle_table.c | 28 #include "handle_table.h" 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()
|
H A D | amdgpu_internal.h | 35 #include "handle_table.h" 77 struct handle_table bo_handles; 79 struct handle_table bo_flink_names;
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_bo.c | 74 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle() 133 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_handle() 161 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_dmabuf() 198 bo = lookup_bo(dev->handle_table, req.handle); in fd_bo_from_name() 263 drmHashDelete(bo->dev->handle_table, bo->handle); in bo_del()
|
H A D | freedreno_device.c | 82 dev->handle_table = drmHashCreate(); in fd_device_new() 114 drmHashDestroy(dev->handle_table); in fd_device_del_impl()
|
H A D | freedreno_priv.h | 89 * handle_table: maps handle to fd_bo 96 void *handle_table, *name_table; member
|
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_bo.c | 93 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_from_handle() 118 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_new() 170 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_handle() 198 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_dmabuf() 236 bo = lookup_bo(dev->handle_table, req.handle); in fd_bo_from_name() 364 _mesa_hash_table_remove_key(dev->handle_table, &handle); in bo_del()
|
H A D | freedreno_device.c | 88 dev->handle_table = in fd_device_new() 169 _mesa_hash_table_destroy(dev->handle_table, NULL); in fd_device_del_impl()
|
H A D | freedreno_priv.h | 126 * handle_table: maps handle to fd_bo 133 struct hash_table *handle_table, *name_table; member
|
/third_party/libdrm/omap/ |
H A D | omap_drm.c | 56 /* The handle_table is used to track GEM bo handles associated w/ 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() 185 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle() 366 drmHashDelete(bo->dev->handle_table, bo->handle); in omap_bo_del()
|
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_device.c | 53 dev->handle_table = drmHashCreate(); in etna_device_new() 85 drmHashDestroy(dev->handle_table); in etna_device_del_impl()
|
H A D | etnaviv_bo.c | 51 drmHashDelete(bo->dev->handle_table, bo->handle); in bo_del() 92 drmHashInsert(dev->handle_table, handle, bo); in bo_from_handle() 173 bo = lookup_bo(dev->handle_table, req.handle); in etna_bo_from_name() 209 bo = lookup_bo(dev->handle_table, handle); in etna_bo_from_dmabuf()
|
H A D | etnaviv_priv.h | 67 * handle_table: maps handle to etna_bo 74 void *handle_table, *name_table; member
|
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_bo.c | 75 _mesa_hash_table_remove_key(bo->dev->handle_table, &bo->handle); in _etna_bo_free() 177 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_from_handle() 244 bo = lookup_bo(dev->handle_table, req.handle); in etna_bo_from_name() 283 bo = lookup_bo(dev->handle_table, handle); in etna_bo_from_dmabuf()
|
H A D | etnaviv_device.c | 67 dev->handle_table = _mesa_hash_table_create(NULL, _mesa_hash_u32, _mesa_key_u32_equal); in etna_device_new() 114 _mesa_hash_table_destroy(dev->handle_table, NULL); in etna_device_del_impl()
|
H A D | etnaviv_priv.h | 74 * handle_table: maps handle to etna_bo 81 void *handle_table, *name_table; member
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_bufmgr.c | 153 struct hash_table *handle_table; member 557 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in crocus_bo_gem_create_from_name() 577 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in crocus_bo_gem_create_from_name() 613 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_close() 614 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_close() 1166 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in crocus_bufmgr_destroy() 1236 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in crocus_bo_import_dmabuf() 1261 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in crocus_bo_import_dmabuf() 1308 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in crocus_bo_import_dmabuf_no_mods() 1333 _mesa_hash_table_insert(bufmgr->handle_table, in crocus_bo_import_dmabuf_no_mods() [all...] |
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
H A D | htab.c | 32 static struct handle_table *htab = NULL;
|
/third_party/mesa3d/src/gallium/frontends/wgl/ |
H A D | stw_device.h | 72 struct handle_table *ctx_table;
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 216 struct hash_table *handle_table; member 1266 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in iris_bo_gem_create_from_name() 1296 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_gem_create_from_name() 1323 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_close() 1324 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_close() 1800 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in iris_bufmgr_destroy() 1891 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in iris_bo_import_dmabuf() 1936 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_import_dmabuf() 1953 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_mark_exported_locked() 2488 bufmgr->handle_table in iris_bufmgr_create() [all...] |
/third_party/libdrm/intel/ |
H A D | intel_bufmgr_gem.c | 130 drm_intel_bo_gem *handle_table; member 774 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_gem_bo_alloc_internal() 947 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_gem_bo_alloc_userptr() 1100 HASH_FIND(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_name() 1126 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_name() 1175 HASH_DELETE(handle_hh, bufmgr_gem->handle_table, bo_gem); in drm_intel_gem_bo_free() 2594 HASH_FIND(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_prime() 2623 HASH_ADD(handle_hh, bufmgr_gem->handle_table, in drm_intel_bo_gem_create_from_prime()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | va_private.h | 249 struct handle_table *htab;
|