Searched refs:to_borrow_from (Results 1 – 2 of 2) sorted by relevance
204 struct address_block *to_borrow_from = &blocks[i]; in address_space_allocator_split_block() local205 struct address_block *new_block = to_borrow_from + 1; in address_space_allocator_split_block()207 uint64_t new_size = to_borrow_from->size - size; in address_space_allocator_split_block()209 to_borrow_from->size = new_size; in address_space_allocator_split_block()211 new_block->offset = to_borrow_from->offset + new_size; in address_space_allocator_split_block()285 struct address_block *to_borrow_from = &blocks[i]; in address_space_allocator_split_block_at_offset() local286 struct address_block *new_block = to_borrow_from + 1; in address_space_allocator_split_block_at_offset()287 struct address_block *extra_block = to_borrow_from + 2; in address_space_allocator_split_block_at_offset()289 old_block_size = to_borrow_from->size; in address_space_allocator_split_block_at_offset()290 to_borrow_from->size = offset - to_borrow_from->offset; in address_space_allocator_split_block_at_offset()[all …]
178 struct address_block *to_borrow_from = &blocks[i]; in address_space_allocator_split_block() local179 struct address_block *new_block = to_borrow_from + 1; in address_space_allocator_split_block()181 uint64_t new_size = to_borrow_from->size - size; in address_space_allocator_split_block()183 to_borrow_from->size = new_size; in address_space_allocator_split_block()185 new_block->offset = to_borrow_from->offset + new_size; in address_space_allocator_split_block()