Searched refs:exec_heap (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | execmem.c | 65 static struct mem_block *exec_heap = NULL; variable 80 if (!exec_heap) in init_heap() 81 exec_heap = u_mmInit( 0, EXEC_HEAP_SIZE ); in init_heap() 102 if (exec_heap) { in _mesa_exec_malloc() 104 block = u_mmAllocMem(exec_heap, size, 5, 0); in _mesa_exec_malloc() 124 if (exec_heap) { in _mesa_exec_free() 125 struct mem_block *block = u_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()
|