Lines Matching refs:next
455 block_header_t * next = offset_to_block(block_to_ptr(block), in block_next() local
458 return next; in block_next()
464 block_header_t * next = block_next(block); in block_link_next() local
465 next->prev_phys_block = block; in block_link_next()
466 return next; in block_link_next()
472 block_header_t * next = block_link_next(block); in block_mark_as_free() local
473 block_set_prev_free(next); in block_mark_as_free()
479 block_header_t * next = block_next(block); in block_mark_as_used() local
480 block_set_prev_used(next); in block_mark_as_used()
588 block_header_t * next = block->next_free; in remove_free_block() local
590 tlsf_assert(next && "next_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()
596 control->blocks[fl][sl] = next; in remove_free_block()
599 if(next == &control->block_null) { in remove_free_block()
701 block_header_t * next = block_next(block); in block_merge_next() local
702 tlsf_assert(next && "next physical block can't be null"); in block_merge_next()
704 if(block_is_free(next)) { in block_merge_next()
706 block_remove(control, next); in block_merge_next()
707 block = block_absorb(block, next); in block_merge_next()
970 block_header_t * next; in lv_tlsf_add_pool() local
1006 next = block_link_next(block); in lv_tlsf_add_pool()
1007 block_set_size(next, 0); in lv_tlsf_add_pool()
1008 block_set_used(next); in lv_tlsf_add_pool()
1009 block_set_prev_free(next); in lv_tlsf_add_pool()
1205 block_header_t * next = block_next(block); in lv_tlsf_realloc() local
1208 const size_t combined = cursize + block_size(next) + block_header_overhead; in lv_tlsf_realloc()
1221 if(adjust > cursize && (!block_is_free(next) || adjust > combined)) { in lv_tlsf_realloc()