| /linux/drivers/md/dm-vdo/ |
| A D | vdo.c | 178 memset(config, 0, sizeof(struct thread_config)); in uninitialize_thread_config() 200 struct thread_config *config) in initialize_thread_config() 343 static void get_thread_name(const struct thread_config *thread_config, in get_thread_name() argument 346 if (thread_id == thread_config->journal_thread) { in get_thread_name() 378 thread_config->logical_zone_count, in get_thread_name() 383 thread_config->physical_zone_count, in get_thread_name() 388 thread_config->hash_zone_count, in get_thread_name() 393 thread_config->bio_thread_count, in get_thread_name() 1068 vdo->thread_config.admin_thread); in vdo_enable_read_only_entry() 1400 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 | 525 thread_id_t journal_thread = vdo_from_data_vio(data_vio)->thread_config.journal_thread; in assert_data_vio_in_journal_zone() 537 thread_id_t journal_thread = vdo_from_data_vio(data_vio)->thread_config.journal_thread; in set_data_vio_journal_callback() 555 thread_id_t packer_thread = vdo_from_data_vio(data_vio)->thread_config.packer_thread; in assert_data_vio_in_packer_zone() 567 thread_id_t packer_thread = vdo_from_data_vio(data_vio)->thread_config.packer_thread; in set_data_vio_packer_callback() 585 thread_id_t cpu_thread = vdo_from_data_vio(data_vio)->thread_config.cpu_thread; in assert_data_vio_on_cpu_thread() 597 thread_id_t cpu_thread = vdo_from_data_vio(data_vio)->thread_config.cpu_thread; in set_data_vio_cpu_callback() 650 vdo->thread_config.bio_ack_thread); in launch_data_vio_on_bio_ack_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 | 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 | 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 | io-submitter.c | 417 result = vdo_make_thread(vdo, vdo->thread_config.bio_threads[i], in vdo_make_io_submitter() 431 bio_queue_data->queue = vdo->threads[vdo->thread_config.bio_threads[i]].queue; in vdo_make_io_submitter()
|
| 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 | vio.h | 56 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 | 4000 .thread_id = vdo->thread_config.physical_threads[zone], in initialize_block_allocator() 4071 const struct thread_config *thread_config = &depot->vdo->thread_config; in allocate_components() local 4074 thread_config->journal_thread, depot, in allocate_components() 4111 if (thread_config->physical_zone_count > slab_count) { in allocate_components() 4114 thread_config->physical_zone_count, in allocate_components() 4176 vdo->thread_config.physical_zone_count, in vdo_decode_slab_depot() 4183 depot->zone_count = vdo->thread_config.physical_zone_count; in vdo_decode_slab_depot() 4466 vdo->thread_config.admin_thread); in write_summary_endio() 4533 vdo->thread_config.admin_thread); in load_summary_endio()
|
| A D | dedupe.c | 2203 result = vdo_make_thread(vdo, vdo->thread_config.dedupe_thread, &uds_queue_type, in initialize_index() 2213 vdo->thread_config.dedupe_thread); in initialize_index() 2359 zone->thread_id = vdo->thread_config.hash_zone_threads[zone_number]; in initialize_zone() 2413 zone_count_t zone_count = vdo->thread_config.hash_zone_count; in vdo_make_hash_zones() 2441 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 | 865 process_release_callback, vdo->thread_config.cpu_thread, in make_data_vio_pool() 1001 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.cpu_thread), in assert_on_vdo_cpu_thread() 1935 (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 | 2729 zone->thread_id = vdo->thread_config.logical_threads[zone_number]; in initialize_block_map_zone() 2875 vdo->thread_config.logical_zone_count, in vdo_decode_block_map() 2895 map->zone_count = vdo->thread_config.logical_zone_count; in vdo_decode_block_map()
|