Searched refs:mem_ptr (Results 1 – 4 of 4) sorted by relevance
57 void* mem_ptr = real_memalign(alignment, size); in memalign() local60 if(mem_ptr) { in memalign()61 memset(mem_ptr, INITIAL_VAL, size); in memalign()67 return mem_ptr; in memalign()72 return mem_ptr; in memalign()75 return mem_ptr; in memalign()77 s_allocation_list[s_allocation_index].mem_ptr = mem_ptr; in memalign()80 return mem_ptr; in memalign()87 void* mem_ptr = real_malloc(size); in malloc() local90 if(mem_ptr) { in malloc()[all …]
98 char* mem_ptr; in memalign() local134 mem_ptr = (char *) start_ptr + ((num_pages - 1) * page_size) - aligned_size; in memalign()138 mem_ptr = (char *) start_ptr + page_size; in memalign()142 s_mem_map[s_mem_map_index].mem_ptr = mem_ptr; in memalign()146 memset(mem_ptr, INITIAL_VAL, size); in memalign()147 return mem_ptr; in memalign()190 if (ptr == s_mem_map[i].mem_ptr) { in realloc()200 free(s_mem_map[i].mem_ptr); in realloc()222 if (ptr == s_mem_map[i].mem_ptr) { in free()226 s_free_list[s_free_write_index].mem_ptr = s_mem_map[i].mem_ptr; in free()
31 void *mem_ptr; member
41 void *mem_ptr; member