| /openbmc/qemu/migration/ |
| H A D | threadinfo.c | 28 MigrationThread *thread = g_new0(MigrationThread, 1); in migration_threads_add() local 29 thread->name = name; in migration_threads_add() 30 thread->thread_id = thread_id; in migration_threads_add() 33 QLIST_INSERT_HEAD(&migration_threads, thread, node); in migration_threads_add() 36 return thread; in migration_threads_add() 39 void migration_threads_remove(MigrationThread *thread) in migration_threads_remove() argument 42 if (thread) { in migration_threads_remove() 43 QLIST_REMOVE(thread, node); in migration_threads_remove() 44 g_free(thread); in migration_threads_remove() 52 MigrationThread *thread = NULL; in qmp_query_migrationthreads() local [all …]
|
| /openbmc/qemu/io/ |
| H A D | task.c | 47 struct QIOTaskThreadData *thread; member 76 if (task->thread) { in qio_task_free() 77 if (task->thread->destroy) { in qio_task_free() 78 task->thread->destroy(task->thread->opaque); in qio_task_free() 81 if (task->thread->context) { in qio_task_free() 82 g_main_context_unref(task->thread->context); in qio_task_free() 85 g_free(task->thread); in qio_task_free() 124 task->thread->worker(task, task->thread->opaque); in qio_task_thread_worker() 135 task->thread->completion = g_idle_source_new(); in qio_task_thread_worker() 136 g_source_set_callback(task->thread->completion, in qio_task_thread_worker() [all …]
|
| /openbmc/qemu/target/hexagon/imported/mmvec/ |
| H A D | macros.def | 171 (mmvec_current_veclogsize(thread)), 204 warn("aligning misaligned vector. PC=%08x EA=%08x",thread->Regs[REG_PC],(EA)); 210 mem_vector_scatter_init(thread, insn, REGION_START, LENGTH, ELEMENT_SIZE); 218 mem_vector_gather_init(thread, insn, REGION_START, LENGTH, ELEMENT_SIZE); 227 mem_vector_scatter_finish(thread, insn, OP); 235 mem_vector_gather_finish(thread, insn); 244 paddr_t pa = thread->mem_access[slot].paddr+OFFSET; 246 FLAG = (pa < (thread->mem_access[slot].paddr+LENGTH)); 277 paddr_t pa = thread->mem_access[slot].paddr+(OFFSET & ~(ALIGNMENT-1)); 278 paddr_t pa_high = thread->mem_access[slot].paddr+LEN; [all …]
|
| /openbmc/qemu/tests/tcg/multiarch/gdbstub/ |
| H A D | interrupt.py | 14 def check_interrupt(thread): argument 21 print("thread ", thread.num) 22 gdb.execute("thr %d" % thread.num) 42 return (thread.num == gdb.selected_thread().num) 55 for thread in gdb.selected_inferior().threads(): 56 report(check_interrupt(thread), 57 "thread %d resumes correctly on interrupt" % thread.num)
|
| /openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
| H A D | 0001-Allow-applications-to-set-next-resource-handle.patch | 24 @@ -685,6 +685,7 @@ static INLINE void rpc_call12_out_ctrl(CLIENT_THREAD_STATE_T *thread,uint32_t id 25 …thread,uint32_t id, uint32_t p0, uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint32_t p5, … 26 …thread,uint32_t id, uint32_t p0, uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint32_t p5, … 27 …thread,uint32_t id, uint32_t p0, uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint32_t p5, … 28 …thread,uint32_t id, uint32_t p0, uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint32_t p5, … 31 …#define RPC_CALL1_OUT_CTRL(fn, thread, id, out) rpc_… 32 @@ -702,6 +703,7 @@ static INLINE void rpc_call15_out_ctrl(CLIENT_THREAD_STATE_T *thread,uint32_t id 33 …ne RPC_CALL13_OUT_CTRL(fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, out) … 34 …ne RPC_CALL14_OUT_CTRL(fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, out)… 35 … RPC_CALL15_OUT_CTRL(fn, thread, id, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, o… [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/openhpi/files/ |
| H A D | 0001-include-iostream-for-cout.patch | 9 plugins/dynamic_simulator/thread.cpp:241:3: error: 'cout' was not declared in this scope 17 plugins/dynamic_simulator/thread.cpp | 4 ++-- 20 diff --git a/plugins/dynamic_simulator/thread.cpp b/plugins/dynamic_simulator/thread.cpp 22 --- a/plugins/dynamic_simulator/thread.cpp 23 +++ b/plugins/dynamic_simulator/thread.cpp 27 #include "thread.h"
|
| /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet/ |
| H A D | d19ad6cc086684ee74db250f5fd35227c98e678a.patch | 4 Subject: [PATCH] Add new thread attributes from Python 3.13 10 eventlet/green/thread.py | 7 +++++++ 13 diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py 15 --- a/eventlet/green/thread.py 16 +++ b/eventlet/green/thread.py
|
| /openbmc/u-boot/doc/ |
| H A D | README.sched | 16 - There are NO primitives for thread synchronization (locking, 19 - Only the GPRs and FPRs context is saved during a thread context 30 - There are NO capabilities to collect thread CPU usage, scheduler 31 stats, thread status etc. 39 - The stack size of each thread is 8KBytes. This can be easily 43 - Only one master/parent thread is allowed, and it cannot be 44 stopped or deleted. Any given thread is NOT allowed to stop or 51 thread may thread_join, preferably the master/parent thread.
|
| /openbmc/qemu/util/ |
| H A D | qemu-thread-win32.c | 302 void *qemu_thread_join(QemuThread *thread) in qemu_thread_join() argument 308 data = thread->data; in qemu_thread_join() 320 handle = qemu_thread_get_handle(thread); in qemu_thread_join() 350 void qemu_thread_create(QemuThread *thread, const char *name, in qemu_thread_create() argument 369 data, 0, &thread->tid); in qemu_thread_create() 378 thread->data = data; in qemu_thread_create() 381 int qemu_thread_set_affinity(QemuThread *thread, unsigned long *host_cpus, in qemu_thread_set_affinity() argument 387 int qemu_thread_get_affinity(QemuThread *thread, unsigned long **host_cpus, in qemu_thread_get_affinity() argument 393 void qemu_thread_get_self(QemuThread *thread) in qemu_thread_get_self() argument 395 thread->data = qemu_thread_data; in qemu_thread_get_self() [all …]
|
| H A D | qemu-thread-posix.c | 401 void qemu_thread_create(QemuThread *thread, const char *name, in qemu_thread_create() argument 433 err = pthread_create(&thread->thread, &attr, in qemu_thread_create() 444 int qemu_thread_set_affinity(QemuThread *thread, unsigned long *host_cpus, in qemu_thread_set_affinity() argument 463 err = pthread_setaffinity_np(thread->thread, setsize, cpuset); in qemu_thread_set_affinity() 471 int qemu_thread_get_affinity(QemuThread *thread, unsigned long **host_cpus, in qemu_thread_get_affinity() argument 486 err = pthread_getaffinity_np(thread->thread, setsize, cpuset); in qemu_thread_get_affinity() 513 void qemu_thread_get_self(QemuThread *thread) in qemu_thread_get_self() argument 515 thread->thread = pthread_self(); in qemu_thread_get_self() 518 bool qemu_thread_is_self(QemuThread *thread) in qemu_thread_is_self() argument 520 return pthread_equal(pthread_self(), thread->thread); in qemu_thread_is_self() [all …]
|
| H A D | thread-context.c | 35 QemuThread *thread; member 70 qemu_thread_create(cmd_new->thread, cmd_new->name, in thread_context_run() 121 ret = qemu_thread_set_affinity(&tc->thread, bitmap, nbits); in thread_context_set_cpu_affinity() 150 ret = qemu_thread_get_affinity(&tc->thread, &bitmap, &nbits); in thread_context_get_cpu_affinity() 221 ret = qemu_thread_set_affinity(&tc->thread, bitmap, nbits); in thread_context_set_node_affinity() 256 qemu_thread_create(&tc->thread, thread_name, thread_context_run, tc, in thread_context_instance_complete() 266 ret = qemu_thread_set_affinity(&tc->thread, tc->init_cpu_bitmap, in thread_context_instance_complete() 308 qemu_thread_join(&tc->thread); in thread_context_instance_finalize() 334 void thread_context_create_thread(ThreadContext *tc, QemuThread *thread, in type_init() 340 .thread = thread, in type_init()
|
| /openbmc/qemu/docs/ |
| H A D | multi-thread-compression.txt | 1 Use multiple thread (de)compression in live migration 32 thread compression can be used to accelerate the compression process. 36 keeping the compression thread count 4 times the decompression 37 thread count can avoid resource waste. 46 When to use the multiple thread compression in live migration 51 multiple thread compression will be very helpful. If both the CPU and 52 the network bandwidth are adequate, use of multiple thread compression 74 | original | compress thread: 8 75 | way | decompress thread: 2 94 | original | compress thread: 8 [all …]
|
| /openbmc/qemu/scripts/qemugdb/ |
| H A D | tcg.py | 25 for thread in gdb.inferiors()[0].threads(): 26 thread.switch() 41 gdb.write("%d/%d, %s, %s, %s\n" % (thread.num, thread.ptid[1],
|
| /openbmc/qemu/target/hexagon/imported/ |
| H A D | macros.def | 32 …{if (thread->last_pkt) thread->last_pkt->slot_cancelled |= (1<<insn->slot); return;} , /* behavior… 38 {mem_general_load_cancelled(thread,EA,insn);CANCEL;} , /* behavior */ 44 {mem_general_store_cancelled(thread,EA,insn);CANCEL;} , /* behavior */ 124 predlog_read(thread,PNUM), 130 predlog_read(thread,0), 136 predlog_read(thread,1), 166 ({if (newvalue_missing(thread,RNUM) || 167 IS_CANCELLED(insn->new_value_producer_slot)) CANCEL; reglog_read(thread,RNUM);}), 174 ({if (newvalue_missing(thread,RNUM) || 175 …IS_CANCELLED(insn->new_value_producer_slot)) { STORE_ZERO; RNUM = -1; }; reglog_read(thread,RNUM);… [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
| H A D | commands.py | 96 thread = threading.Thread(target=writeThread, daemon=True) 97 thread.start() 98 self.threads.append(thread) 100 thread = threading.Thread(target=readStderrThread) 101 thread.start() 102 self.threads.append(thread) 105 thread = threading.Thread(target=readStdoutThread) 106 thread.start() 107 self.threads.append(thread) 113 for thread in self.threads: [all …]
|
| /openbmc/qemu/crypto/ |
| H A D | pbkdf.c | 55 mach_port_t thread; in qcrypto_pbkdf2_get_thread_cpu() 60 thread = mach_thread_self(); in qcrypto_pbkdf2_get_thread_cpu() 62 kr = thread_info(thread, THREAD_BASIC_INFO, (thread_info_t)&info, &count); in qcrypto_pbkdf2_get_thread_cpu() 63 mach_port_deallocate(mach_task_self(), thread); in qcrypto_pbkdf2_get_thread_cpu() 176 QemuThread thread; in qcrypto_pbkdf2_count_iters() local 178 qemu_thread_create(&thread, "pbkdf2", threaded_qcrypto_pbkdf2_count_iters, in qcrypto_pbkdf2_count_iters() 180 qemu_thread_join(&thread); in qcrypto_pbkdf2_count_iters()
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntp/ntp/ |
| H A D | 0001-sntp-Fix-types-in-check-for-pthread_detach.patch | 12 sntp/m4/openldap-thread-check.m4 | 5 +---- 15 diff --git a/sntp/m4/openldap-thread-check.m4 b/sntp/m4/openldap-thread-check.m4 17 --- a/sntp/m4/openldap-thread-check.m4 18 +++ b/sntp/m4/openldap-thread-check.m4
|
| /openbmc/qemu/tests/qtest/ |
| H A D | ivshmem-test.c | 245 GThread *thread; member 309 ServerThread thread; in test_ivshmem_server() local 323 thread.server = &server; in test_ivshmem_server() 324 g_unix_open_pipe(thread.pipe, FD_CLOEXEC, &err); in test_ivshmem_server() 326 thread.thread = g_thread_new("ivshmem-server", server_thread, &thread); in test_ivshmem_server() 327 g_assert(thread.thread != NULL); in test_ivshmem_server() 370 if (qemu_write_full(thread.pipe[1], "q", 1) != 1) { in test_ivshmem_server() 374 g_thread_join(thread.thread); in test_ivshmem_server() 377 close(thread.pipe[1]); in test_ivshmem_server() 378 close(thread.pipe[0]); in test_ivshmem_server()
|
| /openbmc/u-boot/arch/arm/include/asm/proc-armv/ |
| H A D | domain.h | 43 unsigned int domain = current->thread.domain; \ 46 current->thread.domain = domain; \ 47 set_domain(current->thread.domain); \
|
| /openbmc/qemu/docs/system/ |
| H A D | cpu-hotplug.rst | 39 "thread-id": 0 48 "thread-id": 0 65 (QEMU) device_add id=cpu-2 driver=IvyBridge-IBRS-x86_64-cpu socket-id=0 core-id=1 thread-id=0 73 "thread-id": 0 96 "thread-id": 0 100 "thread-id": 28957 107 "thread-id": 0 111 "thread-id": 29095
|
| /openbmc/u-boot/doc/device-tree-bindings/mailbox/ |
| H A D | k3-secure-proxy.txt | 5 configurable threads maintained by System power processor. Each thread 17 - #mbox-cells Shall be 1. Contains the thread ID. 35 # RX thread ID is 4. 36 # TX thread ID is 5.
|
| /openbmc/qemu/tests/tcg/multiarch/ |
| H A D | sigreturn-sigmask.c | 32 pthread_t thread; in main() local 45 assert(pthread_create(&thread, NULL, thread_func, NULL) == 0); in main() 48 assert(pthread_join(thread, NULL) == 0); in main()
|
| /openbmc/qemu/docs/devel/migration/ |
| H A D | dirty-limit.rst | 13 main --------------> throttle thread ------------> PREPARE(1) <-------- 14 thread \ | | 25 -> virtual CPU thread -------> ACCEPT PENALTY(4) 29 the QEMU main thread starts the throttle thread. The throttle thread, once 59 After completing the three above stages, the throttle thread loops back 62 On the other hand, each virtual CPU thread reads the sleep duration and
|
| /openbmc/qemu/tests/tcg/x86_64/ |
| H A D | cross-modifying-code.c | 59 pthread_t thread; in main() local 64 err = pthread_create(&thread, NULL, &thread_func, &command); in main() 73 err = pthread_join(thread, NULL); in main()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
| H A D | oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch | 23 @@ -23,7 +23,7 @@ use std::thread; 26 thread::spawn(|| { 27 - thread::sleep_ms(5000); 28 + thread::sleep_ms(50000);
|