Searched refs:threads (Results 226 - 250 of 271) sorted by relevance

1234567891011

/linux-master/arch/um/kernel/
H A Dtime.c17 #include <linux/threads.h>
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c25 #include <linux/threads.h>
/linux-master/tools/perf/util/
H A Devlist.h96 struct perf_thread_map *threads);
H A Dmachine.c91 threads__init(&machine->threads);
192 threads__remove_all_threads(&machine->threads);
209 threads__exit(&machine->threads);
519 struct thread *th = threads__find(&machine->threads, tid);
529 th = threads__findnew(&machine->threads, pid, tid, &created);
541 threads__remove(&machine->threads, th);
979 size_t ret = fprintf(fp, "Threads: %zu\n", threads__nr(&machine->threads));
1907 return threads__remove(&machine->threads, th);
3041 return threads__for_each_thread(&machine->threads, fn, priv);
H A Dauxtrace.c188 if (evlist->core.threads)
189 mp->tid = perf_thread_map__pid(evlist->core.threads, 0);
194 mp->tid = perf_thread_map__pid(evlist->core.threads, idx);
/linux-master/arch/loongarch/kernel/
H A Dsmp.c19 #include <linux/threads.h>
42 /* Representing the threads (siblings) of each logical CPU */
/linux-master/include/linux/
H A Dworkqueue.h13 #include <linux/threads.h>
374 * execute the worker threads, which has an unfortunate side effect
H A Dcpumask.h12 #include <linux/threads.h>
/linux-master/arch/x86/include/asm/
H A Dprocessor.h34 #include <linux/threads.h>
/linux-master/arch/alpha/kernel/
H A Dsmp.c21 #include <linux/threads.h>
145 /* All kernel threads share the same mm context. */
/linux-master/arch/x86/kernel/
H A Dhead_64.S14 #include <linux/threads.h>
/linux-master/tools/perf/
H A Dbuiltin-script.c158 struct perf_thread_map *threads; member in struct:perf_script
2294 int nthreads = perf_thread_map__nr(counter->core.threads);
2313 perf_thread_map__pid(counter->core.threads, thread),
2807 perf_thread_map__put(script->threads);
3703 if (!script->cpus || !script->threads)
3709 perf_evlist__set_maps(&evlist->core, script->cpus, script->threads);
3728 if (script->threads) {
3733 script->threads = thread_map__new_event(&event->thread_map);
3734 if (!script->threads)
H A Dbuiltin-ftrace.c268 for (i = 0; i < perf_thread_map__nr(ftrace->evlist->core.threads); i++) {
270 perf_thread_map__pid(ftrace->evlist->core.threads, i));
H A Dbuiltin-trace.c1236 * a session and some threads are waiting for a syscall to finish, say 'poll',
1671 evlist->core.threads, trace__tool_process,
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 ||
4328 /* Identical number of threads, place smaller tids first. */
4337 LIST_HEAD(threads);
4339 if (machine__thread_list(trace->host, &threads)
[all...]
H A Dbuiltin-top.c1030 counter->core.threads) < 0) {
1285 top->evlist->core.threads, true, false,
/linux-master/include/asm-generic/
H A Dpercpu.h6 #include <linux/threads.h>
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_native.c15 #include <linux/threads.h>
/linux-master/drivers/acpi/acpica/
H A Daclocal.h1198 acpi_thread_id *threads; member in struct:acpi_db_method_info
1214 * For the Threads command, the Number of threads, ID of current
/linux-master/arch/powerpc/kernel/
H A Dhead_64.S22 #include <linux/threads.h>
286 * number. There are two threads per core, so shift everything
H A Dprom.c17 #include <linux/threads.h>
356 * Now see if any of these threads match our boot cpu.
/linux-master/kernel/debug/
H A Ddebug_core.c36 #include <linux/threads.h>
/linux-master/arch/powerpc/include/asm/
H A Dkvm_host.h17 #include <linux/threads.h>
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c1700 struct perf_thread_map *threads = counter->core.threads; local
1704 for (thread = 0; thread < perf_thread_map__nr(threads); thread++) {
1707 perf_thread_map__pid(threads, thread), tstamp,
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx8.asm364 // Change EXEC to all threads...
432 s_lshl_b32 s_save_buf_rsrc2, s_save_alloc_size, 8 //NUM_RECORDS in bytes (64 threads*4)
536 s_lshl_b32 s_restore_buf_rsrc2, s_restore_alloc_size, 8 //NUM_RECORDS in bytes (64 threads*4)
/linux-master/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c3251 /* Create waiter threads */
3364 pthread_t threads[3]; local
3368 * Start 3 threads:
3377 * If no events are missed, all three threads should eventually
3380 ASSERT_EQ(pthread_create(&threads[0], NULL,
3382 ASSERT_EQ(pthread_create(&threads[1], NULL,
3384 ASSERT_EQ(pthread_create(&threads[2], NULL,
3387 for (n = 0; n < ARRAY_SIZE(threads); ++n)
3388 ASSERT_EQ(pthread_join(threads[n], NULL), 0);
3476 * main will act as the emitter once both waiter threads ar
[all...]

Completed in 301 milliseconds

1234567891011