Home
last modified time | relevance | path

Searched refs:oldsize (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c433 void *old_hpt, uint64_t oldsize, in rehash_hpte() argument
437 uint64_t old_hash_mask = (oldsize >> 7) - 1; in rehash_hpte()
495 assert((oldsize != newsize) || (pteg == new_pteg)); in rehash_hpte()
504 assert(newsize < oldsize); in rehash_hpte()
521 void *old_hpt, uint64_t oldsize, in rehash_hpt() argument
524 uint64_t n_ptegs = oldsize >> 7; in rehash_hpt()
539 rc = rehash_hpte(cpu, hptes, old_hpt, oldsize, new_hpt, newsize, in rehash_hpt()
/openbmc/u-boot/common/
H A Ddlmalloc.c1655 INTERNAL_SIZE_T oldsize; /* its size */ local
1693 newsize = oldsize = chunksize(oldp);
1706 if(oldsize - SIZE_SZ >= nb) return oldmem; /* do nothing */
1711 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
1719 if ((long)(oldsize) < (long)(nb))
1724 next = chunk_at_offset(oldp, oldsize);
1776 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
1792 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
1804 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
1827 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
H A Ddlmalloc.src2503 INTERNAL_SIZE_T oldsize; /* its size */
2531 newsize = oldsize = chunksize(oldp);
2544 if(oldsize - SIZE_SZ >= nb) return oldmem; /* do nothing */
2548 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
2556 if ((long)(oldsize) < (long)(nb))
2561 next = chunk_at_offset(oldp, oldsize);
2613 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2629 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2641 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2664 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);