Home
last modified time | relevance | path

Searched refs:thread_config (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dlogical-zone.c62 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()
H A Dflush.c143 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()
H A Dcompletion.c114 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()
H A Dvdo.h127 struct thread_config { struct
187 struct thread_config thread_config; member
H A Drepair.c207 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()
H A Dvio.h56 return vio->completion.vdo->thread_config.bio_threads[vio->bio_zone]; in get_vio_bio_zone_thread_id()
H A Ddump.c72 for (id = 0; id < vdo->thread_config.thread_count; id++) in do_dump()
H A Ddm-vdo-target.c1155 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()