Searched refs:new_ptr (Results 1 – 4 of 4) sorted by relevance
| /openbmc/u-boot/common/ |
| H A D | malloc_simple.c | 19 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 D | coreboot_table.c | 35 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()
|
| /openbmc/qemu/target/hexagon/ |
| H A D | op_helper.c | 153 uint32_t new_ptr = RxV + offset; in HELPER() local 170 if (new_ptr >= end_addr) { in HELPER() 171 new_ptr -= length; in HELPER() 172 } else if (new_ptr < start_addr) { in HELPER() 173 new_ptr += length; in HELPER() 176 return new_ptr; in HELPER()
|
| /openbmc/qemu/block/ |
| H A D | qcow2-refcount.c | 1483 void *new_ptr; in realloc_refcount_array() local 1502 new_ptr = g_try_realloc(*array, new_byte_size); in realloc_refcount_array() 1503 if (!new_ptr) { in realloc_refcount_array() 1508 memset((char *)new_ptr + old_byte_size, 0, in realloc_refcount_array() 1512 *array = new_ptr; in realloc_refcount_array()
|