Home
last modified time | relevance | path

Searched refs:oldmem (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/common/
H A Ddlmalloc.c1647 Void_t* rEALLOc(Void_t* oldmem, size_t bytes) in rEALLOc() argument
1649 Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes; in rEALLOc()
1675 fREe(oldmem);
1683 if (oldmem == NULL) return mALLOc(bytes);
1692 newp = oldp = mem2chunk(oldmem);
1706 if(oldsize - SIZE_SZ >= nb) return oldmem; /* do nothing */
1711 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
1776 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
1792 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
1804 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
[all …]
H A Ddlmalloc.src2495 Void_t* rEALLOc(Void_t* oldmem, size_t bytes)
2497 Void_t* rEALLOc(oldmem, bytes) Void_t* oldmem; size_t bytes;
2502 mchunkptr oldp; /* chunk corresponding to oldmem */
2522 if (bytes == 0) { fREe(oldmem); return 0; }
2528 if (oldmem == 0) return mALLOc(bytes);
2530 newp = oldp = mem2chunk(oldmem);
2544 if(oldsize - SIZE_SZ >= nb) return oldmem; /* do nothing */
2548 MALLOC_COPY(newmem, oldmem, oldsize - 2*SIZE_SZ);
2613 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
2629 MALLOC_COPY(newmem, oldmem, oldsize - SIZE_SZ);
[all …]
/openbmc/linux/drivers/media/dvb-core/
H A Ddmxdev.c284 void *oldmem; in dvb_dvr_set_buffer_size() local
297 oldmem = buf->data; in dvb_dvr_set_buffer_size()
307 vfree(oldmem); in dvb_dvr_set_buffer_size()
325 void *oldmem; in dvb_dmxdev_set_buffer_size() local
338 oldmem = buf->data; in dvb_dmxdev_set_buffer_size()
348 vfree(oldmem); in dvb_dmxdev_set_buffer_size()
/openbmc/linux/Documentation/admin-guide/
H A Ddevices.txt18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore