Searched refs:threads (Results 151 - 175 of 271) sorted by relevance

1234567891011

/linux-master/tools/perf/bench/
H A Devlist-open-close.c74 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 Dgecko.py312 threads = [thread._to_json_dict() for thread in tid_to_thread.values()]
332 "threads": threads,
H A Dsched-migration.py31 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 Ddump.c69 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 Dhyperv_tlb_flush.c585 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 Dprivate_mem_conversions_test.c382 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 Dbuiltin-stat.c142 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 Dbinderfs_test.c405 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 Dcheck-uapi.sh241 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 Dtrap_block.h5 #include <linux/threads.h>
/linux-master/arch/arm/kernel/
H A Dsleep.S3 #include <linux/threads.h>
/linux-master/arch/arm/mach-shmobile/
H A Dheadsmp.S12 #include <linux/threads.h>
/linux-master/drivers/cpufreq/
H A Dsparc-us3-cpufreq.c15 #include <linux/threads.h>
/linux-master/arch/sh/mm/
H A Dcache-sh7705.c17 #include <linux/threads.h>
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c372 * 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 Dcputable.c11 #include <linux/threads.h>
/linux-master/include/linux/
H A Dtorture.h16 #include <linux/threads.h>
/linux-master/arch/loongarch/include/asm/
H A Dkvm_host.h16 #include <linux/threads.h>
/linux-master/tools/perf/util/
H A Dstat.c157 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 Dmachine.h10 #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 Dbpf_counter.c232 // 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 Dhead.S6 #include <linux/threads.h>
/linux-master/arch/s390/include/asm/
H A Dpgalloc.h15 #include <linux/threads.h>
/linux-master/arch/powerpc/include/asm/
H A Dsmp.h16 #include <linux/threads.h>
/linux-master/drivers/dma/
H A Ddmatest.c39 "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...]

Completed in 310 milliseconds

1234567891011