| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/compress/ |
| H A D | zstd.py | 16 def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs): argument 17 self.num_threads = num_threads 22 if self.num_threads == 1 or not shutil.which("pzstd"): 24 return ["pzstd", "-p", "%d" % self.num_threads]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/rseq/ |
| H A D | param_test.c | 396 const int num_threads = opt_threads; in test_percpu_spinlock() local 399 pthread_t test_threads[num_threads]; in test_percpu_spinlock() 401 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() 404 for (i = 0; i < num_threads; i++) { in test_percpu_spinlock() 421 for (i = 0; i < num_threads; i++) { in test_percpu_spinlock() 434 assert(sum == (uint64_t)opt_reps * num_threads); in test_percpu_spinlock() 472 const int num_threads = opt_threads; in test_percpu_inc() local 475 pthread_t test_threads[num_threads]; in test_percpu_inc() 477 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() 480 for (i = 0; i < num_threads; i++) { in test_percpu_inc() [all …]
|
| H A D | basic_percpu_ops_test.c | 111 const int num_threads = 200; in test_percpu_spinlock() local 114 pthread_t test_threads[num_threads]; in test_percpu_spinlock() 120 for (i = 0; i < num_threads; i++) in test_percpu_spinlock() 124 for (i = 0; i < num_threads; i++) in test_percpu_spinlock() 131 assert(sum == (uint64_t)data.reps * num_threads); in test_percpu_spinlock()
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | dbexec.c | 533 if (info->threads && (info->num_created < info->num_threads)) { in acpi_db_method_thread() 581 if (info->num_completed == info->num_threads) { in acpi_db_method_thread() 724 u32 num_threads; in acpi_db_create_execution_threads() local 734 num_threads = strtoul(num_threads_arg, NULL, 0); in acpi_db_create_execution_threads() 737 if (!num_threads || !num_loops) { in acpi_db_create_execution_threads() 739 num_threads, num_loops); in acpi_db_create_execution_threads() 784 acpi_gbl_db_method_info.num_threads = num_threads; in acpi_db_create_execution_threads() 785 size = sizeof(acpi_thread_id) * acpi_gbl_db_method_info.num_threads; in acpi_db_create_execution_threads() 823 acpi_db_uint32_to_hex_string(num_threads, in acpi_db_create_execution_threads() 845 num_threads, num_loops); in acpi_db_create_execution_threads() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A 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 …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | packagedata.py | 66 num_threads = int(d.getVar("BB_NUMBER_THREADS")) 67 with bb.compress.zstd.open(fn, "rt", encoding="utf-8", num_threads=num_threads) as f:
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | stop_machine.c | 149 unsigned int num_threads; member 160 atomic_set(&msdata->thread_ack, msdata->num_threads); in set_state() 318 .num_threads = 2, in stop_two_cpus() 612 .num_threads = num_online_cpus(), in stop_machine_cpuslocked() 627 WARN_ON_ONCE(msdata.num_threads != 1); in stop_machine_cpuslocked() 686 msdata.num_threads = num_active_cpus() + 1; /* +1 for local */ in stop_machine_from_inactive_cpu()
|
| /OK3568_Linux_fs/kernel/tools/testing/radix-tree/ |
| H A 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()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/finclude/ |
| H A D | omp_lib.f90 | 160 subroutine omp_set_num_threads (num_threads) 161 integer (4), intent (in) :: num_threads local 163 subroutine omp_set_num_threads_8 (num_threads) 164 integer (8), intent (in) :: num_threads local
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/finclude/ |
| H A D | omp_lib.f90 | 160 subroutine omp_set_num_threads (num_threads) 161 integer (4), intent (in) :: num_threads local 163 subroutine omp_set_num_threads_8 (num_threads) 164 integer (8), intent (in) :: num_threads local
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | array.c | 269 int num_threads = 0; in task_sig() local 284 num_threads = get_nr_threads(p); in task_sig() 292 seq_put_decimal_ull(m, "Threads:\t", num_threads); in task_sig() 442 int num_threads = 0; in do_task_stat() local 492 num_threads = get_nr_threads(task); in do_task_stat() 524 if (permitted && (!whole || num_threads < 2)) in do_task_stat() 562 seq_put_decimal_ll(m, " ", num_threads); in do_task_stat()
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/ |
| H A D | cpu.c | 436 int num_threads; in broadwell_init() local 442 num_threads = (msr.lo >> 0) & 0xffff; in broadwell_init() 445 num_threads); in broadwell_init() 447 priv->ht_disabled = num_threads == num_cores; in broadwell_init()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/parallel/ |
| H A D | find.h | 115 # pragma omp parallel num_threads(__num_threads) in __find_template() 222 # pragma omp parallel shared(__result) num_threads(__num_threads) in __find_template() 346 # pragma omp parallel shared(__result) num_threads(__num_threads) in __find_template()
|
| H A D | omp_loop_static.h | 82 # pragma omp parallel num_threads(__num_threads) in __for_each_template_random_access_omp_loop_static()
|
| H A D | omp_loop.h | 82 # pragma omp parallel num_threads(__num_threads) in __for_each_template_random_access_omp_loop()
|
| H A D | par_loop.h | 81 # pragma omp parallel num_threads(__num_threads) in __for_each_template_random_access_ed()
|
| H A D | search.h | 117 # pragma omp parallel num_threads(__num_threads) in __search_template()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/parallel/ |
| H A D | find.h | 115 # pragma omp parallel num_threads(__num_threads) in __find_template() 222 # pragma omp parallel shared(__result) num_threads(__num_threads) in __find_template() 346 # pragma omp parallel shared(__result) num_threads(__num_threads) in __find_template()
|
| H A D | omp_loop_static.h | 82 # pragma omp parallel num_threads(__num_threads) in __for_each_template_random_access_omp_loop_static()
|
| H A D | omp_loop.h | 82 # pragma omp parallel num_threads(__num_threads) in __for_each_template_random_access_omp_loop()
|
| H A D | par_loop.h | 81 # pragma omp parallel num_threads(__num_threads) in __for_each_template_random_access_ed()
|
| H A D | search.h | 117 # pragma omp parallel num_threads(__num_threads) in __search_template()
|
| H A D | quicksort.h | 133 #pragma omp parallel sections num_threads(2) in __parallel_sort_qs_conquer()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/ |
| H A D | compression.py | 99 with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
|
| /OK3568_Linux_fs/u-boot/tools/buildman/ |
| H A D | builder.py | 211 def __init__(self, toolchains, base_dir, git_dir, num_threads, num_jobs, argument 248 self.num_threads = num_threads 282 for i in range(self.num_threads): 1445 self._PrepareWorkingSpace(min(self.num_threads, len(board_selected)),
|