Searched refs:last_alloc_size (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib/
H A Dmempool-alloconly.c33 size_t last_alloc_size; member in struct:pool_block
153 new_apool->block->last_alloc_size = 0;
290 apool->block->last_alloc_size = alloc_size;
308 apool->block->last_alloc_size) == mem) {
309 memset(mem, 0, apool->block->last_alloc_size);
310 apool->block->left += apool->block->last_alloc_size;
311 apool->block->last_alloc_size = 0;
320 apool->block->last_alloc_size) == mem) {
322 if (apool->block->left >= size-apool->block->last_alloc_size) {
325 size - apool->block->last_alloc_size;
[all...]
H A Ddata-stack.c54 size_t last_alloc_size[BLOCK_FRAME_COUNT]; member in struct:stack_frame_block
169 current_frame_block->last_alloc_size[frame_pos] = 0;
403 current_frame_block->last_alloc_size[frame_pos] = alloc_size;
473 size_t debug_adjust = 0, last_alloc_size; local
480 last_alloc_size = current_frame_block->last_alloc_size[frame_pos];
487 if (after_last_alloc - last_alloc_size + debug_adjust == mem) {
492 alloc_growth = (new_alloc_size - last_alloc_size);
496 i_assert(ALLOC_SIZE(old_raw_size) == last_alloc_size);
507 current_frame_block->last_alloc_size[frame_po
[all...]

Completed in 13 milliseconds