Home
last modified time | relevance | path

Searched refs:thread_data (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/tests/
A Dmmap-thread-lookup.c25 struct thread_data { struct
32 static struct thread_data threads[THREADS]; argument
34 static int thread_init(struct thread_data *td) in thread_init()
56 struct thread_data *td = arg; in thread_fn()
81 struct thread_data *td = &threads[i]; in thread_create()
101 struct thread_data *td0 = &threads[0]; in threads_create()
118 struct thread_data *td0 = &threads[0]; in threads_destroy()
186 struct thread_data *td = &threads[i]; in mmap_events()
/linux/tools/testing/selftests/rseq/
A Dparam_test.c369 reps = thread_data->reps; in test_percpu_spinlock_thread()
407 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
409 thread_data[i].reg = 1; in test_percpu_spinlock()
411 thread_data[i].reg = 0; in test_percpu_spinlock()
412 thread_data[i].data = &data; in test_percpu_spinlock()
415 &thread_data[i]); in test_percpu_spinlock()
448 reps = thread_data->reps; in test_percpu_inc_thread()
485 thread_data[i].reg = 1; in test_percpu_inc()
487 thread_data[i].reg = 0; in test_percpu_inc()
488 thread_data[i].data = &data; in test_percpu_inc()
[all …]
/linux/tools/perf/bench/
A Dfutex-wake-parallel.c39 struct thread_data { struct
78 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn()
97 static void wakeup_threads(struct thread_data *td, pthread_attr_t thread_attr) in wakeup_threads()
165 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run()
206 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats()
230 struct thread_data *waking_worker; in bench_futex_wake_parallel()
A Dsched-pipe.c30 struct thread_data { struct
56 struct thread_data *td = __tdata; in worker_thread() argument
79 struct thread_data threads[2], *td; in bench_sched_pipe()
A Dnuma.c55 struct thread_data { struct
151 struct thread_data *threads;
514 struct thread_data *td; in parse_setup_cpu_list()
651 struct thread_data *td; in parse_setup_node_list()
903 struct thread_data *td; in count_process_nodes()
942 struct thread_data *td; in count_node_processes()
1016 struct thread_data *td = g->threads + t; in calc_convergence()
1122 struct thread_data *td = __tdata; in worker_thread()
1135 u8 *thread_data; in worker_thread() local
1319 struct thread_data *td; in worker_process()
[all …]
/linux/tools/testing/selftests/arm64/mte/
A Dcheck_gcr_el1_cswitch.c83 int thread_data[MAX_THREADS]; in execute_test() local
90 pthread_join(thread_id[i], (void *)&thread_data[i]); in execute_test()
93 if (thread_data[i] == KSFT_FAIL) in execute_test()
/linux/samples/bpf/
A Dxsk_fwd.c639 struct thread_data { struct
664 struct thread_data *t = arg; in thread_func() argument
759 static struct thread_data thread_data[MAX_THREADS]; variable
816 thread_data[n_threads].cpu_core_id = atoi(optarg); in parse_args()
879 struct thread_data *t = &thread_data[thread_id]; in print_thread()
1022 struct thread_data *t = &thread_data[i]; in main()
1042 &thread_data[i]); in main()
1072 thread_data[i].quit = 1; in main()
/linux/tools/power/x86/turbostat/
A Dturbostat.c179 struct thread_data { struct
398 struct thread_data threads;
456 struct thread_data *t; in for_all_cpus()
1493 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread()
1577 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu()
1942 void get_apic_id(struct thread_data *t) in get_apic_id()
2928 struct pkg_data *, struct thread_data *, struct core_data *, in for_all_cpus_2()
2929 struct pkg_data *), struct thread_data *thread_base, in for_all_cpus_2()
2939 struct thread_data *t, *t2; in for_all_cpus_2()
5752 *t = calloc(num_threads, sizeof(struct thread_data)); in allocate_counters()
[all …]
/linux/lib/
A Dtest_rhashtable.c72 struct thread_data { struct
602 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test()
635 struct thread_data *tdata = data; in threadfunc()
702 struct thread_data *tdata; in test_rht_init()
762 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()

Completed in 37 milliseconds