/linux-master/tools/perf/bench/ |
H A D | evlist-open-close.c | 74 cnt += evsel->core.threads->nr * perf_cpu_map__nr(evsel->core.cpus); 155 printf(" Number of threads:\t%d\n", evlist->core.threads->nr); 251 /* Enable ignoring missing threads when -u/-p option is defined. */
|
/linux-master/tools/perf/scripts/python/ |
H A D | gecko.py | 312 threads = [thread._to_json_dict() for thread in tid_to_thread.values()] 332 "threads": threads,
|
H A D | sched-migration.py | 31 threads = { 0 : "idle"} variable 34 return "%s:%d" % (threads[pid], pid) 344 threads[prev_pid] = prev_comm 345 threads[next_pid] = next_comm
|
/linux-master/drivers/md/dm-vdo/ |
H A D | dump.c | 69 if (((dump_options_requested & FLAG_SHOW_QUEUES) != 0) && (vdo->threads != NULL)) { 73 vdo_dump_work_queue(vdo->threads[id].queue); 99 { "threads", FLAG_SKIP_DEFAULT | FLAG_SHOW_QUEUES },
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_tlb_flush.c | 585 pthread_t threads[2]; local 648 r = pthread_create(&threads[0], NULL, vcpu_thread, vcpu[1]); 651 r = pthread_create(&threads[1], NULL, vcpu_thread, vcpu[2]); 677 cancel_join_vcpu_thread(threads[0], vcpu[1]); 678 cancel_join_vcpu_thread(threads[1], vcpu[2]);
|
H A D | private_mem_conversions_test.c | 382 pthread_t threads[KVM_MAX_VCPUS]; local 416 pthread_create(&threads[i], NULL, __test_mem_conversions, vcpus[i]); 422 pthread_join(threads[i], NULL);
|
/linux-master/tools/perf/ |
H A D | builtin-stat.c | 142 struct perf_thread_map *threads; member in struct:perf_stat 318 int nthreads = perf_thread_map__nr(evsel_list->core.threads); 526 struct perf_thread_map *threads) 534 for (i = 0; i < threads->nr; i++) { 538 threads->map[i].pid); 607 child_exited = !is_target_alive(&target, evsel_list->core.threads) ? 1 : 0; 661 evsel_list->core.threads && 662 evsel_list->core.threads->err_thread != -1) { 667 if (!thread_map__remove(evsel_list->core.threads, 668 evsel_list->core.threads 525 is_target_alive(struct target *_target, struct perf_thread_map *threads) argument [all...] |
/linux-master/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 405 pthread_t threads[DEFAULT_THREADS]; local 461 ret = pthread_create(&threads[i], &attr, binder_version_thread, INT_TO_PTR(fds[k])); 472 ret = pthread_join(threads[j], &fdptr);
|
/linux-master/scripts/ |
H A D | check-uapi.sh | 241 local -a threads=() 248 if [ "${#threads[@]}" -ge "$MAX_THREADS" ]; then 249 if wait "${threads[0]}"; then 254 threads=("${threads[@]:1}") 258 threads+=("$!") 261 for t in "${threads[@]}"; do
|
/linux-master/arch/sparc/include/asm/ |
H A D | trap_block.h | 5 #include <linux/threads.h>
|
/linux-master/arch/arm/kernel/ |
H A D | sleep.S | 3 #include <linux/threads.h>
|
/linux-master/arch/arm/mach-shmobile/ |
H A D | headsmp.S | 12 #include <linux/threads.h>
|
/linux-master/drivers/cpufreq/ |
H A D | sparc-us3-cpufreq.c | 15 #include <linux/threads.h>
|
/linux-master/arch/sh/mm/ |
H A D | cache-sh7705.c | 17 #include <linux/threads.h>
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_core.c | 372 * You can add threads/processes on a parent with a controller enabled. 546 * All threads of a process are migrated together. 553 pthread_t threads[n_threads]; local 569 if (pthread_create(&threads[c_threads], NULL, dummy_thread_fn, NULL)) 574 if (cg_read_lc(dst, "cgroup.threads") != n_threads + 1) 581 pthread_cancel(threads[t]); 585 pthread_join(threads[t], NULL);
|
/linux-master/arch/powerpc/kernel/ |
H A D | cputable.c | 11 #include <linux/threads.h>
|
/linux-master/include/linux/ |
H A D | torture.h | 16 #include <linux/threads.h>
|
/linux-master/arch/loongarch/include/asm/ |
H A D | kvm_host.h | 16 #include <linux/threads.h>
|
/linux-master/tools/perf/util/ |
H A D | stat.c | 157 int nthreads = perf_thread_map__nr(evsel->core.threads); 249 int idx, nthreads = perf_thread_map__nr(evsel->core.threads); 464 int nthreads = perf_thread_map__nr(counter->core.threads); 800 return evsel__open_per_thread(evsel, evsel->core.threads);
|
H A D | machine.h | 10 #include "threads.h" 42 struct threads threads; member in struct:machine 272 /* Make a list of struct thread_list based on threads in the machine. */
|
H A D | bpf_counter.c | 232 // threads but its possible showed 0-31 -acme 384 *filter_entry_cnt = perf_thread_map__nr(evsel->core.threads); 387 *filter_entry_cnt = perf_thread_map__nr(evsel->core.threads); 549 key = perf_thread_map__pid(evsel->core.threads, i);
|
/linux-master/arch/loongarch/kernel/ |
H A D | head.S | 6 #include <linux/threads.h>
|
/linux-master/arch/s390/include/asm/ |
H A D | pgalloc.h | 15 #include <linux/threads.h>
|
/linux-master/arch/powerpc/include/asm/ |
H A D | smp.h | 16 #include <linux/threads.h>
|
/linux-master/drivers/dma/ |
H A D | dmatest.c | 39 "Number of threads to start per channel (default: 1)"); 101 * @threads_per_chan: number of threads to start per channel 246 struct list_head threads; member in struct:dmatest_chan 259 list_for_each_entry(thread, &dtc->threads, node) { 275 list_for_each_entry(thread, &dtc->threads, node) { 563 * kthread_stop(). There may be multiple threads running this function 954 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { 1013 list_add_tail(&thread->node, &dtc->threads); 1035 INIT_LIST_HEAD(&dtc->threads); 1066 pr_info("Added %u threads usin [all...] |