Home
last modified time | relevance | path

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

/linux/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/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/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()
/linux/tools/testing/selftests/rseq/
H A Dparam_test.c479 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread()
480 struct spinlock_test_data *data = thread_data->data;
483 if (!opt_disable_rseq && thread_data->reg &&
486 reps = thread_data->reps;
499 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock()
518 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock()
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[ in test_percpu_spinlock()
455 struct spinlock_thread_test_data *thread_data = arg; test_percpu_spinlock_thread() local
494 struct spinlock_thread_test_data thread_data[num_threads]; test_percpu_spinlock() local
532 struct inc_thread_test_data *thread_data = arg; test_percpu_inc_thread() local
571 struct inc_thread_test_data thread_data[num_threads]; test_percpu_inc() local
[all...]
/linux/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/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()
74 entriesthread_data global() argument
75 idthread_data global() argument
76 taskthread_data global() argument
77 objsthread_data global() argument