Searched refs:thread_config (Results 1 – 8 of 8) sorted by relevance
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()
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()
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()
127 struct thread_config { struct187 struct thread_config thread_config; member
207 const struct thread_config *thread_config = &completion->vdo->thread_config; in prepare_repair_completion() local212 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()
56 return vio->completion.vdo->thread_config.bio_threads[vio->bio_zone]; in get_vio_bio_zone_thread_id()
72 for (id = 0; id < vdo->thread_config.thread_count; id++) in do_dump()
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()