Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/decompress/
H A 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 + 7) & ~7; /* 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()
/openbmc/u-boot/common/
H A Dmalloc_simple.c22 addr = ALIGN(gd->malloc_base + gd->malloc_ptr, align); in alloc_simple()
32 gd->malloc_ptr = ALIGN(new_ptr, sizeof(new_ptr)); in alloc_simple()
79 log_info("malloc_simple: %lx bytes used, %lx remain\n", gd->malloc_ptr, in malloc_simple_info()
80 CONFIG_VAL(SYS_MALLOC_F_LEN) - gd->malloc_ptr); in malloc_simple_info()
H A Dboard_r.c237 debug("Pre-reloc malloc() used %#lx bytes (%ld KB)\n", gd->malloc_ptr, in initr_malloc()
238 gd->malloc_ptr / 1024); in initr_malloc()
H A Ddlmalloc.c2392 gd->malloc_ptr = 0; in initf_malloc()
/openbmc/linux/lib/
H A 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()
/openbmc/u-boot/common/spl/
H A Dspl.c392 gd->malloc_ptr = 0; in spl_common_init()
729 debug("SPL malloc() used 0x%lx bytes (%ld KB)\n", gd->malloc_ptr, in board_init_r()
730 gd->malloc_ptr / 1024); in board_init_r()
795 gd->malloc_ptr, gd->malloc_ptr / 1024); in spl_relocate_stack_gd()
799 gd->malloc_ptr = 0; in spl_relocate_stack_gd()
/openbmc/u-boot/include/asm-generic/
H A Dglobal_data.h100 unsigned long malloc_ptr; /* current address */ member
/openbmc/u-boot/cmd/
H A Dbdinfo.c347 printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr, in do_bdinfo()