Lines Matching full:length
18 uint32_t length; local
43 free_list->length = FINSH_HEAP_MAX - sizeof(struct finsh_block_header); in finsh_heap_init()
62 ((header != NULL) && (header->length <= size + sizeof(struct finsh_block_header))); in finsh_heap_allocate()
71 ((header != NULL) && (header->length < size + sizeof(struct finsh_block_header))); in finsh_heap_allocate()
222 next->length = header->length - sizeof(struct finsh_block_header) - size; in finsh_block_split()
223 header->length = size; in finsh_block_split()
251 ((uint8_t*)prev_node + prev_node->length + sizeof(struct finsh_block_header) in finsh_block_merge()
256 ((uint8_t*)header + header->length + sizeof(struct finsh_block_header) in finsh_block_merge()
260 prev_node->length += header->length + next_node->length + in finsh_block_merge()
267 prev_node->length += header->length + sizeof(struct finsh_block_header); in finsh_block_merge()
273 ((uint8_t*)header + header->length + sizeof(struct finsh_block_header) in finsh_block_merge()
276 header->length += next_node->length + sizeof(struct finsh_block_header); in finsh_block_merge()