/linux-6.12.1/tools/perf/ |
D | builtin-record.c | 181 struct record_thread *thread_data; member 1019 static void record__thread_data_init_pipes(struct record_thread *thread_data) in record__thread_data_init_pipes() argument 1021 thread_data->pipes.msg[0] = -1; in record__thread_data_init_pipes() 1022 thread_data->pipes.msg[1] = -1; in record__thread_data_init_pipes() 1023 thread_data->pipes.ack[0] = -1; in record__thread_data_init_pipes() 1024 thread_data->pipes.ack[1] = -1; in record__thread_data_init_pipes() 1027 static int record__thread_data_open_pipes(struct record_thread *thread_data) in record__thread_data_open_pipes() argument 1029 if (pipe(thread_data->pipes.msg)) in record__thread_data_open_pipes() 1032 if (pipe(thread_data->pipes.ack)) { in record__thread_data_open_pipes() 1033 close(thread_data->pipes.msg[0]); in record__thread_data_open_pipes() [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/ |
D | thread-utils.c | 22 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()
|
D | thread-utils.h | 16 int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
|
/linux-6.12.1/tools/perf/tests/ |
D | mmap-thread-lookup.c | 25 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.12.1/tools/perf/bench/ |
D | futex-wake-parallel.c | 40 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()
|
D | sched-pipe.c | 33 struct thread_data { struct 170 struct thread_data *td = __tdata; in worker_thread() 199 struct thread_data threads[2] = {}; in bench_sched_pipe() 200 struct thread_data *td; in bench_sched_pipe()
|
D | numa.c | 56 struct thread_data { struct 151 struct thread_data *threads; 538 struct thread_data *td; in parse_setup_cpu_list() 686 struct thread_data *td; in parse_setup_node_list() 936 struct thread_data *td; in count_process_nodes() 975 struct thread_data *td; in count_node_processes() 1049 struct thread_data *td = g->threads + t; in calc_convergence() 1155 struct thread_data *td = __tdata; in worker_thread() 1168 u8 *thread_data; in worker_thread() local 1181 thread_data = setup_private_data(g->p.bytes_thread); in worker_thread() [all …]
|
/linux-6.12.1/tools/testing/selftests/rseq/ |
D | param_test.c | 455 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local 456 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread() 459 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 462 reps = thread_data->reps; in test_percpu_spinlock_thread() 475 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 494 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local 498 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 500 thread_data[i].reg = 1; in test_percpu_spinlock() 502 thread_data[i].reg = 0; in test_percpu_spinlock() 503 thread_data[i].data = &data; in test_percpu_spinlock() [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/mte/ |
D | check_gcr_el1_cswitch.c | 72 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.12.1/lib/ |
D | test_rhashtable.c | 73 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.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 1574 struct thread_data { struct 1838 struct thread_data threads; 1898 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument 1899 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 1907 struct thread_data *t; in for_all_cpus() 1928 int is_cpu_first_thread_in_core(struct thread_data *t, struct core_data *c, struct pkg_data *p) in is_cpu_first_thread_in_core() 1935 int is_cpu_first_core_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p) in is_cpu_first_core_in_package() 1942 int is_cpu_first_thread_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p) in is_cpu_first_thread_in_package() 2509 int dump_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in dump_counters() 2620 int format_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p) in format_counters() [all …]
|