Searched refs:new_ptr (Results 1 – 2 of 2) sorted by relevance
19 ulong addr, new_ptr; in alloc_simple() local23 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()
35 u32 new_ptr; in high_table_malloc() local38 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()