Lines Matching refs:prev
587 block_header_t * prev = block->prev_free; in remove_free_block() local
589 tlsf_assert(prev && "prev_free field can not be null"); in remove_free_block()
591 next->prev_free = prev; in remove_free_block()
592 prev->next_free = next; in remove_free_block()
675 static block_header_t * block_absorb(block_header_t * prev, block_header_t * block) in block_absorb() argument
677 tlsf_assert(!block_is_last(prev) && "previous block can't be last"); in block_absorb()
679 prev->size += block_size(block) + block_header_overhead; in block_absorb()
680 block_link_next(prev); in block_absorb()
681 return prev; in block_absorb()
688 block_header_t * prev = block_prev(block); in block_merge_prev() local
689 tlsf_assert(prev && "prev physical block can't be null"); in block_merge_prev()
690 tlsf_assert(block_is_free(prev) && "prev block is not free though marked as such"); in block_merge_prev()
691 block_remove(control, prev); in block_merge_prev()
692 block = block_absorb(prev, block); in block_merge_prev()