Searched refs:prev_end_offset (Results 1 – 1 of 1) sorted by relevance
90 unsigned long prev_end_offset = 0; in shm_alloc_space_alloc_block() local96 max_size = item->offset - prev_end_offset; in shm_alloc_space_alloc_block()101 prev_end_offset = item->offset + item->size; in shm_alloc_space_alloc_block()107 assert (prev_end_offset <= self->size); in shm_alloc_space_alloc_block()108 if (!item && self->size - prev_end_offset < size) in shm_alloc_space_alloc_block()113 block->offset = prev_end_offset; in shm_alloc_space_alloc_block()