Home
last modified time | relevance | path

Searched refs:fd_map (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/drm-shim/
H A Ddevice.c81 shim_device.fd_map = _mesa_hash_table_create(NULL, in drm_shim_device_init()
140 _mesa_hash_table_insert(shim_device.fd_map, (void *)(uintptr_t)(fd + 1), shim_fd); in drm_shim_fd_register()
151 _mesa_hash_table_search(shim_device.fd_map, (void *)(uintptr_t)(fd + 1)); in drm_shim_fd_unregister()
155 _mesa_hash_table_remove(shim_device.fd_map, entry); in drm_shim_fd_unregister()
171 _mesa_hash_table_search(shim_device.fd_map, (void *)(uintptr_t)(fd + 1)); in drm_shim_fd_lookup()
H A Ddrm_shim.h42 struct hash_table *fd_map; member
/third_party/mesa3d/src/broadcom/simulator/
H A Dv3d_simulator.c89 struct hash_table *fd_map; member
170 struct hash_entry *entry = _mesa_hash_table_search(sim_state.fd_map, in v3d_get_simulator_file_for_fd()
865 sim_state.fd_map = in v3d_simulator_init_global()
900 _mesa_hash_table_insert(sim_state.fd_map, int_to_key(fd + 1), in v3d_simulator_init()
917 _mesa_hash_table_destroy(sim_state.fd_map, NULL); in v3d_simulator_destroy()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_simulator.c74 struct hash_table *fd_map; member
120 struct hash_entry *entry = _mesa_hash_table_search(sim_state.fd_map, in vc4_get_simulator_file_for_fd()
662 sim_state.fd_map = in vc4_simulator_init_global()
681 _mesa_hash_table_insert(sim_state.fd_map, int_to_key(screen->fd + 1), in vc4_simulator_init()
693 _mesa_hash_table_destroy(sim_state.fd_map, NULL); in vc4_simulator_destroy()

Completed in 4 milliseconds