| /drivers/md/dm-vdo/ |
| A D | vdo.c | 170 memset(config, 0, sizeof(struct thread_config)); in uninitialize_thread_config() 192 struct thread_config *config) in initialize_thread_config() 335 static void get_thread_name(const struct thread_config *thread_config, in get_thread_name() argument 338 if (thread_id == thread_config->journal_thread) { in get_thread_name() 370 thread_config->logical_zone_count, in get_thread_name() 375 thread_config->physical_zone_count, in get_thread_name() 380 thread_config->hash_zone_count, in get_thread_name() 385 thread_config->bio_thread_count, in get_thread_name() 1059 vdo->thread_config.admin_thread); in vdo_enable_read_only_entry() 1391 vdo->thread_config.packer_thread, in vdo_set_compressing() [all …]
|
| A D | logical-zone.c | 62 if (zone_number < vdo->thread_config.logical_zone_count - 1) in initialize_zone() 69 zone->thread_id = vdo->thread_config.logical_threads[zone_number]; in initialize_zone() 74 allocation_zone_number = zone->thread_id % vdo->thread_config.physical_zone_count; in initialize_zone() 92 zone_count_t zone_count = vdo->thread_config.logical_zone_count; in vdo_make_logical_zones() 113 vdo->thread_config.admin_thread, zones, NULL, in vdo_make_logical_zones()
|
| A D | data-vio.h | 520 thread_id_t journal_thread = vdo_from_data_vio(data_vio)->thread_config.journal_thread; in assert_data_vio_in_journal_zone() 532 thread_id_t journal_thread = vdo_from_data_vio(data_vio)->thread_config.journal_thread; in set_data_vio_journal_callback() 550 thread_id_t packer_thread = vdo_from_data_vio(data_vio)->thread_config.packer_thread; in assert_data_vio_in_packer_zone() 562 thread_id_t packer_thread = vdo_from_data_vio(data_vio)->thread_config.packer_thread; in set_data_vio_packer_callback() 580 thread_id_t cpu_thread = vdo_from_data_vio(data_vio)->thread_config.cpu_thread; in assert_data_vio_on_cpu_thread() 592 thread_id_t cpu_thread = vdo_from_data_vio(data_vio)->thread_config.cpu_thread; in set_data_vio_cpu_callback() 645 vdo->thread_config.bio_ack_thread); in launch_data_vio_on_bio_ack_queue()
|
| A D | flush.c | 143 vdo->flusher->thread_id = vdo->thread_config.packer_thread; in vdo_make_flusher() 380 completion->vdo->thread_config.packer_thread, NULL); in launch_flush() 494 zone_count_t bio_threads = flusher->vdo->thread_config.bio_thread_count; in select_bio_queue() 498 return vdo->thread_config.bio_threads[0]; in select_bio_queue() 508 return vdo->thread_config.bio_threads[flusher->bio_queue_rotor]; in select_bio_queue()
|
| A D | completion.c | 114 if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count, in vdo_enqueue_completion() 117 vdo->thread_config.thread_count) != VDO_SUCCESS) in vdo_enqueue_completion()
|
| A D | vdo.h | 127 struct thread_config { struct 187 struct thread_config thread_config; member
|
| A D | physical-zone.c | 342 zone->thread_id = vdo->thread_config.physical_threads[zone_number]; in initialize_zone() 344 zone->next = &zones->zones[(zone_number + 1) % vdo->thread_config.physical_zone_count]; in initialize_zone() 365 zone_count_t zone_count = vdo->thread_config.physical_zone_count; in vdo_make_physical_zones()
|
| A D | repair.c | 207 const struct thread_config *thread_config = &completion->vdo->thread_config; in prepare_repair_completion() local 212 thread_config->logical_threads[0] : in prepare_repair_completion() 213 thread_config->admin_thread); in prepare_repair_completion() 1686 continue_vio_after_io(vio, finish_journal_load, vdo->thread_config.admin_thread); in read_journal_endio()
|
| A D | io-submitter.c | 419 result = vdo_make_thread(vdo, vdo->thread_config.bio_threads[i], in vdo_make_io_submitter() 433 bio_queue_data->queue = vdo->threads[vdo->thread_config.bio_threads[i]].queue; in vdo_make_io_submitter()
|
| A D | vio.h | 58 return vio->completion.vdo->thread_config.bio_threads[vio->bio_zone]; in get_vio_bio_zone_thread_id()
|
| A D | dump.c | 72 for (id = 0; id < vdo->thread_config.thread_count; id++) in do_dump()
|
| A D | slab-depot.c | 4068 .thread_id = vdo->thread_config.physical_threads[zone], in initialize_block_allocator() 4151 const struct thread_config *thread_config = &depot->vdo->thread_config; in allocate_components() local 4154 thread_config->journal_thread, depot, in allocate_components() 4191 if (thread_config->physical_zone_count > slab_count) { in allocate_components() 4194 thread_config->physical_zone_count, in allocate_components() 4256 vdo->thread_config.physical_zone_count, in vdo_decode_slab_depot() 4263 depot->zone_count = vdo->thread_config.physical_zone_count; in vdo_decode_slab_depot() 4547 vdo->thread_config.admin_thread); in write_summary_endio() 4614 vdo->thread_config.admin_thread); in load_summary_endio()
|
| A D | dedupe.c | 2204 result = vdo_make_thread(vdo, vdo->thread_config.dedupe_thread, &uds_queue_type, in initialize_index() 2214 vdo->thread_config.dedupe_thread); in initialize_index() 2360 zone->thread_id = vdo->thread_config.hash_zone_threads[zone_number]; in initialize_zone() 2414 zone_count_t zone_count = vdo->thread_config.hash_zone_count; in vdo_make_hash_zones() 2442 vdo->thread_config.admin_thread, zones, NULL, in vdo_make_hash_zones()
|
| A D | dm-vdo-target.c | 1155 return vdo->thread_config.packer_thread; in get_thread_id_for_phase() 1159 return vdo->thread_config.cpu_thread; in get_thread_id_for_phase() 1164 return vdo->thread_config.journal_thread; in get_thread_id_for_phase() 1167 return vdo->thread_config.admin_thread; in get_thread_id_for_phase() 2288 vdo->thread_config.admin_thread)) in handle_load_error()
|
| A D | recovery-journal.c | 591 struct thread_config *config = &vdo->thread_config; in initialize_lock_counter() 723 journal->thread_id = vdo->thread_config.journal_thread; in vdo_decode_recovery_journal()
|
| A D | data-vio.c | 866 process_release_callback, vdo->thread_config.cpu_thread, in make_data_vio_pool() 1002 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.cpu_thread), in assert_on_vdo_cpu_thread() 1907 (vdo_get_callback_thread_id() == vdo->thread_config.bio_ack_thread)), in acknowledge_write_callback()
|
| A D | packer.c | 153 packer->thread_id = vdo->thread_config.packer_thread; in vdo_make_packer()
|
| A D | block-map.c | 2726 zone->thread_id = vdo->thread_config.logical_threads[zone_number]; in initialize_block_map_zone() 2872 vdo->thread_config.logical_zone_count, in vdo_decode_block_map() 2892 map->zone_count = vdo->thread_config.logical_zone_count; in vdo_decode_block_map()
|