Searched refs:dev_tab (Results 1 – 1 of 1) sorted by relevance
47 static struct hash_table *dev_tab = NULL; variable171 if (destroy && dev_tab) { in amdgpu_winsys_destroy()172 _mesa_hash_table_remove_key(dev_tab, ws->dev); in amdgpu_winsys_destroy()173 if (_mesa_hash_table_num_entries(dev_tab) == 0) { in amdgpu_winsys_destroy()174 _mesa_hash_table_destroy(dev_tab, NULL); in amdgpu_winsys_destroy()175 dev_tab = NULL; in amdgpu_winsys_destroy()375 if (!dev_tab) in amdgpu_winsys_create()376 dev_tab = util_hash_table_create_ptr_keys(); in amdgpu_winsys_create()387 aws = util_hash_table_get(dev_tab, dev); in amdgpu_winsys_create()517 _mesa_hash_table_insert(dev_tab, dev, aws); in amdgpu_winsys_create()