Searched refs:topsize (Results 1 – 1 of 1) sorted by relevance
/u-boot/lib/ |
A D | membuff.c | 236 int topsize, botsize; in membuff_makecontig() local 252 topsize = mb->end - mb->tail; in membuff_makecontig() 259 if (mb->head + topsize >= mb->tail) in membuff_makecontig() 261 memmove(mb->start + topsize, mb->start, botsize); in membuff_makecontig() 262 debug(" - memmove(%d, %d, %d)", topsize, 0, botsize); in membuff_makecontig() 266 topsize = mb->head - mb->tail; in membuff_makecontig() 271 memcpy(mb->start, mb->tail, topsize); in membuff_makecontig() 272 debug(" - memcpy(%d, %d, %d)", 0, (int)(mb->tail - mb->start), topsize); in membuff_makecontig() 276 mb->head = mb->start + topsize + botsize; in membuff_makecontig()
|
Completed in 3 milliseconds