Home
last modified time | relevance | path

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

/linux/drivers/md/dm-vdo/
H A Dvdo.c167 static void uninitialize_thread_config(struct thread_config *config) in uninitialize_thread_config()
173 memset(config, 0, sizeof(struct thread_config)); in uninitialize_thread_config()
176 static void assign_thread_ids(struct thread_config *config, in assign_thread_ids()
197 struct thread_config *config) in initialize_thread_config()
318 static void get_thread_name(const struct thread_config *thread_config, in get_thread_name() argument
321 if (thread_id == thread_config->journal_thread) { in get_thread_name()
322 if (thread_config->packer_thread == thread_id) { in get_thread_name()
334 } else if (thread_id == thread_config->admin_thread) { in get_thread_name()
338 } else if (thread_id == thread_config->packer_thread) { in get_thread_name()
341 } else if (thread_id == thread_config->dedupe_thread) { in get_thread_name()
[all …]
H A Dcompletion.c117 if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count, in vdo_enqueue_completion()
120 vdo->thread_config.thread_count) != VDO_SUCCESS) in vdo_enqueue_completion()
H A Dvio.h58 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()