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 | 67 static struct mem_block *exec_heap = NULL; variable 74 if (!exec_heap) in init_heap() 75 exec_heap = u_mmInit( 0, EXEC_HEAP_SIZE ); in init_heap() 94 if (exec_heap) { in rtasm_exec_malloc() 96 block = u_mmAllocMem( exec_heap, size, 5, 0 ); /* 5 -> 32-byte alignment */ in rtasm_exec_malloc() 115 if (exec_heap) { in rtasm_exec_free() 116 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in rtasm_exec_free()
|