Home
last modified time | relevance | path

Searched refs:malloc_ptr (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/decompress/
Dmm.h39 STATIC_RW_DATA unsigned long malloc_ptr; variable
48 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()
/linux-6.1.9/lib/
Dinflate.c242 static unsigned long malloc_ptr; variable
251 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()