Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A Ddlmalloc.c3290 mchunkptr oldfirst = align_as_chunk(oldbase); in prepend_alloc() local
3291 size_t psize = (char*)oldfirst - (char*)p; in prepend_alloc()
3296 assert((char*)oldfirst > (char*)q); in prepend_alloc()
3297 assert(pinuse(oldfirst)); in prepend_alloc()
3301 if (oldfirst == m->top) { in prepend_alloc()
3307 else if (oldfirst == m->dv) { in prepend_alloc()
3313 if (!cinuse(oldfirst)) { in prepend_alloc()
3314 size_t nsize = chunksize(oldfirst); in prepend_alloc()
3315 unlink_chunk(m, oldfirst, nsize); in prepend_alloc()
3316 oldfirst = chunk_plus_offset(oldfirst, nsize); in prepend_alloc()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A Ddlmalloc.c3873 mchunkptr oldfirst = align_as_chunk(oldbase); in prepend_alloc() local
3874 size_t psize = (char*)oldfirst - (char*)p; in prepend_alloc()
3879 assert((char*)oldfirst > (char*)q); in prepend_alloc()
3880 assert(pinuse(oldfirst)); in prepend_alloc()
3884 if (oldfirst == m->top) { in prepend_alloc()
3890 else if (oldfirst == m->dv) { in prepend_alloc()
3896 if (!is_inuse(oldfirst)) { in prepend_alloc()
3897 size_t nsize = chunksize(oldfirst); in prepend_alloc()
3898 unlink_chunk(m, oldfirst, nsize); in prepend_alloc()
3899 oldfirst = chunk_plus_offset(oldfirst, nsize); in prepend_alloc()
[all …]