Searched refs:s_allocation_index (Results 1 – 2 of 2) sorted by relevance
74 if (s_allocation_index >= MAX_ENTRIES) { in memalign()77 s_allocation_list[s_allocation_index].mem_ptr = mem_ptr; in memalign()78 s_allocation_list[s_allocation_index].mem_size = size; in memalign()79 ++s_allocation_index; in memalign()104 if (s_allocation_index >= MAX_ENTRIES) { in malloc()107 s_allocation_list[s_allocation_index].mem_ptr = mem_ptr; in malloc()108 s_allocation_list[s_allocation_index].mem_size = size; in malloc()109 ++s_allocation_index; in malloc()118 for (int i = 0; i < s_allocation_index; ++i) { in free()146 if (s_allocation_index >= MAX_ENTRIES) { in calloc()[all …]
36 static int s_allocation_index = 0; variable