Symbol: thread_config
drivers/md/dm-vdo/block-map.c
2758
zone->thread_id = vdo->thread_config.logical_threads[zone_number];
drivers/md/dm-vdo/block-map.c
2904
vdo->thread_config.logical_zone_count,
drivers/md/dm-vdo/block-map.c
2924
map->zone_count = vdo->thread_config.logical_zone_count;
drivers/md/dm-vdo/completion.c
117
if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count,
drivers/md/dm-vdo/completion.c
120
vdo->thread_config.thread_count) != VDO_SUCCESS)
drivers/md/dm-vdo/data-vio.c
1001
VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.cpu_thread),
drivers/md/dm-vdo/data-vio.c
1923
(vdo_get_callback_thread_id() == vdo->thread_config.bio_ack_thread)),
drivers/md/dm-vdo/data-vio.c
862
process_release_callback, vdo->thread_config.cpu_thread,
drivers/md/dm-vdo/data-vio.h
520
thread_id_t journal_thread = vdo_from_data_vio(data_vio)->thread_config.journal_thread;
drivers/md/dm-vdo/data-vio.h
532
thread_id_t journal_thread = vdo_from_data_vio(data_vio)->thread_config.journal_thread;
drivers/md/dm-vdo/data-vio.h
550
thread_id_t packer_thread = vdo_from_data_vio(data_vio)->thread_config.packer_thread;
drivers/md/dm-vdo/data-vio.h
562
thread_id_t packer_thread = vdo_from_data_vio(data_vio)->thread_config.packer_thread;
drivers/md/dm-vdo/data-vio.h
580
thread_id_t cpu_thread = vdo_from_data_vio(data_vio)->thread_config.cpu_thread;
drivers/md/dm-vdo/data-vio.h
592
thread_id_t cpu_thread = vdo_from_data_vio(data_vio)->thread_config.cpu_thread;
drivers/md/dm-vdo/data-vio.h
645
vdo->thread_config.bio_ack_thread);
drivers/md/dm-vdo/dedupe.c
2206
result = vdo_make_thread(vdo, vdo->thread_config.dedupe_thread, &uds_queue_type,
drivers/md/dm-vdo/dedupe.c
2216
vdo->thread_config.dedupe_thread);
drivers/md/dm-vdo/dedupe.c
2362
zone->thread_id = vdo->thread_config.hash_zone_threads[zone_number];
drivers/md/dm-vdo/dedupe.c
2416
zone_count_t zone_count = vdo->thread_config.hash_zone_count;
drivers/md/dm-vdo/dedupe.c
2444
vdo->thread_config.admin_thread, zones, NULL,
drivers/md/dm-vdo/dm-vdo-target.c
1156
return vdo->thread_config.packer_thread;
drivers/md/dm-vdo/dm-vdo-target.c
1160
return vdo->thread_config.cpu_thread;
drivers/md/dm-vdo/dm-vdo-target.c
1165
return vdo->thread_config.journal_thread;
drivers/md/dm-vdo/dm-vdo-target.c
1168
return vdo->thread_config.admin_thread;
drivers/md/dm-vdo/dm-vdo-target.c
2289
vdo->thread_config.admin_thread))
drivers/md/dm-vdo/dump.c
72
for (id = 0; id < vdo->thread_config.thread_count; id++)
drivers/md/dm-vdo/flush.c
143
vdo->flusher->thread_id = vdo->thread_config.packer_thread;
drivers/md/dm-vdo/flush.c
380
completion->vdo->thread_config.packer_thread, NULL);
drivers/md/dm-vdo/flush.c
494
zone_count_t bio_threads = flusher->vdo->thread_config.bio_thread_count;
drivers/md/dm-vdo/flush.c
498
return vdo->thread_config.bio_threads[0];
drivers/md/dm-vdo/flush.c
508
return vdo->thread_config.bio_threads[flusher->bio_queue_rotor];
drivers/md/dm-vdo/io-submitter.c
421
result = vdo_make_thread(vdo, vdo->thread_config.bio_threads[i],
drivers/md/dm-vdo/io-submitter.c
435
bio_queue_data->queue = vdo->threads[vdo->thread_config.bio_threads[i]].queue;
drivers/md/dm-vdo/logical-zone.c
113
vdo->thread_config.admin_thread, zones, NULL,
drivers/md/dm-vdo/logical-zone.c
62
if (zone_number < vdo->thread_config.logical_zone_count - 1)
drivers/md/dm-vdo/logical-zone.c
69
zone->thread_id = vdo->thread_config.logical_threads[zone_number];
drivers/md/dm-vdo/logical-zone.c
74
allocation_zone_number = zone->thread_id % vdo->thread_config.physical_zone_count;
drivers/md/dm-vdo/logical-zone.c
92
zone_count_t zone_count = vdo->thread_config.logical_zone_count;
drivers/md/dm-vdo/packer.c
153
packer->thread_id = vdo->thread_config.packer_thread;
drivers/md/dm-vdo/physical-zone.c
343
zone->thread_id = vdo->thread_config.physical_threads[zone_number];
drivers/md/dm-vdo/physical-zone.c
345
zone->next = &zones->zones[(zone_number + 1) % vdo->thread_config.physical_zone_count];
drivers/md/dm-vdo/physical-zone.c
366
zone_count_t zone_count = vdo->thread_config.physical_zone_count;
drivers/md/dm-vdo/recovery-journal.c
593
struct thread_config *config = &vdo->thread_config;
drivers/md/dm-vdo/recovery-journal.c
725
journal->thread_id = vdo->thread_config.journal_thread;
drivers/md/dm-vdo/repair.c
1686
continue_vio_after_io(vio, finish_journal_load, vdo->thread_config.admin_thread);
drivers/md/dm-vdo/repair.c
207
const struct thread_config *thread_config = &completion->vdo->thread_config;
drivers/md/dm-vdo/repair.c
212
thread_config->logical_threads[0] :
drivers/md/dm-vdo/repair.c
213
thread_config->admin_thread);
drivers/md/dm-vdo/slab-depot.c
4078
.thread_id = vdo->thread_config.physical_threads[zone],
drivers/md/dm-vdo/slab-depot.c
4161
const struct thread_config *thread_config = &depot->vdo->thread_config;
drivers/md/dm-vdo/slab-depot.c
4164
thread_config->journal_thread, depot,
drivers/md/dm-vdo/slab-depot.c
4201
if (thread_config->physical_zone_count > slab_count) {
drivers/md/dm-vdo/slab-depot.c
4204
thread_config->physical_zone_count,
drivers/md/dm-vdo/slab-depot.c
4266
vdo->thread_config.physical_zone_count,
drivers/md/dm-vdo/slab-depot.c
4273
depot->zone_count = vdo->thread_config.physical_zone_count;
drivers/md/dm-vdo/slab-depot.c
4558
vdo->thread_config.admin_thread);
drivers/md/dm-vdo/slab-depot.c
4625
vdo->thread_config.admin_thread);
drivers/md/dm-vdo/vdo.c
1058
for (id = 0; id < vdo->thread_config.thread_count; id++)
drivers/md/dm-vdo/vdo.c
1062
vdo->thread_config.admin_thread);
drivers/md/dm-vdo/vdo.c
1168
if (++thread_id == vdo->thread_config.dedupe_thread) {
drivers/md/dm-vdo/vdo.c
1176
if (thread_id >= vdo->thread_config.thread_count) {
drivers/md/dm-vdo/vdo.c
1180
vdo->thread_config.admin_thread, NULL);
drivers/md/dm-vdo/vdo.c
1394
vdo->thread_config.packer_thread,
drivers/md/dm-vdo/vdo.c
1591
vdo->thread_config.admin_thread, stats);
drivers/md/dm-vdo/vdo.c
1613
BUG_ON(thread_id >= thread->vdo->thread_config.thread_count);
drivers/md/dm-vdo/vdo.c
1633
for (zone = 0; zone < vdo->thread_config.logical_zone_count; zone++)
drivers/md/dm-vdo/vdo.c
1636
for (zone = 0; zone < vdo->thread_config.physical_zone_count; zone++)
drivers/md/dm-vdo/vdo.c
164
static void uninitialize_thread_config(struct thread_config *config)
drivers/md/dm-vdo/vdo.c
1649
VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.admin_thread),
drivers/md/dm-vdo/vdo.c
1664
vdo->thread_config.logical_threads[logical_zone]),
drivers/md/dm-vdo/vdo.c
1679
vdo->thread_config.physical_threads[physical_zone]),
drivers/md/dm-vdo/vdo.c
170
memset(config, 0, sizeof(struct thread_config));
drivers/md/dm-vdo/vdo.c
173
static void assign_thread_ids(struct thread_config *config,
drivers/md/dm-vdo/vdo.c
194
struct thread_config *config)
drivers/md/dm-vdo/vdo.c
337
static void get_thread_name(const struct thread_config *thread_config,
drivers/md/dm-vdo/vdo.c
340
if (thread_id == thread_config->journal_thread) {
drivers/md/dm-vdo/vdo.c
341
if (thread_config->packer_thread == thread_id) {
drivers/md/dm-vdo/vdo.c
353
} else if (thread_id == thread_config->admin_thread) {
drivers/md/dm-vdo/vdo.c
357
} else if (thread_id == thread_config->packer_thread) {
drivers/md/dm-vdo/vdo.c
360
} else if (thread_id == thread_config->dedupe_thread) {
drivers/md/dm-vdo/vdo.c
363
} else if (thread_id == thread_config->bio_ack_thread) {
drivers/md/dm-vdo/vdo.c
366
} else if (thread_id == thread_config->cpu_thread) {
drivers/md/dm-vdo/vdo.c
371
if (get_zone_thread_name(thread_config->logical_threads,
drivers/md/dm-vdo/vdo.c
372
thread_config->logical_zone_count,
drivers/md/dm-vdo/vdo.c
376
if (get_zone_thread_name(thread_config->physical_threads,
drivers/md/dm-vdo/vdo.c
377
thread_config->physical_zone_count,
drivers/md/dm-vdo/vdo.c
381
if (get_zone_thread_name(thread_config->hash_zone_threads,
drivers/md/dm-vdo/vdo.c
382
thread_config->hash_zone_count,
drivers/md/dm-vdo/vdo.c
386
if (get_zone_thread_name(thread_config->bio_threads,
drivers/md/dm-vdo/vdo.c
387
thread_config->bio_thread_count,
drivers/md/dm-vdo/vdo.c
428
get_thread_name(&vdo->thread_config, thread_id, queue_name, sizeof(queue_name));
drivers/md/dm-vdo/vdo.c
484
result = initialize_thread_config(config->thread_counts, &vdo->thread_config);
drivers/md/dm-vdo/vdo.c
493
config->thread_counts.hash_zones, vdo->thread_config.thread_count);
drivers/md/dm-vdo/vdo.c
557
result = vdo_allocate(vdo->thread_config.thread_count,
drivers/md/dm-vdo/vdo.c
564
result = vdo_make_thread(vdo, vdo->thread_config.admin_thread,
drivers/md/dm-vdo/vdo.c
603
result = vdo_make_thread(vdo, vdo->thread_config.bio_ack_thread,
drivers/md/dm-vdo/vdo.c
612
result = vdo_make_thread(vdo, vdo->thread_config.cpu_thread, &cpu_q_type,
drivers/md/dm-vdo/vdo.c
633
for (i = 0; i < vdo->thread_config.thread_count; i++)
drivers/md/dm-vdo/vdo.c
705
for (i = 0; i < vdo->thread_config.thread_count; i++) {
drivers/md/dm-vdo/vdo.c
712
uninitialize_thread_config(&vdo->thread_config);
drivers/md/dm-vdo/vdo.c
995
result = VDO_ASSERT(thread_id != vdo->thread_config.dedupe_thread,
drivers/md/dm-vdo/vdo.h
187
struct thread_config thread_config;
drivers/md/dm-vdo/vio.h
58
return vio->completion.vdo->thread_config.bio_threads[vio->bio_zone];