Home
last modified time | relevance | path

Searched refs:vdo_allocate (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/md/dm-vdo/indexer/
H A Dindex-page-map.c41 result = vdo_allocate(1, struct index_page_map, "page map", &map); in uds_make_index_page_map()
47 result = vdo_allocate(get_entry_count(geometry), u16, "Index Page Map Entries", in uds_make_index_page_map()
121 result = vdo_allocate(saved_size, u8, "page map data", &buffer); in uds_write_index_page_map()
148 result = vdo_allocate(saved_size, u8, "page map data", &buffer); in uds_read_index_page_map()
H A Dio-factory.c67 result = vdo_allocate(1, struct io_factory, __func__, &factory); in uds_make_io_factory()
147 result = vdo_allocate(1, struct buffered_reader, "buffered reader", &reader); in uds_make_buffered_reader()
285 result = vdo_allocate(1, struct buffered_writer, "buffered writer", &writer); in uds_make_buffered_writer()
H A Dsparse-cache.c225 result = vdo_allocate(chapter->index_pages_count, struct delta_index_page, in initialize_cached_chapter_index()
230 return vdo_allocate(chapter->index_pages_count, struct dm_buffer *, in initialize_cached_chapter_index()
297 result = vdo_allocate(capacity * 2, struct cached_chapter_index *, in uds_make_sparse_cache()
H A Dvolume.c1512 result = vdo_allocate(VOLUME_CACHE_MAX_QUEUED_READS, struct queued_read, in initialize_page_cache()
1517 result = vdo_allocate(cache->zone_count, struct search_pending_counter, in initialize_page_cache()
1522 result = vdo_allocate(cache->indexable_pages, u16, "page cache index", in initialize_page_cache()
1527 result = vdo_allocate(cache->cache_slots, struct cached_page, "page cache cache", in initialize_page_cache()
1551 result = vdo_allocate(1, struct volume, "volume", &volume); in uds_make_volume()
1588 result = vdo_allocate(geometry->records_per_page, in uds_make_volume()
1629 result = vdo_allocate(config->read_threads, struct thread *, "reader threads", in uds_make_volume()
H A Dgeometry.c64 result = vdo_allocate(1, struct index_geometry, "geometry", &geometry); in uds_make_index_geometry()
H A Dindex-layout.c523 result = vdo_allocate(table->encoded_size, u8, "index save data", &buffer); in write_index_save_header()
693 result = vdo_allocate(table->encoded_size, u8, "layout data", &buffer); in write_layout_header()
783 result = vdo_allocate(sizes.save_count, struct index_save_layout, __func__, in create_index_layout()
1180 result = vdo_allocate(saved_size, u8, "super block data", &buffer); in read_super_block_data()
1314 result = vdo_allocate(layout->super.max_saves, struct index_save_layout, in reconstitute_layout()
1675 result = vdo_allocate(1, struct index_layout, __func__, &layout); in uds_make_index_layout()
H A Dfunnel-requestqueue.c201 result = vdo_allocate(1, struct uds_request_queue, __func__, &queue); in uds_make_request_queue()
H A Dvolume-index.c1214 result = vdo_allocate(params.list_count, u64, "first chapter to flush", in initialize_volume_sub_index()
1219 return vdo_allocate(zone_count, struct volume_sub_index_zone, in initialize_volume_sub_index()
1231 result = vdo_allocate(1, struct volume_index, "volume index", &volume_index); in uds_make_volume_index()
1252 result = vdo_allocate(config->zone_count, struct volume_index_zone, in uds_make_volume_index()
H A Dchapter-index.c23 result = vdo_allocate(1, struct open_chapter_index, "open chapter index", &index); in uds_make_open_chapter_index()
H A Ddelta-index.c314 result = vdo_allocate(size, u8, "delta list", &delta_zone->memory); in initialize_delta_zone()
318 result = vdo_allocate(list_count + 2, u64, "delta list temp", in initialize_delta_zone()
324 result = vdo_allocate(list_count + 2, struct delta_list, "delta lists", in initialize_delta_zone()
355 result = vdo_allocate(zone_count, struct delta_zone, "Delta Index Zones", in uds_initialize_delta_index()
1050 result = vdo_allocate(DELTA_LIST_MAX_BYTE_COUNT, u8, __func__, &data); in uds_finish_restoring_delta_index()
H A Dindex.c91 result = vdo_allocate(1, struct uds_request, __func__, &request); in launch_zone_message()
1126 result = vdo_allocate(1, struct index_zone, "index zone", &zone); in make_index_zone()
1176 result = vdo_allocate(index->zone_count, struct index_zone *, "zones", in uds_make_index()
/linux/drivers/md/dm-vdo/
H A Dvdo.c210 result = vdo_allocate(config->logical_zone_count, thread_id_t, in initialize_thread_config()
217 result = vdo_allocate(config->physical_zone_count, thread_id_t, in initialize_thread_config()
224 result = vdo_allocate(config->hash_zone_count, thread_id_t, in initialize_thread_config()
231 result = vdo_allocate(config->bio_thread_count, thread_id_t, in initialize_thread_config()
272 result = vdo_allocate(VDO_BLOCK_SIZE, u8, __func__, &block); in read_geometry_block()
496 result = vdo_allocate(config->thread_counts.cpu_threads, char *, "LZ4 context", in initialize_vdo()
504 result = vdo_allocate(LZ4_MEM_COMPRESS, char, "LZ4 context", in initialize_vdo()
540 result = vdo_allocate(1, struct vdo, __func__, &vdo); in vdo_make()
557 result = vdo_allocate(vdo->thread_config.thread_count, in vdo_make()
727 result = vdo_allocate(VDO_BLOCK_SIZE, char, "encoded super block", in initialize_super_block()
[all …]
H A Dmemory-alloc.c248 if (vdo_allocate(1, struct vmalloc_block_info, __func__, &block) == VDO_SUCCESS) { in vdo_allocate_memory()
351 result = vdo_allocate(size, char, what, new_ptr); in vdo_reallocate_memory()
371 result = vdo_allocate(strlen(string) + 1, u8, what, &dup); in vdo_duplicate_string()
H A Drecovery-journal.c596 result = vdo_allocate(journal->size, u16, __func__, &counter->journal_counters); in initialize_lock_counter()
600 result = vdo_allocate(journal->size, atomic_t, __func__, in initialize_lock_counter()
605 result = vdo_allocate(journal->size * config->logical_zone_count, u16, __func__, in initialize_lock_counter()
610 result = vdo_allocate(journal->size, atomic_t, __func__, in initialize_lock_counter()
615 result = vdo_allocate(journal->size * config->physical_zone_count, u16, __func__, in initialize_lock_counter()
620 result = vdo_allocate(journal->size, atomic_t, __func__, in initialize_lock_counter()
675 result = vdo_allocate(VDO_BLOCK_SIZE, char, __func__, &data); in initialize_recovery_block()
H A Dfunnel-workqueue.c325 result = vdo_allocate(1, struct simple_work_queue, "simple work queue", &queue); in make_simple_work_queue()
408 result = vdo_allocate(1, struct round_robin_work_queue, "round-robin work queue", in vdo_make_work_queue()
413 result = vdo_allocate(thread_count, struct simple_work_queue *, in vdo_make_work_queue()
H A Dfunnel-queue.c17 result = vdo_allocate(1, struct funnel_queue, "funnel queue", &queue); in vdo_make_funnel_queue()
H A Dthread-utils.c59 result = vdo_allocate(1, struct thread, __func__, &thread); in vdo_create_thread()
H A Dint-map.c167 return vdo_allocate(map->bucket_count, struct bucket, in allocate_buckets()
185 result = vdo_allocate(1, struct int_map, "struct int_map", &map); in vdo_int_map_create()
H A Dmemory-alloc.h70 #define vdo_allocate(COUNT, TYPE, WHAT, PTR) \ macro
H A Dflush.c108 int result = vdo_allocate(1, struct vdo_flush, __func__, &flush); in allocate_flush()
137 int result = vdo_allocate(1, struct flusher, __func__, &vdo->flusher); in vdo_make_flusher()
H A Dvio.c132 result = vdo_allocate(1, struct vio, __func__, &vio); in create_multi_block_metadata_vio()
339 result = vdo_allocate(pool_size * per_vio_size, char, in make_vio_pool()
H A Dslab-depot.c2456 result = vdo_allocate(slab->reference_block_count, struct reference_block, in allocate_slab_counters()
2466 result = vdo_allocate(bytes, vdo_refcount_t, "ref counts array", in allocate_slab_counters()
3566 result = vdo_allocate(allocator->slab_count, struct slab_status, __func__, in get_slab_statuses()
3742 result = vdo_allocate(slab_config->slab_journal_blocks, struct journal_lock, in initialize_slab_journal()
3747 result = vdo_allocate(VDO_BLOCK_SIZE, char, "struct packed_slab_journal_block", in initialize_slab_journal()
3803 result = vdo_allocate(1, struct vdo_slab, __func__, &slab); in make_slab()
3860 result = vdo_allocate(slab_count, struct vdo_slab *, in allocate_slabs()
4014 result = vdo_allocate(VDO_BLOCK_SIZE * slab_journal_size, in initialize_slab_scrubber()
4048 result = vdo_allocate(VDO_BLOCK_SIZE, char, __func__, &block->outgoing_entries); in initialize_slab_summary_block()
4117 result = vdo_allocate(VDO_SLAB_SUMMARY_BLOCKS_PER_ZONE, in initialize_block_allocator()
[all …]
H A Drepair.c1420 result = vdo_allocate(count, struct numbered_block_mapping, __func__, in parse_journal_for_rebuild()
1467 result = vdo_allocate(repair->entry_count, struct numbered_block_mapping, in extract_new_mappings()
1732 result = vdo_allocate(remaining * VDO_BLOCK_SIZE, char, __func__, in vdo_repair()
1737 result = vdo_allocate(vio_count, struct vio, __func__, &repair->vios); in vdo_repair()
H A Ddm-vdo-target.c276 result = vdo_allocate(substring_count + 1, char *, "string-splitting array", in split_string()
285 result = vdo_allocate(length + 1, char, "split string", in split_string()
306 result = vdo_allocate(length + 1, char, "split string", in split_string()
335 result = vdo_allocate(string_length, char, __func__, &output); in join_strings()
729 result = vdo_allocate(1, struct device_config, "device_config", &config); in parse_device_config()
H A Daction-manager.c110 int result = vdo_allocate(1, struct action_manager, __func__, &manager); in vdo_make_action_manager()

12