Searched refs:thread_data (Results 1 – 9 of 9) sorted by relevance
| /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->pipes.msg[0]); in record__thread_data_open_pipes() [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A 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()
|
| H A D | thread-utils.h | 16 int __must_check vdo_create_thread(void (*thread_function)(void *), void *thread_data,
|
| /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/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/tools/testing/selftests/landlock/ |
| H A D | audit_test.c | 162 struct thread_data { struct 169 const struct thread_data *data = (struct thread_data *)arg; in thread_audit_test() argument 230 struct thread_data child_data; in TEST_F()
|
| /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() 74 entriesthread_data global() argument 75 idthread_data global() argument 76 taskthread_data global() argument 77 objsthread_data global() argument
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2010 struct thread_data { struct 2283 struct thread_data threads; 2351 #define PER_THREAD_PARAMS struct thread_data *t, struct core_data *c, struct pkg_data *p 2353 int for_all_cpus(int (func) (struct thread_data *, struct core_data *, struct pkg_data *), in for_all_cpus() argument 2354 struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base) in for_all_cpus() 2364 struct thread_data *t; in for_all_cpus() 2382 int is_cpu_first_thread_in_core(struct thread_data *t, struct core_data *c) in is_cpu_first_thread_in_core() 2387 int is_cpu_first_core_in_package(struct thread_data *t, struct pkg_data *p) in is_cpu_first_core_in_package() 2392 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() 3770 int delta_thread(struct thread_data *new, struct thread_data *old, struct core_data *core_delta) in delta_thread() [all …]
|