Searched refs:thread_data (Results 1 - 11 of 11) sorted by relevance

/linux-master/drivers/md/dm-vdo/
H A Dthread-utils.h16 int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
H A Dthread-utils.c22 void (*thread_function)(void *thread_data);
23 void *thread_data; member in struct:thread
44 thread->thread_function(thread->thread_data);
50 int vdo_create_thread(void (*thread_function)(void *), void *thread_data, argument
66 thread->thread_data = thread_data;
/linux-master/tools/perf/tests/
H A Dmmap-thread-lookup.c25 struct thread_data { struct
32 static struct thread_data threads[THREADS];
34 static int thread_init(struct thread_data *td)
56 struct thread_data *td = arg;
81 struct thread_data *td = &threads[i];
101 struct thread_data *td0 = &threads[0];
118 struct thread_data *td0 = &threads[0];
186 struct thread_data *td = &threads[i];
/linux-master/tools/perf/
H A Dbuiltin-record.c180 struct record_thread *thread_data; member in struct:record
1009 static void record__thread_data_init_pipes(struct record_thread *thread_data) argument
1011 thread_data->pipes.msg[0] = -1;
1012 thread_data->pipes.msg[1] = -1;
1013 thread_data->pipes.ack[0] = -1;
1014 thread_data->pipes.ack[1] = -1;
1017 static int record__thread_data_open_pipes(struct record_thread *thread_data) argument
1019 if (pipe(thread_data->pipes.msg))
1022 if (pipe(thread_data->pipes.ack)) {
1023 close(thread_data
1037 record__thread_data_close_pipes(struct record_thread *thread_data) argument
1062 record__thread_data_init_maps(struct record_thread *thread_data, struct evlist *evlist) argument
1110 record__thread_data_init_pollfd(struct record_thread *thread_data, struct evlist *evlist) argument
1142 struct record_thread *thread_data = rec->thread_data; local
1171 record__update_evlist_pollfd_from_thread(struct record *rec, struct evlist *evlist, struct record_thread *thread_data) argument
1195 record__dup_non_perf_events(struct record *rec, struct evlist *evlist, struct record_thread *thread_data) argument
1224 struct record_thread *thread_data; local
2246 record__terminate_thread(struct record_thread *thread_data) argument
2267 struct record_thread *thread_data = rec->thread_data; local
2330 struct record_thread *thread_data = rec->thread_data; local
2357 struct record_thread *thread_data = rec->thread_data; local
[all...]
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c72 int thread_data[MAX_THREADS]; local
79 pthread_join(thread_id[i], (void *)&thread_data[i]);
82 if (thread_data[i] == KSFT_FAIL)
/linux-master/tools/perf/bench/
H A Dfutex-wake-parallel.c40 struct thread_data { struct
79 struct thread_data *waker = (struct thread_data *) arg;
98 static void wakeup_threads(struct thread_data *td)
183 static void print_run(struct thread_data *waking_worker, unsigned int run_num)
224 static void do_run_stats(struct thread_data *waking_worker)
247 struct thread_data *waking_worker;
H A Dsched-pipe.c33 struct thread_data { struct
170 struct thread_data *td = __tdata;
199 struct thread_data threads[2] = {};
200 struct thread_data *td;
H A Dnuma.c56 struct thread_data { struct
151 struct thread_data *threads;
538 struct thread_data *td;
686 struct thread_data *td;
936 struct thread_data *td;
975 struct thread_data *td;
1049 struct thread_data *td = g->threads + t;
1155 struct thread_data *td = __tdata;
1168 u8 *thread_data; local
1181 thread_data
[all...]
/linux-master/tools/testing/selftests/rseq/
H A Dparam_test.c455 struct spinlock_thread_test_data *thread_data = arg; local
456 struct spinlock_test_data *data = thread_data->data;
459 if (!opt_disable_rseq && thread_data->reg &&
462 reps = thread_data->reps;
475 if (!opt_disable_rseq && thread_data->reg &&
494 struct spinlock_thread_test_data thread_data[num_threads]; local
498 thread_data[i].reps = opt_reps;
500 thread_data[i].reg = 1;
502 thread_data[i].reg = 0;
503 thread_data[
532 struct inc_thread_test_data *thread_data = arg; local
571 struct inc_thread_test_data thread_data[num_threads]; local
[all...]
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1155 struct thread_data { struct
1393 struct thread_data threads;
1450 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *),
1451 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base)
1459 struct thread_data *t;
1480 int is_cpu_first_thread_in_core(struct thread_data *t, struct core_data *c, struct pkg_data *p)
1487 int is_cpu_first_core_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p)
1494 int is_cpu_first_thread_in_package(struct thread_data *t, struct core_data *c, struct pkg_data *p)
1944 int dump_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)
2055 int format_counters(struct thread_data *
[all...]
/linux-master/lib/
H A Dtest_rhashtable.c73 struct thread_data { struct
587 static int thread_lookup_test(struct thread_data *tdata)
620 struct thread_data *tdata = data;
687 struct thread_data *tdata;
747 tdata = vzalloc(array_size(tcount, sizeof(struct thread_data)));

Completed in 209 milliseconds