Searched refs:mem_ptr (Results 1 – 5 of 5) 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 …]
100 char* mem_ptr; in memalign() local136 mem_ptr = (char *) start_ptr + ((num_pages - 1) * page_size) - aligned_size; in memalign()140 mem_ptr = (char *) start_ptr + page_size; in memalign()144 s_mem_map[s_mem_map_index].mem_ptr = mem_ptr; in memalign()148 memset(mem_ptr, INITIAL_VAL, size); in memalign()149 return mem_ptr; in memalign()192 if (ptr == s_mem_map[i].mem_ptr) { in realloc()202 free(s_mem_map[i].mem_ptr); in realloc()224 if (ptr == s_mem_map[i].mem_ptr) { in free()228 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
330 void *mem_ptr; member340 xml_malloc_list[xml_malloc_list_size].mem_ptr = ptr; in xml_malloc()349 if (target_ptr == xml_malloc_list[i].mem_ptr && in match_allocation_size()