Home | History | Annotate | Download | only in src

Lines Matching defs:rsize

3451     size_t rsize = granularity_align(req);
3452 if (rsize > nb) { /* Fail if wraps around zero */
3453 char* mp = (char*)(CALL_MMAP(rsize));
3456 tsize = rsize;
3535 size_t rsize = m->topsize -= nb;
3538 r->head = rsize | PINUSE_BIT;
3661 size_t rsize = -nb; /* Unsigned negation */
3673 if (trem < rsize) {
3675 if ((rsize = trem) == 0)
3702 if (trem < rsize) {
3703 rsize = trem;
3710 if (v != 0 && rsize < (size_t)(m->dvsize - nb)) {
3713 assert(chunksize(v) == rsize + nb);
3716 if (rsize < MIN_CHUNK_SIZE)
3717 set_inuse_and_pinuse(m, v, (rsize + nb));
3720 set_size_and_pinuse_of_free_chunk(r, rsize);
3721 insert_chunk(m, r, rsize);
3734 size_t rsize;
3740 rsize = chunksize(t) - nb;
3744 if (trem < rsize) {
3745 rsize = trem;
3752 assert(chunksize(v) == rsize + nb);
3755 if (rsize < MIN_CHUNK_SIZE)
3756 set_inuse_and_pinuse(m, v, (rsize + nb));
3759 set_size_and_pinuse_of_free_chunk(r, rsize);
3760 replace_dv(m, r, rsize);
3792 size_t rsize = oldsize - nb;
3794 if (rsize >= MIN_CHUNK_SIZE) {
3797 set_inuse(m, remainder, rsize);
4111 size_t rsize;
4120 rsize = small_index2size(i) - nb;
4122 if (SIZE_T_SIZE != 4 && rsize < MIN_CHUNK_SIZE)
4127 set_size_and_pinuse_of_free_chunk(r, rsize);
4128 replace_dv(gm, r, rsize);
4152 size_t rsize = gm->dvsize - nb;
4154 if (rsize >= MIN_CHUNK_SIZE) { /* split dv */
4156 gm->dvsize = rsize;
4157 set_size_and_pinuse_of_free_chunk(r, rsize);
4172 size_t rsize = gm->topsize -= nb;
4175 r->head = rsize | PINUSE_BIT;
4518 size_t rsize;
4527 rsize = small_index2size(i) - nb;
4529 if (SIZE_T_SIZE != 4 && rsize < MIN_CHUNK_SIZE)
4534 set_size_and_pinuse_of_free_chunk(r, rsize);
4535 replace_dv(ms, r, rsize);
4559 size_t rsize = ms->dvsize - nb;
4561 if (rsize >= MIN_CHUNK_SIZE) { /* split dv */
4563 ms->dvsize = rsize;
4564 set_size_and_pinuse_of_free_chunk(r, rsize);
4579 size_t rsize = ms->topsize -= nb;
4582 r->head = rsize | PINUSE_BIT;