Searched refs:exec_heap (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | execmem.c | 64 static struct mem_block *exec_heap = NULL; variable 79 if (!exec_heap) in init_heap() 80 exec_heap = mmInit( 0, EXEC_HEAP_SIZE ); in init_heap() 101 if (exec_heap) { in _mesa_exec_malloc() 103 block = mmAllocMem( exec_heap, size, 32, 0 ); in _mesa_exec_malloc() 123 if (exec_heap) { in _mesa_exec_free() 124 struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in _mesa_exec_free()
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_execmem.c | 68 static struct mem_block *exec_heap = NULL; variable 75 if (!exec_heap) in init_heap() 76 exec_heap = u_mmInit( 0, EXEC_HEAP_SIZE ); in init_heap() 98 if (exec_heap) { in rtasm_exec_malloc() 100 block = u_mmAllocMem( exec_heap, size, 5, 0 ); /* 5 -> 32-byte alignment */ in rtasm_exec_malloc() 120 if (exec_heap) { in rtasm_exec_free() 121 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in rtasm_exec_free()
|