Home
last modified time | relevance | path

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

/openbmc/u-boot/common/
H A Ddlmalloc.c1665 INTERNAL_SIZE_T prevsize; /* its size */ local
1761 prevsize = chunksize(prev);
1770 if ((long)(nextsize + prevsize + newsize) >= (long)(nb + MINSIZE))
1774 newsize += prevsize + nextsize;
1785 else if (((long)(nextsize + prevsize + newsize) >= (long)(nb)))
1790 newsize += nextsize + prevsize;
1798 if (prev != NULL && (long)(prevsize + newsize) >= (long)nb)
1802 newsize += prevsize;
H A Ddlmalloc.src2513 INTERNAL_SIZE_T prevsize; /* its size */
2598 prevsize = chunksize(prev);
2607 if ((long)(nextsize + prevsize + newsize) >= (long)(nb + MINSIZE))
2611 newsize += prevsize + nextsize;
2622 else if (((long)(nextsize + prevsize + newsize) >= (long)(nb)))
2627 newsize += nextsize + prevsize;
2635 if (prev != 0 && (long)(prevsize + newsize) >= (long)nb)
2639 newsize += prevsize;