Lines Matching refs:memory
102 void* memory = malloc(entry.size); in MallocExecute() local
103 MakeAllocationResident(memory, entry.size, pagesize); in MallocExecute()
106 pointers->Add(entry.ptr, memory); in MallocExecute()
114 void* memory = calloc(entry.u.n_elements, entry.size); in CallocExecute() local
115 MakeAllocationResident(memory, entry.u.n_elements * entry.size, pagesize); in CallocExecute()
118 pointers->Add(entry.ptr, memory); in CallocExecute()
131 void* memory = realloc(old_memory, entry.size); in ReallocExecute() local
132 MakeAllocationResident(memory, entry.size, pagesize); in ReallocExecute()
135 pointers->Add(entry.ptr, memory); in ReallocExecute()
143 void* memory = memalign(entry.u.align, entry.size); in MemalignExecute() local
144 MakeAllocationResident(memory, entry.size, pagesize); in MemalignExecute()
147 pointers->Add(entry.ptr, memory); in MemalignExecute()
157 void* memory = pointers->Remove(entry.ptr); in FreeExecute() local
159 free(memory); in FreeExecute()