Searched refs:num_threads (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/tools/testing/selftests/rseq/ |
D | param_test.c | 395 const int num_threads = opt_threads; in test_percpu_spinlock() local 398 pthread_t test_threads[num_threads]; in test_percpu_spinlock() 400 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() 403 for (i = 0; i < num_threads; i++) { in test_percpu_spinlock() 420 for (i = 0; i < num_threads; i++) { in test_percpu_spinlock() 433 assert(sum == (uint64_t)opt_reps * num_threads); in test_percpu_spinlock() 470 const int num_threads = opt_threads; in test_percpu_inc() local 473 pthread_t test_threads[num_threads]; in test_percpu_inc() 475 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() 478 for (i = 0; i < num_threads; i++) { in test_percpu_inc() [all …]
|
D | basic_percpu_ops_test.c | 112 const int num_threads = 200; in test_percpu_spinlock() local 115 pthread_t test_threads[num_threads]; in test_percpu_spinlock() 121 for (i = 0; i < num_threads; i++) in test_percpu_spinlock() 125 for (i = 0; i < num_threads; i++) in test_percpu_spinlock() 132 assert(sum == (uint64_t)data.reps * num_threads); in test_percpu_spinlock()
|
/Linux-v5.4/drivers/acpi/acpica/ |
D | dbexec.c | 512 if (info->threads && (info->num_created < info->num_threads)) { in acpi_db_method_thread() 560 if (info->num_completed == info->num_threads) { in acpi_db_method_thread() 703 u32 num_threads; in acpi_db_create_execution_threads() local 713 num_threads = strtoul(num_threads_arg, NULL, 0); in acpi_db_create_execution_threads() 716 if (!num_threads || !num_loops) { in acpi_db_create_execution_threads() 718 num_threads, num_loops); in acpi_db_create_execution_threads() 763 acpi_gbl_db_method_info.num_threads = num_threads; in acpi_db_create_execution_threads() 764 size = sizeof(acpi_thread_id) * acpi_gbl_db_method_info.num_threads; in acpi_db_create_execution_threads() 802 acpi_db_uint32_to_hex_string(num_threads, in acpi_db_create_execution_threads() 824 num_threads, num_loops); in acpi_db_create_execution_threads() [all …]
|
D | aclocal.h | 1175 u32 num_threads; member
|
/Linux-v5.4/lib/ |
D | test_kmod.c | 83 unsigned int num_threads; member 187 if (test_dev->done == config->num_threads) { in kmod_test_done_check() 303 for (idx=0; idx < config->num_threads; idx++) { in tally_up_work() 360 for (i=0; i < config->num_threads; i++) { in test_dev_kmod_stop_tests() 395 for (idx=0; idx < config->num_threads; idx++) { in try_requests() 435 config->num_threads); in run_test_driver() 437 config->num_threads - 1); in run_test_driver() 452 config->num_threads); in run_test_fs_type() 454 config->num_threads - 1); in run_test_fs_type() 475 config->num_threads); in config_show() [all …]
|
/Linux-v5.4/tools/testing/radix-tree/ |
D | multiorder.c | 200 const int num_threads = sysconf(_SC_NPROCESSORS_ONLN); in multiorder_iteration_race() local 201 pthread_t worker_thread[num_threads]; in multiorder_iteration_race() 205 for (i = 1; i < num_threads; i++) in multiorder_iteration_race() 208 for (i = 0; i < num_threads; i++) in multiorder_iteration_race()
|
/Linux-v5.4/kernel/ |
D | stop_machine.c | 158 unsigned int num_threads; member 169 atomic_set(&msdata->thread_ack, msdata->num_threads); in set_state() 326 .num_threads = 2, in stop_two_cpus() 601 .num_threads = num_online_cpus(), in stop_machine_cpuslocked() 616 WARN_ON_ONCE(msdata.num_threads != 1); in stop_machine_cpuslocked() 675 msdata.num_threads = num_active_cpus() + 1; /* +1 for local */ in stop_machine_from_inactive_cpu()
|
/Linux-v5.4/fs/proc/ |
D | array.c | 270 int num_threads = 0; in task_sig() local 285 num_threads = get_nr_threads(p); in task_sig() 293 seq_put_decimal_ull(m, "Threads:\t", num_threads); in task_sig() 439 int num_threads = 0; in do_task_stat() local 489 num_threads = get_nr_threads(task); in do_task_stat() 521 if (permitted && (!whole || num_threads < 2)) in do_task_stat() 559 seq_put_decimal_ll(m, " ", num_threads); in do_task_stat()
|
/Linux-v5.4/arch/powerpc/kvm/ |
D | book3s_hv.c | 2360 ++vcore->num_threads; in kvmppc_core_vcpu_create_hv() 2712 if (vc->num_threads < threads_per_vcore(vc->kvm)) { in kvmppc_vcore_preempt() 2758 cip->max_subcore_threads = vc->num_threads; in init_core_info() 2759 cip->total_threads = vc->num_threads; in init_core_info() 2760 cip->subcore_threads[0] = vc->num_threads; in init_core_info() 2799 int n_threads = vc->num_threads; in can_dynamic_split() 2822 cip->total_threads += vc->num_threads; in can_dynamic_split() 2823 cip->subcore_threads[sub] = vc->num_threads; in can_dynamic_split() 2838 if (cip->total_threads + pvc->num_threads > target_threads) in can_piggyback() 3093 ((vc->num_threads > threads_per_subcore) || !on_primary_thread())) || in kvmppc_run_core() [all …]
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | kvm_book3s.h | 70 int num_threads; member
|
/Linux-v5.4/tools/power/x86/turbostat/ |
D | turbostat.c | 5088 int num_threads = topo.threads_per_core * num_cores; in allocate_counters() local 5090 *t = calloc(num_threads, sizeof(struct thread_data)); in allocate_counters() 5094 for (i = 0; i < num_threads; i++) in allocate_counters()
|
/Linux-v5.4/Documentation/filesystems/ |
D | proc.txt | 336 num_threads number of threads
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | cik.c | 4491 u32 num_threads[3]; member
|