Lines Matching refs:id_alloc
98 if (table->id_alloc) { in _mesa_DeleteHashTable()
99 util_idalloc_fini(table->id_alloc); in _mesa_DeleteHashTable()
100 free(table->id_alloc); in _mesa_DeleteHashTable()
112 table->id_alloc = MALLOC_STRUCT(util_idalloc); in _mesa_HashEnableNameReuse()
113 util_idalloc_init(table->id_alloc); in _mesa_HashEnableNameReuse()
114 util_idalloc_resize(table->id_alloc, 8); in _mesa_HashEnableNameReuse()
115 ASSERTED GLuint reserve0 = util_idalloc_alloc(table->id_alloc); in _mesa_HashEnableNameReuse()
225 if (!isGenName && table->id_alloc) in _mesa_HashInsertLocked()
226 util_idalloc_reserve(table->id_alloc, key); in _mesa_HashInsertLocked()
245 if (!isGenName && table->id_alloc) in _mesa_HashInsert()
246 util_idalloc_reserve(table->id_alloc, key); in _mesa_HashInsert()
282 if (table->id_alloc) in _mesa_HashRemove_unlocked()
283 util_idalloc_free(table->id_alloc, key); in _mesa_HashRemove_unlocked()
327 if (table->id_alloc) { in _mesa_HashDeleteAll()
328 util_idalloc_fini(table->id_alloc); in _mesa_HashDeleteAll()
329 free(table->id_alloc); in _mesa_HashDeleteAll()
416 if (table->id_alloc && numKeys == 1) { in _mesa_HashFindFreeKeyBlock()
417 return util_idalloc_alloc(table->id_alloc); in _mesa_HashFindFreeKeyBlock()
450 if (!table->id_alloc) { in _mesa_HashFindFreeKeys()
459 keys[i] = util_idalloc_alloc(table->id_alloc); in _mesa_HashFindFreeKeys()