vdo_allocate
int result = vdo_allocate(1, __func__, &manager);
result = vdo_allocate(cache->page_count, "page infos", &cache->infos);
result = vdo_allocate(forest->segments, "forest boundary array", &forest->boundaries);
result = vdo_allocate(forest->segments, "forest page pointers", &forest->pages);
result = vdo_allocate(new_pages, "new forest pages", &forest->pages[index]);
result = vdo_allocate(forest->segments, "tree root segments", &tree->segments);
result = vdo_allocate(LOCK_POOL_CAPACITY, "hash_lock array", &zone->lock_array);
result = vdo_allocate(substring_count + 1, "string-splitting array", &substrings);
result = vdo_allocate(length + 1, "split string",
result = vdo_allocate(length + 1, "split string", &substrings[current_substring]);
result = vdo_allocate(string_length, __func__, &output);
result = vdo_allocate(1, "device_config", &config);
result = vdo_allocate(1, __func__, &partition);
int result = vdo_allocate(1, __func__, &flush);
int result = vdo_allocate(1, __func__, &vdo->flusher);
result = vdo_allocate(1, "funnel queue", &queue);
result = vdo_allocate(1, "simple work queue", &queue);
result = vdo_allocate(1, "round-robin work queue", &queue);
result = vdo_allocate(thread_count, "subordinate work queues", &queue->service_queues);
result = vdo_allocate(1, "open chapter index", &index);
result = vdo_allocate(1, __func__, &config);
result = vdo_allocate(DELTA_LIST_MAX_BYTE_COUNT, __func__, &data);
result = vdo_allocate(size, "delta list", &delta_zone->memory);
result = vdo_allocate(list_count + 2, "delta list temp", &delta_zone->new_offsets);
result = vdo_allocate(list_count + 2, "delta lists", &delta_zone->delta_lists);
result = vdo_allocate(zone_count, "Delta Index Zones", &delta_index->delta_zones);
result = vdo_allocate(1, __func__, &queue);
result = vdo_allocate(1, "geometry", &geometry);
result = vdo_allocate(saved_size, "super block data", &buffer);
result = vdo_allocate(layout->super.max_saves, __func__, &layout->index.saves);
result = vdo_allocate(1, __func__, &layout);
result = vdo_allocate(table->encoded_size, "index save data", &buffer);
result = vdo_allocate(table->encoded_size, "layout data", &buffer);
result = vdo_allocate(sizes.save_count, __func__, &layout->index.saves);
result = vdo_allocate(saved_size, "page map data", &buffer);
result = vdo_allocate(saved_size, "page map data", &buffer);
result = vdo_allocate(1, "page map", &map);
result = vdo_allocate(get_entry_count(geometry), "Index Page Map Entries",
result = vdo_allocate(1, __func__, &session);
result = vdo_allocate(1, "index zone", &zone);
result = vdo_allocate(index->zone_count, "zones", &index->zones);
result = vdo_allocate(1, __func__, &request);
result = vdo_allocate(1, "buffered reader", &reader);
result = vdo_allocate(1, "buffered writer", &writer);
result = vdo_allocate(1, __func__, &factory);
result = vdo_allocate(chapter->index_pages_count, __func__, &chapter->index_pages);
return vdo_allocate(chapter->index_pages_count, "sparse index volume pages",
result = vdo_allocate(capacity * 2, "scratch entries", &cache->scratch_entries);
result = vdo_allocate(params.list_count, "first chapter to flush",
return vdo_allocate(zone_count, "volume index zones", &sub_index->zones);
result = vdo_allocate(1, "volume index", &volume_index);
result = vdo_allocate(config->zone_count, "volume index zones", &volume_index->zones);
result = vdo_allocate(VOLUME_CACHE_MAX_QUEUED_READS, "volume read queue",
result = vdo_allocate(cache->zone_count, "Volume Cache Zones",
result = vdo_allocate(cache->indexable_pages, "page cache index", &cache->index);
result = vdo_allocate(cache->cache_slots, "page cache cache", &cache->cache);
result = vdo_allocate(1, "volume", &volume);
result = vdo_allocate(geometry->records_per_page, "record pointers",
result = vdo_allocate(config->read_threads, "reader threads", &volume->reader_threads);
return vdo_allocate(map->bucket_count, "struct int_map buckets", &map->buckets);
result = vdo_allocate(1, "struct int_map", &map);
if (vdo_allocate(1, __func__, &block) == VDO_SUCCESS) {
result = vdo_allocate(size, what, &temp_ptr);
result = vdo_allocate(strlen(string) + 1, what, &dup);
result = vdo_allocate(1, __func__, &stats);
result = vdo_allocate(1, __func__, &packer);
result = vdo_allocate(journal->size, __func__, &counter->journal_counters);
result = vdo_allocate(journal->size, __func__, &counter->journal_decrement_counts);
result = vdo_allocate(journal->size * config->logical_zone_count, __func__,
result = vdo_allocate(journal->size, __func__, &counter->logical_zone_counts);
result = vdo_allocate(journal->size * config->physical_zone_count, __func__,
result = vdo_allocate(journal->size, __func__, &counter->physical_zone_counts);
result = vdo_allocate(VDO_BLOCK_SIZE, __func__, &data);
result = vdo_allocate(count, __func__, &repair->entries);
result = vdo_allocate(repair->entry_count, __func__, &repair->entries);
result = vdo_allocate(remaining * VDO_BLOCK_SIZE, __func__, &repair->journal_data);
result = vdo_allocate(vio_count, __func__, &repair->vios);
result = vdo_allocate(slab->reference_block_count, __func__, &slab->reference_blocks);
result = vdo_allocate(bytes, "ref counts array", &slab->counters);
result = vdo_allocate(allocator->slab_count, __func__, &statuses);
result = vdo_allocate(slab_config->slab_journal_blocks, __func__, &journal->locks);
result = vdo_allocate(1, "struct packed_slab_journal_block", &journal->block);
result = vdo_allocate(1, __func__, &slab);
result = vdo_allocate(slab_count, "slab pointer array", &depot->new_slabs);
result = vdo_allocate(VDO_BLOCK_SIZE * slab_journal_size, __func__, &journal_data);
result = vdo_allocate(VDO_BLOCK_SIZE, __func__, &block->outgoing_entries);
result = vdo_allocate(VDO_SLAB_SUMMARY_BLOCKS_PER_ZONE, __func__,
result = vdo_allocate(MAXIMUM_VDO_SLAB_SUMMARY_ENTRIES, __func__,
result = vdo_allocate(1, __func__, &thread);
result = vdo_allocate(1, __func__, &read_only_listener);
result = vdo_allocate(config->logical_zone_count, "logical thread array",
result = vdo_allocate(config->physical_zone_count, "physical thread array",
result = vdo_allocate(config->hash_zone_count, "hash thread array",
result = vdo_allocate(config->bio_thread_count, "bio thread array", &config->bio_threads);
result = vdo_allocate(VDO_BLOCK_SIZE, "encoded geometry block",
result = vdo_allocate(VDO_BLOCK_SIZE, "encoded super block",
result = vdo_allocate(config->thread_counts.cpu_threads, "LZ4 context",
result = vdo_allocate(LZ4_MEM_COMPRESS, "LZ4 context",
result = vdo_allocate(1, __func__, &vdo);
result = vdo_allocate(vdo->thread_config.thread_count, __func__, &vdo->threads);
result = vdo_allocate(1, __func__, &vio);
result = vdo_allocate(pool_size * per_vio_size, "VIO pool buffer", &pool->buffer);