Searched refs:rzalloc_array (Results 1 – 5 of 5) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_worklist.c | 35 w->present = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(num_entries)); in u_worklist_init() 36 w->entries = rzalloc_array(mem_ctx, unsigned *, num_entries); in u_worklist_init()
|
D | set.c | 133 ht->table = rzalloc_array(mem_ctx, struct set_entry, ht->size); in _mesa_set_init() 345 table = rzalloc_array(ralloc_parent(ht->table), struct set_entry, in set_rehash()
|
D | ralloc.h | 174 #define rzalloc_array(ctx, type, count) \ macro
|
D | register_allocate.c | 98 regs->regs = rzalloc_array(regs, struct ra_reg, count); in ra_alloc_reg_set() 101 regs->regs[i].conflicts = rzalloc_array(regs->regs, BITSET_WORD, in ra_alloc_reg_set() 231 class->regs = rzalloc_array(class, BITSET_WORD, BITSET_WORDS(regs->count)); in ra_alloc_reg_class()
|
D | hash_table.c | 163 ht->table = rzalloc_array(mem_ctx, struct hash_entry, ht->size); in _mesa_hash_table_init() 403 table = rzalloc_array(ralloc_parent(ht->table), struct hash_entry, in _mesa_hash_table_rehash()
|