Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/
H A Dbuiltin-record.c1044 thread_data->pipes.msg[0], thread_data->pipes.msg[1], in record__thread_data_open_pipes()
1045 thread_data->pipes.ack[0], thread_data->pipes.ack[1]); in record__thread_data_open_pipes()
1101 thread_data->nr_mmaps, thread_data->maps, thread_data->overwrite_maps); in record__thread_data_init_maps()
1131 map = thread_data->maps ? thread_data->maps[tm] : NULL; in record__thread_data_init_pollfd()
1155 struct record_thread *thread_data = rec->thread_data; in record__free_thread_data() local
1244 thread_data = rec->thread_data; in record__alloc_thread_data()
1277 thread_data, thread_data[t].ctlfd_pos, in record__alloc_thread_data()
2262 struct record_thread *thread_data = rec->thread_data; in record__start_threads() local
2325 struct record_thread *thread_data = rec->thread_data; in record__stop_threads() local
2337 thread_data[t].samples, thread_data[t].waking); in record__stop_threads()
[all …]
/linux-6.15/drivers/md/dm-vdo/
H A Dthread-utils.c22 void (*thread_function)(void *thread_data);
23 void *thread_data; member
44 thread->thread_function(thread->thread_data); in thread_starter()
50 int vdo_create_thread(void (*thread_function)(void *), void *thread_data, in vdo_create_thread() argument
66 thread->thread_data = thread_data; in vdo_create_thread()
H A Dthread-utils.h16 int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
/linux-6.15/tools/perf/tests/
H 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-6.15/tools/perf/bench/
H A Dfutex-wake-parallel.c40 struct thread_data { struct
79 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn()
98 static void wakeup_threads(struct thread_data *td) in wakeup_threads()
183 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run()
224 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats()
247 struct thread_data *waking_worker; in bench_futex_wake_parallel()
H A Dsched-pipe.c34 struct thread_data { struct
173 static inline int read_pipe(struct thread_data *td) in read_pipe()
190 struct thread_data *td = __tdata; in worker_thread()
218 struct thread_data threads[2] = {}; in bench_sched_pipe()
219 struct thread_data *td; in bench_sched_pipe()
H A Dnuma.c58 struct thread_data { struct
153 struct thread_data *threads;
591 struct thread_data *td; in parse_setup_cpu_list()
739 struct thread_data *td; in parse_setup_node_list()
989 struct thread_data *td; in count_process_nodes()
1028 struct thread_data *td; in count_node_processes()
1102 struct thread_data *td = g->threads + t; in calc_convergence()
1208 struct thread_data *td = __tdata; in worker_thread()
1221 u8 *thread_data; in worker_thread() local
1406 struct thread_data *td; in worker_process()
[all …]
/linux-6.15/tools/testing/selftests/rseq/
H A Dparam_test.c486 reps = thread_data->reps; in test_percpu_spinlock_thread()
522 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
524 thread_data[i].reg = 1; in test_percpu_spinlock()
526 thread_data[i].reg = 0; in test_percpu_spinlock()
527 thread_data[i].data = &data; in test_percpu_spinlock()
530 &thread_data[i]); in test_percpu_spinlock()
563 reps = thread_data->reps; in test_percpu_inc_thread()
601 thread_data[i].reg = 1; in test_percpu_inc()
603 thread_data[i].reg = 0; in test_percpu_inc()
604 thread_data[i].data = &data; in test_percpu_inc()
[all …]
/linux-6.15/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c72 int thread_data[MAX_THREADS]; in execute_test() local
79 pthread_join(thread_id[i], (void *)&thread_data[i]); in execute_test()
82 if (thread_data[i] == KSFT_FAIL) in execute_test()
/linux-6.15/tools/testing/selftests/landlock/
H A Daudit_test.c161 struct thread_data { struct
168 const struct thread_data *data = (struct thread_data *)arg; in thread_audit_test() argument
229 struct thread_data child_data; in TEST_F()
/linux-6.15/lib/
H A Dtest_rhashtable.c73 struct thread_data { struct
587 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test()
620 struct thread_data *tdata = data; in threadfunc()
687 struct thread_data *tdata; in test_rht_init()
747 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data))); in test_rht_init()
/linux-6.15/tools/power/x86/turbostat/
H A Dturbostat.c1735 struct thread_data { struct
2009 struct thread_data threads;
2086 struct thread_data *t; in for_all_cpus()
3540 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread()
3645 int delta_cpu(struct thread_data *t, struct core_data *c, in delta_cpu()
4162 void get_apic_id(struct thread_data *t) in get_apic_id()
4650 int get_smi_aperf_mperf(unsigned int cpu, struct thread_data *t) in get_smi_aperf_mperf()
5776 struct pkg_data *), struct thread_data *thread_base, in for_all_cpus_2()
5788 struct thread_data *t, *t2; in for_all_cpus_2()
8765 *t = calloc(num_threads, sizeof(struct thread_data)); in allocate_counters()
[all …]