Home
last modified time | relevance | path

Searched refs:to_borrow_from (Results 1 – 2 of 2) sorted by relevance

/hardware/google/aemu/base/include/aemu/base/
Daddress_space.h204 struct address_block *to_borrow_from = &blocks[i]; in address_space_allocator_split_block() local
205 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() local
286 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 …]
/hardware/google/gfxstream/guest/android-emu/aemu/base/
Daddress_space.h178 struct address_block *to_borrow_from = &blocks[i]; in address_space_allocator_split_block() local
179 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()