Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/tests/
Dmmap-thread-lookup.c22 struct thread_data { struct
29 static struct thread_data threads[THREADS]; argument
31 static int thread_init(struct thread_data *td) in thread_init()
53 struct thread_data *td = arg; in thread_fn()
78 struct thread_data *td = &threads[i]; in thread_create()
98 struct thread_data *td0 = &threads[0]; in threads_create()
115 struct thread_data *td0 = &threads[0]; in threads_destroy()
183 struct thread_data *td = &threads[i]; in mmap_events()
/Linux-v4.19/tools/testing/selftests/rseq/
Dparam_test.c360 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
361 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
364 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
367 reps = thread_data->reps; in test_percpu_spinlock_thread()
381 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
400 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
404 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
406 thread_data[i].reg = 1; in test_percpu_spinlock()
408 thread_data[i].reg = 0; in test_percpu_spinlock()
409 thread_data[i].data = &data; in test_percpu_spinlock()
[all …]
/Linux-v4.19/tools/perf/bench/
Dfutex-wake-parallel.c38 struct thread_data { struct
74 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn()
93 static void wakeup_threads(struct thread_data *td, pthread_attr_t thread_attr) in wakeup_threads()
161 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run()
202 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats()
226 struct thread_data *waking_worker; in bench_futex_wake_parallel()
Dsched-pipe.c33 struct thread_data { struct
59 struct thread_data *td = __tdata; in worker_thread() argument
82 struct thread_data threads[2], *td; in bench_sched_pipe()
Dnuma.c52 struct thread_data { struct
147 struct thread_data *threads;
488 struct thread_data *td; in parse_setup_cpu_list()
625 struct thread_data *td; in parse_setup_node_list()
877 struct thread_data *td; in count_process_nodes()
913 struct thread_data *td; in count_node_processes()
985 struct thread_data *td = g->threads + t; in calc_convergence()
1087 struct thread_data *td = __tdata; in worker_thread()
1100 u8 *thread_data; in worker_thread() local
1113 thread_data = setup_private_data(g->p.bytes_thread); in worker_thread()
[all …]
/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c164 struct thread_data { struct
267 struct thread_data threads;
309 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument
310 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus()
320 struct thread_data *t; in for_all_cpus()
776 int dump_counters(struct thread_data *t, struct core_data *c, in dump_counters()
862 int format_counters(struct thread_data *t, struct core_data *c, in format_counters()
1159 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_all_counters()
1262 delta_thread(struct thread_data *new, struct thread_data *old, in delta_thread()
1344 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu()
[all …]
/Linux-v4.19/lib/
Dtest_rhashtable.c75 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()
699 struct thread_data *tdata; in test_rht_init()
759 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()