Searched refs:malloc_ptr (Results 1 – 2 of 2) sorted by relevance
39 STATIC_RW_DATA unsigned long malloc_ptr; variable48 if (!malloc_ptr) in malloc()49 malloc_ptr = free_mem_ptr; in malloc()51 malloc_ptr = (malloc_ptr + 3) & ~3; /* Align */ in malloc()53 p = (void *)malloc_ptr; in malloc()54 malloc_ptr += size; in malloc()56 if (free_mem_end_ptr && malloc_ptr >= free_mem_end_ptr) in malloc()67 malloc_ptr = free_mem_ptr; in free()
242 static unsigned long malloc_ptr; variable251 if (!malloc_ptr) in malloc()252 malloc_ptr = free_mem_ptr; in malloc()254 malloc_ptr = (malloc_ptr + 3) & ~3; /* Align */ in malloc()256 p = (void *)malloc_ptr; in malloc()257 malloc_ptr += size; in malloc()259 if (free_mem_end_ptr && malloc_ptr >= free_mem_end_ptr) in malloc()270 malloc_ptr = free_mem_ptr; in free()