/kernel/linux/linux-6.6/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1687 struct perf_thread_map *threads = counter->core.threads; in python_process_stat() local 1691 for (thread = 0; thread < perf_thread_map__nr(threads); thread++) { in python_process_stat() 1694 perf_thread_map__pid(threads, thread), tstamp, in python_process_stat()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateIntervalFormatTest.java | 2049 // These final variables are accessed directly by the concurrent threads. in TestTicket11669() 2095 List<TestThread> threads = new ArrayList<>(); in TestTicket11669() 2097 threads.add(new TestThread()); in TestTicket11669() 2099 for (Thread t: threads) { in TestTicket11669() 2102 for (TestThread t: threads) { in TestTicket11669()
|
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder.c | 22 * (proc->threads, proc->waiting_threads, proc->nodes) 508 /* (e)poll-based threads require an explicit wakeup signal when in binder_enqueue_thread_work_ilocked() 510 * messages without I/O block. Without it, threads risk waiting in binder_enqueue_thread_work_ilocked() 620 for (n = rb_first(&proc->threads); n != NULL; n = rb_next(n)) { in binder_wakeup_poll_threads_ilocked() 669 * will wake up threads that have called poll(). 692 * 1. All threads are busy handling transactions in binder_wakeup_thread_ilocked() 693 * In that case, one of those threads should call back into in binder_wakeup_thread_ilocked() 698 * over all threads not handling transaction work, and in binder_wakeup_thread_ilocked() 1504 * by threads that are being released. When done with the binder_proc, 1506 * proc if appropriate (proc has been released, all threads hav 5991 int threads, nodes, incoming_refs, outgoing_refs, active_transactions; binder_deferred_release() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-trace.c | 1227 * a session and some threads are waiting for a syscall to finish, say 'poll', 1625 evlist->core.threads, trace__tool_process, false, in trace__symbols_init() 3687 * case where no threads were specified in the command line, but a 3698 } else if (perf_thread_map__pid(trace->evlist->core.threads, 0) == -1) { 4059 trace->multiple_threads = perf_thread_map__pid(evlist->core.threads, 0) == -1 || 4060 evlist->core.threads->nr > 1 || 4396 DEFINE_RESORT_RB(threads, (thread__nr_events(a->thread->priv) < thread__nr_events(b->thread->priv)), 4410 DECLARE_RESORT_RB_MACHINE_THREADS(threads, trace->host, i); 4412 if (threads == NULL) { 4417 resort_rb__for_each_entry(nd, threads) [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-trace.c | 1235 * a session and some threads are waiting for a syscall to finish, say 'poll', 1670 evlist->core.threads, trace__tool_process, in trace__symbols_init() 3609 * case where no threads were specified in the command line, but a 3620 } else if (perf_thread_map__pid(trace->evlist->core.threads, 0) == -1) { 3850 /* Enable ignoring missing threads when -u/-p option is defined. */ 3982 trace->multiple_threads = perf_thread_map__pid(evlist->core.threads, 0) == -1 || 3983 perf_thread_map__nr(evlist->core.threads) > 1 || 4317 DEFINE_RESORT_RB(threads, 4333 DECLARE_RESORT_RB_MACHINE_THREADS(threads, trace->host, i); 4335 if (threads [all...] |
H A D | builtin-script.c | 156 struct perf_thread_map *threads; member 2278 int nthreads = perf_thread_map__nr(counter->core.threads); in __process_stat() 2297 perf_thread_map__pid(counter->core.threads, thread), in __process_stat() 2791 perf_thread_map__put(script->threads); in perf_script__exit() 3680 if (!script->cpus || !script->threads) in set_maps() 3686 perf_evlist__set_maps(&evlist->core, script->cpus, script->threads); in set_maps() 3705 if (script->threads) { in process_thread_map_event() 3710 script->threads = thread_map__new_event(&event->thread_map); in process_thread_map_event() 3711 if (!script->threads) in process_thread_map_event()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiObjectManagementTests.cpp | 95 * Thread group manages collection of threads that are expected to be 100 * an exception is safe, and other threads will continue execution. The 109 * threads. 2921 ThreadGroup threads; in multithreadedCreateSharedResourcesTest() local 2926 threads.add(MovePtr<ThreadGroupThread>(new CreateThread<Object>(env, res, params))); in multithreadedCreateSharedResourcesTest() 2928 return threads.run(); in multithreadedCreateSharedResourcesTest() 2942 ThreadGroup threads; in multithreadedCreatePerThreadResourcesTest() local 2949 threads.add(MovePtr<ThreadGroupThread>(new CreateThread<Object>(env, *resources[ndx], params))); in multithreadedCreatePerThreadResourcesTest() 2952 return threads.run(); in multithreadedCreatePerThreadResourcesTest() 3001 ThreadGroup threads; in multithreadedCreatePerThreadDeviceTest() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiObjectManagementTests.cpp | 95 * Thread group manages collection of threads that are expected to be 100 * an exception is safe, and other threads will continue execution. The 109 * threads. 2921 ThreadGroup threads; in multithreadedCreateSharedResourcesTest() local 2926 threads.add(MovePtr<ThreadGroupThread>(new CreateThread<Object>(env, res, params))); in multithreadedCreateSharedResourcesTest() 2928 return threads.run(); in multithreadedCreateSharedResourcesTest() 2942 ThreadGroup threads; in multithreadedCreatePerThreadResourcesTest() local 2949 threads.add(MovePtr<ThreadGroupThread>(new CreateThread<Object>(env, *resources[ndx], params))); in multithreadedCreatePerThreadResourcesTest() 2952 return threads.run(); in multithreadedCreatePerThreadResourcesTest() 3001 ThreadGroup threads; in multithreadedCreatePerThreadDeviceTest() local [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
H A D | ReactorUnitTests.cpp | 2625 // Test generating one coroutine, and executing it on multiple threads. This makes 2653 std::vector<std::thread> threads; 2658 threads.emplace_back([&] { 2670 for(auto &t : threads) 3387 auto threads = std::unique_ptr<std::thread[]>(new std::thread[numThreads]); 3406 threads[t] = std::thread(threadFunc, t); 3411 threads[t].join(); 3442 auto threads = std::unique_ptr<std::thread[]>(new std::thread[numThreads]); 3468 threads[t] = std::thread(threadFunc, t); 3473 threads[ [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 3236 /* Create waiter threads */ in TEST() 3349 pthread_t threads[3]; in TEST() local 3353 * Start 3 threads: in TEST() 3362 * If no events are missed, all three threads should eventually in TEST() 3365 ASSERT_EQ(pthread_create(&threads[0], NULL, in TEST() 3367 ASSERT_EQ(pthread_create(&threads[1], NULL, in TEST() 3369 ASSERT_EQ(pthread_create(&threads[2], NULL, in TEST() 3372 for (n = 0; n < ARRAY_SIZE(threads); ++n) in TEST() 3373 ASSERT_EQ(pthread_join(threads[n], NULL), 0); in TEST()
|
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/epoll/ |
H A D | epoll_wakeup_test.c | 3251 /* Create waiter threads */ in TEST() 3364 pthread_t threads[3]; in TEST() local 3368 * Start 3 threads: in TEST() 3377 * If no events are missed, all three threads should eventually in TEST() 3380 ASSERT_EQ(pthread_create(&threads[0], NULL, in TEST() 3382 ASSERT_EQ(pthread_create(&threads[1], NULL, in TEST() 3384 ASSERT_EQ(pthread_create(&threads[2], NULL, in TEST() 3387 for (n = 0; n < ARRAY_SIZE(threads); ++n) in TEST() 3388 ASSERT_EQ(pthread_join(threads[n], NULL), 0); in TEST() 3476 * main will act as the emitter once both waiter threads ar in TEST() [all...] |
/third_party/python/Lib/test/ |
H A D | _test_multiprocessing.py | 196 ALLOWED_TYPES = ('processes', 'manager', 'threads') 245 ALLOWED_TYPES = ('processes', 'threads') 248 if self.TYPE == 'threads': 262 if self.TYPE == 'threads': 301 if self.TYPE == "threads": 318 if cls.TYPE != 'threads': 323 if self.TYPE == "threads": 343 if self.TYPE == "threads": 392 if self.TYPE != 'threads': 409 if self.TYPE != 'threads' [all...] |
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | processor.h | 70 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
H A D | pgtable.h | 64 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | irq_ia64.c | 30 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
H A D | entry.S | 11 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | smp.c | 15 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | stackframe.h | 14 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 205 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | irq.c | 30 #include <linux/threads.h>
|
H A D | swsusp_32.S | 2 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/um/os-Linux/skas/ |
H A D | process.c | 25 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | head_32.S | 11 #include <linux/threads.h>
|
H A D | head_64.S | 14 #include <linux/threads.h>
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | processor.h | 33 #include <linux/threads.h>
|