Home
last modified time | relevance | path

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

/openbmc/u-boot/common/
H A Dmalloc_simple.c19 ulong addr, new_ptr; in alloc_simple() local
23 new_ptr = addr + bytes - gd->malloc_base; in alloc_simple()
24 log_debug("size=%zx, ptr=%lx, limit=%lx: ", bytes, new_ptr, in alloc_simple()
26 if (new_ptr > gd->malloc_limit) { in alloc_simple()
32 gd->malloc_ptr = ALIGN(new_ptr, sizeof(new_ptr)); in alloc_simple()
/openbmc/u-boot/arch/x86/lib/
H A Dcoreboot_table.c35 u32 new_ptr; in high_table_malloc() local
38 new_ptr = gd->arch.high_table_ptr + bytes; in high_table_malloc()
39 if (new_ptr >= gd->arch.high_table_limit) in high_table_malloc()
42 gd->arch.high_table_ptr = new_ptr; in high_table_malloc()