/linux/tools/testing/selftests/timers/ |
H A D | threadtest.c | 122 int thread_count, i; in main() local 131 thread_count = DEFAULT_THREAD_COUNT; in main() 141 thread_count = atoi(optarg); in main() 156 if (thread_count > MAX_THREADS) in main() 157 thread_count = MAX_THREADS; in main() 165 printf("Testing consistency with %i threads for %ld seconds: ", thread_count, runtime); in main() 169 for (i = 0; i < thread_count; i++) in main() 186 for (i = 0; i < thread_count; i++) in main()
|
/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_hwdb.c | 17 .thread_count = 128, 49 .thread_count = 256, 80 .thread_count = 512, 112 .thread_count = 512, 144 .thread_count = 512, 175 .thread_count = 1024, 207 .thread_count = 256, 239 .thread_count = 256,
|
H A D | etnaviv_gpu.c | 113 *value = gpu->identity.thread_count; in etnaviv_gpu_get_param() 200 gpu->identity.thread_count = etnaviv_field(specs[0], in etnaviv_hw_specs() 246 if (gpu->identity.thread_count) in etnaviv_hw_specs() 247 gpu->identity.thread_count = 1 << gpu->identity.thread_count; in etnaviv_hw_specs() 249 gpu->identity.thread_count = 64; in etnaviv_hw_specs() 252 gpu->identity.thread_count = 128; in etnaviv_hw_specs() 254 gpu->identity.thread_count = 256; in etnaviv_hw_specs() 996 gpu->identity.thread_count); in etnaviv_gpu_debugfs()
|
H A D | etnaviv_gpu.h | 50 u32 thread_count; member
|
/linux/tools/tracing/rtla/src/ |
H A D | timerlat_hist.c | 66 int thread_count; member 195 data->hist[cpu].thread_count++; in timerlat_hist_update() 264 if (!data->hist[cpu].irq_count && !data->hist[cpu].thread_count) in timerlat_hist_header() 303 if (!data->hist[cpu].irq_count && !data->hist[cpu].thread_count) in timerlat_print_summary() 312 data->hist[cpu].thread_count); in timerlat_print_summary() 339 if (data->hist[cpu].thread_count) in timerlat_print_summary() 375 if (data->hist[cpu].thread_count) in timerlat_print_summary() 411 if (data->hist[cpu].thread_count) in timerlat_print_summary() 462 sum.thread_count += cpu_data->thread_count; in timerlat_print_stats_all() 496 sum.thread_count); in timerlat_print_stats_all() [all …]
|
H A D | timerlat_top.c | 58 int thread_count; member 145 sum->thread_count += cpu_data->thread_count; in timerlat_top_update_sum() 174 cpu_data->thread_count++; in timerlat_top_update() 277 if (!cpu_data->irq_count && !cpu_data->thread_count) in timerlat_top_print() 294 if (!cpu_data->thread_count) { in timerlat_top_print() 300 (cpu_data->sum_thread / cpu_data->thread_count) / divisor); in timerlat_top_print() 341 if (!summary->irq_count && !summary->thread_count) in timerlat_top_print_sum() 365 if (!summary->thread_count) { in timerlat_top_print_sum() 371 (summary->sum_thread / summary->thread_count) / divisor); in timerlat_top_print_sum()
|
H A D | osnoise_top.c | 62 unsigned long long thread_count; member 151 update_sum(&cpu_data->thread_count, &val); in osnoise_top_handler() 254 trace_seq_printf(s, "%12llu\n", cpu_data->thread_count); in osnoise_top_print()
|
/linux/drivers/acpi/acpica/ |
H A D | dsmethod.c | 308 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution() 428 obj_desc->method.thread_count++; in acpi_ds_begin_method_execution() 726 && (method_desc->method.thread_count == 1)) { in acpi_ds_terminate_control_method() 777 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method() 778 method_desc->method.thread_count--; in acpi_ds_terminate_control_method() 785 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method() 792 method_desc->method.thread_count)); in acpi_ds_terminate_control_method()
|
H A D | acobject.h | 167 u8 thread_count; member
|
/linux/drivers/md/dm-vdo/ |
H A D | vdo.c | 187 thread_ids[zone] = config->thread_count++; in assign_thread_ids() 245 config->logical_threads[0] = config->thread_count; in initialize_thread_config() 246 config->physical_threads[0] = config->thread_count; in initialize_thread_config() 247 config->hash_zone_threads[0] = config->thread_count++; in initialize_thread_config() 249 config->admin_thread = config->thread_count; in initialize_thread_config() 250 config->journal_thread = config->thread_count++; in initialize_thread_config() 251 config->packer_thread = config->thread_count++; in initialize_thread_config() 257 config->dedupe_thread = config->thread_count++; in initialize_thread_config() 260 config->cpu_thread = config->thread_count++; in initialize_thread_config() 640 for (i = 0; i < vdo->thread_config.thread_count; i++) in finish_vdo() [all …]
|
H 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()
|
H A D | funnel-workqueue.c | 383 unsigned int thread_count, void *thread_privates[], in vdo_make_work_queue() argument 391 if (thread_count == 1) { in vdo_make_work_queue() 407 result = vdo_allocate(thread_count, struct simple_work_queue *, in vdo_make_work_queue() 414 queue->num_service_queues = thread_count; in vdo_make_work_queue() 427 for (i = 0; i < thread_count; i++) { in vdo_make_work_queue()
|
H A D | io-submitter.c | 374 int vdo_make_io_submitter(unsigned int thread_count, unsigned int rotation_interval, in vdo_make_io_submitter() argument 382 result = vdo_allocate_extended(struct io_submitter, thread_count, in vdo_make_io_submitter() 391 for (i = 0; i < thread_count; i++) { in vdo_make_io_submitter()
|
H A D | funnel-workqueue.h | 30 unsigned int thread_count, void *thread_privates[],
|
H A D | io-submitter.h | 15 int vdo_make_io_submitter(unsigned int thread_count, unsigned int rotation_interval,
|
H A D | dump.c | 72 for (id = 0; id < vdo->thread_config.thread_count; id++) in do_dump()
|
H A D | vdo.h | 132 thread_count_t thread_count; member
|
/linux/drivers/md/dm-vdo/indexer/ |
H A D | sparse-cache.c | 151 int thread_count; member 170 unsigned int thread_count) in initialize_threads_barrier() argument 174 barrier->thread_count = thread_count; in initialize_threads_barrier() 202 if (++barrier->arrived == barrier->thread_count) { in enter_threads_barrier() 206 for (i = 1; i < barrier->thread_count; i++) in enter_threads_barrier()
|
/linux/drivers/dma/ |
H A D | dmatest.c | 1025 unsigned int thread_count = 0; in dmatest_add_channel() local 1046 thread_count += cnt > 0 ? cnt : 0; in dmatest_add_channel() 1053 thread_count += cnt > 0 ? cnt : 0; in dmatest_add_channel() 1059 thread_count += cnt > 0 ? cnt : 0; in dmatest_add_channel() 1063 thread_count += cnt > 0 ? cnt : 0; in dmatest_add_channel() 1135 unsigned int thread_count = 0; in run_pending_tests() local 1140 thread_count = 0; in run_pending_tests() 1143 thread_count++; in run_pending_tests() 1323 unsigned int thread_count = 0; in dmatest_test_list_get() local 1328 thread_count = 0; in dmatest_test_list_get() [all …]
|
/linux/kernel/trace/ |
H A D | trace_entries.h | 402 __field( unsigned int, thread_count ) 412 __entry->thread_count)
|
H A D | trace_osnoise.c | 330 int thread_count; /* # threads during this sample */ member 518 entry->thread_count = sample->thread_count; in __trace_osnoise_sample() 1336 s->thread_count = osn_var->thread.count; in save_osn_sample_stats() 1352 s->thread_count = osn_var->thread.count - s->thread_count; in diff_osn_sample_stats()
|
/linux/drivers/tee/optee/ |
H A D | call.c | 42 void optee_cq_init(struct optee_call_queue *cq, int thread_count) in optee_cq_init() argument 53 cq->total_thread_count = thread_count; in optee_cq_init() 54 cq->free_thread_count = thread_count; in optee_cq_init()
|
H A D | optee_private.h | 338 void optee_cq_init(struct optee_call_queue *cq, int thread_count);
|
H A D | smc_abi.c | 1593 unsigned int thread_count; in optee_probe() local 1621 thread_count = optee_msg_get_thread_count(invoke_fn); in optee_probe() 1717 optee_cq_init(&optee->call_queue, thread_count); in optee_probe()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 56 atomic_t thread_count; member 795 atomic_set(&sdiodev->freezer->thread_count, 0); in brcmf_sdiod_freezer_attach() 813 atomic_t *expect = &sdiodev->freezer->thread_count; in brcmf_sdiod_freezer_on() 855 atomic_inc(&sdiodev->freezer->thread_count); in brcmf_sdiod_freezer_count() 861 atomic_dec(&sdiodev->freezer->thread_count); in brcmf_sdiod_freezer_uncount()
|