| /linux/tools/perf/ |
| H A D | builtin-record.c | 186 struct record_thread *thread_data; member 1006 static void record__thread_data_init_pipes(struct record_thread *thread_data) in record__thread_data_init_pipes() argument 1008 thread_data->pipes.msg[0] = -1; in record__thread_data_init_pipes() 1009 thread_data->pipes.msg[1] = -1; in record__thread_data_init_pipes() 1010 thread_data->pipes.ack[0] = -1; in record__thread_data_init_pipes() 1011 thread_data->pipes.ack[1] = -1; in record__thread_data_init_pipes() 1014 static int record__thread_data_open_pipes(struct record_thread *thread_data) in record__thread_data_open_pipes() argument 1016 if (pipe(thread_data->pipes.msg)) in record__thread_data_open_pipes() 1019 if (pipe(thread_data->pipes.ack)) { in record__thread_data_open_pipes() 1020 close(thread_data in record__thread_data_open_pipes() 1034 record__thread_data_close_pipes(struct record_thread * thread_data) record__thread_data_close_pipes() argument 1059 record__thread_data_init_maps(struct record_thread * thread_data,struct evlist * evlist) record__thread_data_init_maps() argument 1107 record__thread_data_init_pollfd(struct record_thread * thread_data,struct evlist * evlist) record__thread_data_init_pollfd() argument 1139 struct record_thread *thread_data = rec->thread_data; record__free_thread_data() local 1170 record__update_evlist_pollfd_from_thread(struct record * rec,struct evlist * evlist,struct record_thread * thread_data) record__update_evlist_pollfd_from_thread() argument 1194 record__dup_non_perf_events(struct record * rec,struct evlist * evlist,struct record_thread * thread_data) record__dup_non_perf_events() argument 1221 struct record_thread *thread_data; record__alloc_thread_data() local 2306 record__terminate_thread(struct record_thread * thread_data) record__terminate_thread() argument 2327 struct record_thread *thread_data = rec->thread_data; record__start_threads() local 2390 struct record_thread *thread_data = rec->thread_data; record__stop_threads() local 2417 struct record_thread *thread_data = rec->thread_data; record__waking() local [all...] |
| /linux/tools/perf/tests/ |
| H A D | mmap-thread-lookup.c | 26 struct thread_data { struct 33 static struct thread_data threads[THREADS]; argument 35 static int thread_init(struct thread_data *td) in thread_init() 57 struct thread_data *td = arg; in thread_fn() 82 struct thread_data *td = &threads[i]; in thread_create() 102 struct thread_data *td0 = &threads[0]; in threads_create() 119 struct thread_data *td0 = &threads[0]; in threads_destroy() 189 struct thread_data *td = &threads[i]; in mmap_events()
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | param_test.c | 482 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local 483 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread() 486 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 489 reps = thread_data->reps; in test_percpu_spinlock_thread() 502 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread() 521 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local 525 thread_data[i].reps = opt_reps; in test_percpu_spinlock() 527 thread_data[i].reg = 1; in test_percpu_spinlock() 529 thread_data[i].reg = 0; in test_percpu_spinlock() 530 thread_data[i].data = &data; in test_percpu_spinlock() [all …]
|
| /linux/tools/perf/bench/ |
| H A D | futex-wake-parallel.c | 40 struct thread_data { struct 82 struct thread_data *waker = (struct thread_data *) arg; in waking_workerfn() 101 static void wakeup_threads(struct thread_data *td) in wakeup_threads() 186 static void print_run(struct thread_data *waking_worker, unsigned int run_num) in print_run() 228 static void do_run_stats(struct thread_data *waking_worker) in do_run_stats() 251 struct thread_data *waking_worker; in bench_futex_wake_parallel()
|
| /linux/tools/testing/selftests/arm64/mte/ |
| H A 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/drivers/md/dm-vdo/ |
| H A D | thread-utils.h | 16 int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | audit_test.c | 163 struct thread_data { 171 const struct thread_data *data = (struct thread_data *)arg; in thread_audit_test() 232 struct thread_data child_data; in TEST_F() 377 const struct thread_data *data = (struct thread_data *)arg; in TEST_F() 455 struct thread_data child_data = {}; in matches_log_fs_read_root() 538 struct thread_data child_data = {}; in FIXTURE_TEARDOWN() 162 struct thread_data { global() struct 169 pipe_parentthread_data thread_audit_test() argument
|
| /linux/lib/ |
| H A 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/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2117 struct thread_data { struct 2375 struct thread_data *threads; 2456 #define PER_THREAD_PARAMS struct thread_data *t, struct core_data *c, struct pkg_data *p 2474 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument 2475 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 2482 struct thread_data *t; in for_all_cpus() 2523 int is_cpu_first_thread_in_core(struct thread_data *t, struct core_data *c) in is_cpu_first_thread_in_core() 2528 int is_cpu_first_core_in_package(struct thread_data *t, struct pkg_data *p) in is_cpu_first_core_in_package() 2533 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() 3965 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread() [all …]
|