Lines Matching refs:id_alloc
94 if (table->id_alloc) { in _mesa_DeleteHashTable()
95 util_idalloc_fini(table->id_alloc); in _mesa_DeleteHashTable()
96 free(table->id_alloc); in _mesa_DeleteHashTable()
106 table->id_alloc = MALLOC_STRUCT(util_idalloc); in init_name_reuse()
107 util_idalloc_init(table->id_alloc, 8); in init_name_reuse()
108 ASSERTED GLuint reserve0 = util_idalloc_alloc(table->id_alloc); in init_name_reuse()
224 if (!isGenName && table->id_alloc) in _mesa_HashInsertLocked()
225 util_idalloc_reserve(table->id_alloc, key); in _mesa_HashInsertLocked()
244 if (!isGenName && table->id_alloc) in _mesa_HashInsert()
245 util_idalloc_reserve(table->id_alloc, key); in _mesa_HashInsert()
283 if (table->id_alloc) in _mesa_HashRemove_unlocked()
284 util_idalloc_free(table->id_alloc, key); in _mesa_HashRemove_unlocked()
329 if (table->id_alloc) { in _mesa_HashDeleteAll()
330 util_idalloc_fini(table->id_alloc); in _mesa_HashDeleteAll()
331 free(table->id_alloc); in _mesa_HashDeleteAll()
421 if (table->id_alloc && numKeys == 1) { in _mesa_HashFindFreeKeyBlock()
422 return util_idalloc_alloc(table->id_alloc); in _mesa_HashFindFreeKeyBlock()
455 if (!table->id_alloc) { in _mesa_HashFindFreeKeys()
464 keys[i] = util_idalloc_alloc(table->id_alloc); in _mesa_HashFindFreeKeys()