| /openbmc/qemu/hw/core/ |
| H A D | machine-smp.c | 59 g_string_append_printf(s, " * threads (%u)", ms->smp.threads); in cpu_hierarchy_to_string() 97 unsigned threads = config->has_threads ? config->threads : 0; in machine_parse_smp_config() local 113 (config->has_threads && config->threads == 0) || in machine_parse_smp_config() 168 threads = threads > 0 ? threads : 1; in machine_parse_smp_config() 176 threads = threads > 0 ? threads : 1; in machine_parse_smp_config() 179 modules * cores * threads); in machine_parse_smp_config() 181 threads = threads > 0 ? threads : 1; in machine_parse_smp_config() 184 clusters * modules * threads); in machine_parse_smp_config() 190 threads = threads > 0 ? threads : 1; in machine_parse_smp_config() 193 clusters * modules * threads); in machine_parse_smp_config() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/ |
| H A D | avoid-glibc-clashes.patch | 38 pthread_attr_setscope(&(d->threads[i].thread_attr), 41 - d->threads[i].buffer = aligned_alloc( d->threads[i].blockSize ); 42 + d->threads[i].buffer = _aligned_alloc( d->threads[i].blockSize ); 43 if( d->threads[i].buffer == NULL ) 49 unlink(d->threads[i].fileName); 50 - aligned_free( d->threads[i].buffer, d->threads[i].blockSize ); 51 + _aligned_free( d->threads[i].buffer, d->threads[i].blockSize ); 52 d->threads[i].buffer = 0; 54 pthread_attr_destroy( &(d->threads[i].thread_attr) );
|
| /openbmc/qemu/tests/qtest/ |
| H A D | cpu-plug-test.c | 22 unsigned threads; member 40 td->sockets, td->cores, td->threads, td->maxcpus); in test_plug_with_device_add() 96 data->threads = 2; in add_pc_test_case() 97 data->maxcpus = data->sockets * data->cores * data->threads; in add_pc_test_case() 101 data->threads, data->maxcpus); in add_pc_test_case() 122 data->threads = 1; in add_pseries_test_case() 123 data->maxcpus = data->sockets * data->cores * data->threads; in add_pseries_test_case() 127 data->threads, data->maxcpus); in add_pseries_test_case() 148 data->threads = 1; in add_s390x_test_case() 149 data->maxcpus = data->sockets * data->cores * data->threads; in add_s390x_test_case() [all …]
|
| /openbmc/qemu/tests/migration-stress/guestperf/ |
| H A D | plot.py | 151 threads = {} 153 if record._tid in threads: 155 threads[record._tid] = { 172 threads[record._tid]["xaxis"].append(record._timestamp - starttime) 173 threads[record._tid]["yaxis"].append(record._value) 174 threads[record._tid]["labels"].append(self._get_progress_label(progress)) 179 for tid in threads.keys(): 181 go.Scatter(x=threads[tid]["xaxis"], 182 y=threads[tid]["yaxis"], 191 text=threads[tid]["labels"])) [all …]
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-aio-multithread.c | 24 static IOThread *threads[NUM_CONTEXTS]; variable 71 threads[i] = iothread_new(); in create_aio_contexts() 72 ctx[i] = iothread_get_aio_context(threads[i]); in create_aio_contexts() 91 iothread_join(threads[i]); in join_aio_contexts() 226 static void test_multi_co_mutex(int threads, int seconds) in test_multi_co_mutex() argument 236 assert(threads <= NUM_CONTEXTS); in test_multi_co_mutex() 237 running = threads; in test_multi_co_mutex() 238 for (i = 0; i < threads; i++) { in test_multi_co_mutex() 347 static void test_multi_fair_mutex(int threads, int seconds) in test_multi_fair_mutex() argument 357 assert(threads <= NUM_CONTEXTS); in test_multi_fair_mutex() [all …]
|
| /openbmc/qemu/tests/tcg/multiarch/ |
| H A D | threadcount.c | 39 pthread_t *threads; in main() local 44 threads = calloc(sizeof(pthread_t), max_threads); in main() 49 pthread_create(threads + i, NULL, thread_fn, arg); in main() 58 pthread_join(threads[i], NULL); in main()
|
| H A D | vma-pthread.c | 159 pthread_t threads[5]; in main() local 183 ret = pthread_create(&threads[0], NULL, thread_read, &ctx); in main() 185 ret = pthread_create(&threads[1], NULL, thread_write, &ctx); in main() 187 ret = pthread_create(&threads[2], NULL, thread_execute, &ctx); in main() 190 ret = pthread_create(&threads[i], NULL, thread_mutate, &ctx); in main() 195 for (i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) { in main() 196 ret = pthread_join(threads[i], NULL); in main()
|
| H A D | signals.c | 56 static pthread_t *threads; variable 77 threads = calloc(sizeof(pthread_t), max_threads); in spawn_threads() 84 pthread_create(threads + i, NULL, background_thread_func, job); in spawn_threads() 92 pthread_join(threads[i], NULL); in close_threads() 94 free(threads); in close_threads() 95 threads = NULL; in close_threads()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/ |
| H A D | fix-gettid-exception-declaration.patch | 5 --- a/system/core/libcutils/include/cutils/threads.h 6 +++ b/system/core/libcutils/include/cutils/threads.h 16 --- a/system/core/libcutils/threads.cpp 17 +++ b/system/core/libcutils/threads.cpp
|
| /openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/ |
| H A D | fix-gettid-exception-declaration.patch | 5 --- a/system/core/libcutils/include/cutils/threads.h 6 +++ b/system/core/libcutils/include/cutils/threads.h 16 --- a/system/core/libcutils/threads.cpp 17 +++ b/system/core/libcutils/threads.cpp
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libmxml/ |
| H A D | libmxml_4.0.4.bb | 14 PACKAGECONFIG ??= "threads" 15 PACKAGECONFIG[threads] = "--enable-threads,--disable-threads"
|
| /openbmc/qemu/subprojects/libvhost-user/ |
| H A D | meson.build | 11 threads = dependency('threads') variable 16 dependencies: threads,
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
| H A D | 0010-fix-error-for-expansion-of-macro-in-thread.h.patch | 21 src/include/threads.h | 10 +++++----- 24 diff --git a/src/include/threads.h b/src/include/threads.h 26 --- a/src/include/threads.h 27 +++ b/src/include/threads.h
|
| /openbmc/qemu/tests/bench/ |
| H A D | atomic64-bench.c | 21 static QemuThread *threads; variable 88 qemu_thread_join(&threads[i]); in run_test() 96 threads = g_new(QemuThread, n_threads); in create_threads() 105 qemu_thread_create(&threads[i], NULL, thread_func, info, in create_threads()
|
| H A D | atomic_add-bench.c | 16 static QemuThread *threads; variable 91 qemu_thread_join(&threads[i]); in run_test() 99 threads = g_new(QemuThread, n_threads); in create_threads() 111 qemu_thread_create(&threads[i], NULL, thread_func, info, in create_threads()
|
| /openbmc/qemu/migration/ |
| H A D | multifd-device-state.c | 26 ThreadPool *threads; member 39 multifd_send_device_state->threads = thread_pool_new(); in multifd_device_state_send_setup() 45 g_clear_pointer(&multifd_send_device_state->threads, thread_pool_free); in multifd_device_state_send_cleanup() 190 thread_pool_submit_immediate(multifd_send_device_state->threads, in multifd_spawn_device_state_save_thread() 209 thread_pool_wait(multifd_send_device_state->threads); in multifd_join_device_state_save_threads()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/iozone3/iozone3/ |
| H A D | parallelism.patch | 23 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 32 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 41 # GNU 'C' compiler Linux build for sparc chip with threads, largefiles, async I/O 50 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 59 # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O 68 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 77 # GNU 'C' compiler Linux build with threads, largefiles, async I/O 86 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O 95 # GNU 'C' compiler Linux build with S/390, threads, largfiles, async I/O
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_cpu_core.c | 222 spapr_reset_vcpu(sc->threads[i]); in spapr_cpu_core_reset() 250 if (sc->threads[i]) { in spapr_cpu_core_unrealize() 256 if (qdev_is_realized(DEVICE(sc->threads[i]))) { in spapr_cpu_core_unrealize() 257 spapr_unrealize_vcpu(sc->threads[i], sc); in spapr_cpu_core_unrealize() 259 spapr_delete_vcpu(sc->threads[i]); in spapr_cpu_core_unrealize() 262 g_free(sc->threads); in spapr_cpu_core_unrealize() 355 sc->threads = g_new0(PowerPCCPU *, cc->nr_threads); in spapr_cpu_core_realize() 360 sc->threads[i] = cpu; in spapr_cpu_core_realize()
|
| H A D | pnv_core.c | 204 PowerPCCPU *cpu = pc->threads[i]; in pnv_core_power10_xscom_read() 219 PowerPCCPU *cpu = pc->threads[i]; in pnv_core_power10_xscom_read() 245 PowerPCCPU *cpu = pc->threads[i]; in pnv_core_power10_xscom_write() 353 pnv_core_cpu_reset(pc, pc->threads[i]); in pnv_core_reset() 370 pc->threads = g_new(PowerPCCPU *, cc->nr_threads); in pnv_core_realize() 378 pc->threads[i] = POWERPC_CPU(obj); in pnv_core_realize() 394 pnv_core_cpu_realize(pc, pc->threads[j], &local_err, j); in pnv_core_realize() 409 obj = OBJECT(pc->threads[i]); in pnv_core_realize() 412 g_free(pc->threads); in pnv_core_realize() 437 pnv_core_cpu_unrealize(pc, pc->threads[i]); in pnv_core_unrealize() [all …]
|
| /openbmc/qemu/util/ |
| H A D | oslib-posix.c | 74 struct MemsetThread *threads; member 341 MemsetThread *thread = &sigbus_memset_context->threads[i]; in sigbus_handler() 460 tmp = (uintptr_t)qemu_thread_join(&context->threads[i].pgthread); in wait_and_free_mem_prealloc_context() 466 g_free(context->threads); in wait_and_free_mem_prealloc_context() 518 context->threads = g_new0(MemsetThread, context->num_threads); in touch_all_pages() 522 context->threads[i].addr = addr; in touch_all_pages() 523 context->threads[i].numpages = numpages_per_thread + (i < leftover); in touch_all_pages() 524 context->threads[i].hpagesize = hpagesize; in touch_all_pages() 525 context->threads[i].context = context; in touch_all_pages() 527 thread_context_create_thread(tc, &context->threads[i].pgthread, in touch_all_pages() [all …]
|
| /openbmc/qemu/tests/tcg/multiarch/gdbstub/ |
| H A D | interrupt.py | 50 if len(gdb.selected_inferior().threads()) == 1: 55 for thread in gdb.selected_inferior().threads():
|
| /openbmc/u-boot/doc/ |
| H A D | README.sched | 24 applications must invoke thread_yield() to allow other threads to 36 - Only seven threads are allowed. These can be easily increased by 48 threads implementations. 50 - There is no parent-child relationship between threads. Only one
|
| /openbmc/openbmc/poky/meta/recipes-devtools/dnf/dnf/ |
| H A D | 0001-lock.py-fix-Exception-handling.patch | 12 rootfs, seems like some threads don't do chroot like work, some threads 13 do chroot like work. so for the threads don't do chroot, "Permission denied" 14 Exception happend, for the threads that do chroot, log_lock.pid will be
|
| /openbmc/google-misc/subprojects/nemora-postd/ |
| H A D | meson.build | 25 threads = dependency('threads') variable 55 threads,
|
| /openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/host/op-proc-control/ |
| H A D | 0001-Stop-and-send-SRESET-for-one-thread-only.patch | 8 Stopping all threads leads to errors in skiboot: 15 Sending SRESET to all threads causes kernel panic: 46 - log<level::ERR>("Failed to sreset all threads");
|