Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/md/dm-vdo/indexer/
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()
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()
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()
Dvolume.c1510 result = vdo_allocate(VOLUME_CACHE_MAX_QUEUED_READS, struct queued_read, in initialize_page_cache()
1515 result = vdo_allocate(cache->zone_count, struct search_pending_counter, in initialize_page_cache()
1520 result = vdo_allocate(cache->indexable_pages, u16, "page cache index", in initialize_page_cache()
1525 result = vdo_allocate(cache->cache_slots, struct cached_page, "page cache cache", in initialize_page_cache()
1549 result = vdo_allocate(1, struct volume, "volume", &volume); in uds_make_volume()
1586 result = vdo_allocate(geometry->records_per_page, in uds_make_volume()
1627 result = vdo_allocate(config->read_threads, struct thread *, "reader threads", in uds_make_volume()
Dgeometry.c64 result = vdo_allocate(1, struct index_geometry, "geometry", &geometry); in uds_make_index_geometry()
Dfunnel-requestqueue.c201 result = vdo_allocate(1, struct uds_request_queue, __func__, &queue); in uds_make_request_queue()
Dindex-layout.c548 result = vdo_allocate(table->encoded_size, u8, "index save data", &buffer); in write_index_save_header()
718 result = vdo_allocate(table->encoded_size, u8, "layout data", &buffer); in write_layout_header()
808 result = vdo_allocate(sizes.save_count, struct index_save_layout, __func__, in create_index_layout()
1205 result = vdo_allocate(saved_size, u8, "super block data", &buffer); in read_super_block_data()
1339 result = vdo_allocate(layout->super.max_saves, struct index_save_layout, in reconstitute_layout()
1700 result = vdo_allocate(1, struct index_layout, __func__, &layout); in uds_make_index_layout()
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()
Dchapter-index.c23 result = vdo_allocate(1, struct open_chapter_index, "open chapter index", &index); in uds_make_open_chapter_index()
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()
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-6.12.1/drivers/md/dm-vdo/
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()
Dvdo.c216 result = vdo_allocate(config->logical_zone_count, thread_id_t, in initialize_thread_config()
223 result = vdo_allocate(config->physical_zone_count, thread_id_t, in initialize_thread_config()
230 result = vdo_allocate(config->hash_zone_count, thread_id_t, in initialize_thread_config()
237 result = vdo_allocate(config->bio_thread_count, thread_id_t, in initialize_thread_config()
278 result = vdo_allocate(VDO_BLOCK_SIZE, u8, __func__, &block); in read_geometry_block()
502 result = vdo_allocate(config->thread_counts.cpu_threads, char *, "LZ4 context", in initialize_vdo()
510 result = vdo_allocate(LZ4_MEM_COMPRESS, char, "LZ4 context", in initialize_vdo()
546 result = vdo_allocate(1, struct vdo, __func__, &vdo); in vdo_make()
564 result = vdo_allocate(vdo->thread_config.thread_count, in vdo_make()
734 result = vdo_allocate(VDO_BLOCK_SIZE, char, "encoded super block", in initialize_super_block()
[all …]
Dfunnel-workqueue.c326 result = vdo_allocate(1, struct simple_work_queue, "simple work queue", &queue); in make_simple_work_queue()
402 result = vdo_allocate(1, struct round_robin_work_queue, "round-robin work queue", in vdo_make_work_queue()
407 result = vdo_allocate(thread_count, struct simple_work_queue *, in vdo_make_work_queue()
Drecovery-journal.c594 result = vdo_allocate(journal->size, u16, __func__, &counter->journal_counters); in initialize_lock_counter()
598 result = vdo_allocate(journal->size, atomic_t, __func__, in initialize_lock_counter()
603 result = vdo_allocate(journal->size * config->logical_zone_count, u16, __func__, in initialize_lock_counter()
608 result = vdo_allocate(journal->size, atomic_t, __func__, in initialize_lock_counter()
613 result = vdo_allocate(journal->size * config->physical_zone_count, u16, __func__, in initialize_lock_counter()
618 result = vdo_allocate(journal->size, atomic_t, __func__, in initialize_lock_counter()
673 result = vdo_allocate(VDO_BLOCK_SIZE, char, __func__, &data); in initialize_recovery_block()
Dthread-utils.c59 result = vdo_allocate(1, struct thread, __func__, &thread); in vdo_create_thread()
Dfunnel-queue.c17 result = vdo_allocate(1, struct funnel_queue, "funnel queue", &queue); in vdo_make_funnel_queue()
Dmemory-alloc.h70 #define vdo_allocate(COUNT, TYPE, WHAT, PTR) \ macro
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()
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()
Dvio.c132 result = vdo_allocate(1, struct vio, __func__, &vio); in create_multi_block_metadata_vio()
328 result = vdo_allocate(pool_size * VDO_BLOCK_SIZE, char, in make_vio_pool()
Dslab-depot.c2370 result = vdo_allocate(slab->reference_block_count, struct reference_block, in allocate_slab_counters()
2380 result = vdo_allocate(bytes, vdo_refcount_t, "ref counts array", in allocate_slab_counters()
3488 result = vdo_allocate(allocator->slab_count, struct slab_status, __func__, in get_slab_statuses()
3664 result = vdo_allocate(slab_config->slab_journal_blocks, struct journal_lock, in initialize_slab_journal()
3669 result = vdo_allocate(VDO_BLOCK_SIZE, char, "struct packed_slab_journal_block", in initialize_slab_journal()
3725 result = vdo_allocate(1, struct vdo_slab, __func__, &slab); in make_slab()
3782 result = vdo_allocate(slab_count, struct vdo_slab *, in allocate_slabs()
3937 result = vdo_allocate(VDO_BLOCK_SIZE * slab_journal_size, in initialize_slab_scrubber()
3971 result = vdo_allocate(VDO_BLOCK_SIZE, char, __func__, &block->outgoing_entries); in initialize_slab_summary_block()
4027 result = vdo_allocate(VDO_SLAB_SUMMARY_BLOCKS_PER_ZONE, in initialize_block_allocator()
[all …]
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()
Daction-manager.c110 int result = vdo_allocate(1, struct action_manager, __func__, &manager); in vdo_make_action_manager()
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()

12