Home
last modified time | relevance | path

Searched refs:handle_table (Results 1 – 25 of 31) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_handle_table.h49 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,
Du_handle_table.c46 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 …]
/external/libdrm/amdgpu/
Dhandle_table.h30 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);
Dhandle_table.c31 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()
DMakefile.sources10 handle_table.c \
11 handle_table.h
Damdgpu_internal.h77 struct handle_table bo_handles;
79 struct handle_table bo_flink_names;
DAndroid.sources.bp13 "handle_table.c",
Dmeson.build29 'amdgpu_gpu_info.c', 'amdgpu_vamgr.c', 'amdgpu_vm.c', 'handle_table.c',
/external/libchrome/libchrome_tools/patch/
Dhandle_table.patch1 diff --git a/mojo/core/handle_table.cc b/mojo/core/handle_table.cc
3 --- a/mojo/core/handle_table.cc
4 +++ b/mojo/core/handle_table.cc
135 diff --git a/mojo/core/handle_table.h b/mojo/core/handle_table.h
137 --- a/mojo/core/handle_table.h
138 +++ b/mojo/core/handle_table.h
/external/libdrm/omap/
Domap_drm.c65 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()
/external/mesa3d/src/freedreno/drm/
Dfreedreno_bo.c81 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_from_handle()
150 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_handle()
178 bo = lookup_bo(dev->handle_table, handle); in fd_bo_from_dmabuf()
215 bo = lookup_bo(dev->handle_table, req.handle); in fd_bo_from_name()
286 _mesa_hash_table_remove_key(bo->dev->handle_table, &bo->handle); in bo_del()
Dfreedreno_device.c82 dev->handle_table = _mesa_hash_table_create(NULL, _mesa_hash_u32, _mesa_key_u32_equal); in fd_device_new()
115 _mesa_hash_table_destroy(dev->handle_table, NULL); in fd_device_del_impl()
Dfreedreno_priv.h90 struct hash_table *handle_table, *name_table; member
/external/libdrm/freedreno/
Dfreedreno_bo.c77 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()
Dfreedreno_device.c82 dev->handle_table = drmHashCreate(); in fd_device_new()
114 drmHashDestroy(dev->handle_table); in fd_device_del_impl()
/external/libdrm/etnaviv/
Detnaviv_device.c53 dev->handle_table = drmHashCreate(); in etna_device_new()
85 drmHashDestroy(dev->handle_table); in etna_device_del_impl()
Detnaviv_bo.c55 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()
Detnaviv_priv.h74 void *handle_table, *name_table; member
/external/mesa3d/src/etnaviv/drm/
Detnaviv_device.c46 dev->handle_table = _mesa_hash_table_create(NULL, _mesa_hash_u32, _mesa_key_u32_equal); in etna_device_new()
90 _mesa_hash_table_destroy(dev->handle_table, NULL); in etna_device_del_impl()
Detnaviv_bo.c63 _mesa_hash_table_remove_key(bo->dev->handle_table, &bo->handle); in _etna_bo_del()
110 _mesa_hash_table_insert(dev->handle_table, &bo->handle, bo); in bo_from_handle()
196 bo = lookup_bo(dev->handle_table, req.handle); in etna_bo_from_name()
234 bo = lookup_bo(dev->handle_table, handle); in etna_bo_from_dmabuf()
Detnaviv_priv.h79 void *handle_table, *name_table; member
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c165 struct hash_table *handle_table; member
704 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in iris_bo_gem_create_from_name()
724 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_gem_create_from_name()
760 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_close()
761 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_close()
1329 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in iris_bufmgr_destroy()
1403 bo = find_and_ref_external_bo(bufmgr->handle_table, handle); in iris_bo_import_dmabuf()
1442 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_import_dmabuf()
1471 _mesa_hash_table_insert(bo->bufmgr->handle_table, &bo->gem_handle, bo); in iris_bo_make_external_locked()
1885 bufmgr->handle_table = in iris_bufmgr_create()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c174 struct hash_table *handle_table; member
795 bo = hash_find_bo(bufmgr->handle_table, open_arg.handle); in brw_bo_gem_create_from_name()
821 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in brw_bo_gem_create_from_name()
870 entry = _mesa_hash_table_search(bufmgr->handle_table, &bo->gem_handle); in bo_free()
871 _mesa_hash_table_remove(bufmgr->handle_table, entry); in bo_free()
1409 _mesa_hash_table_destroy(bufmgr->handle_table, NULL); in brw_bufmgr_unref()
1486 bo = hash_find_bo(bufmgr->handle_table, handle); in brw_bo_gem_create_from_prime_internal()
1511 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in brw_bo_gem_create_from_prime_internal()
1571 _mesa_hash_table_insert(bufmgr->handle_table, &bo->gem_handle, bo); in brw_bo_make_external()
1920 bufmgr->handle_table = in brw_bufmgr_create()
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_device.h70 struct handle_table *ctx_table;
/external/mesa3d/src/gallium/frontends/vdpau/
Dhtab.c32 static struct handle_table *htab = NULL;

12