Searched refs:thread_data (Results  1 – 8 of 8) sorted by relevance
| /Linux-v5.10/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-v5.10/tools/perf/bench/ | 
| D | futex-wake-parallel.c | 39 struct thread_data {  struct 75 	struct thread_data *waker = (struct thread_data *) arg;  in waking_workerfn() 94 static void wakeup_threads(struct thread_data *td, pthread_attr_t thread_attr)  in wakeup_threads() 162 static void print_run(struct thread_data *waking_worker, unsigned int run_num)  in print_run() 203 static void do_run_stats(struct thread_data *waking_worker)  in do_run_stats() 227 	struct thread_data *waking_worker;  in bench_futex_wake_parallel()
  | 
| D | sched-pipe.c | 30 struct thread_data {  struct 56 	struct thread_data *td = __tdata;  in worker_thread()  argument 79 	struct thread_data threads[2], *td;  in bench_sched_pipe()
  | 
| D | numa.c | 55 struct thread_data {  struct 151 	struct thread_data	*threads; 510 	struct thread_data *td;  in parse_setup_cpu_list() 647 	struct thread_data *td;  in parse_setup_node_list() 896 		struct thread_data *td;  in count_process_nodes() 932 			struct thread_data *td;  in count_node_processes() 1004 		struct thread_data *td = g->threads + t;  in calc_convergence() 1106 	struct thread_data *td = __tdata;  in worker_thread() 1119 	u8 *thread_data;  in worker_thread()  local 1132 	thread_data = setup_private_data(g->p.bytes_thread);  in worker_thread() [all …] 
 | 
| /Linux-v5.10/tools/testing/selftests/rseq/ | 
| D | param_test.c | 362 	struct spinlock_thread_test_data *thread_data = arg;  in test_percpu_spinlock_thread()  local 363 	struct spinlock_test_data *data = thread_data->data;  in test_percpu_spinlock_thread() 366 	if (!opt_disable_rseq && thread_data->reg &&  in test_percpu_spinlock_thread() 369 	reps = thread_data->reps;  in test_percpu_spinlock_thread() 384 	if (!opt_disable_rseq && thread_data->reg &&  in test_percpu_spinlock_thread() 403 	struct spinlock_thread_test_data thread_data[num_threads];  in test_percpu_spinlock()  local 407 		thread_data[i].reps = opt_reps;  in test_percpu_spinlock() 409 			thread_data[i].reg = 1;  in test_percpu_spinlock() 411 			thread_data[i].reg = 0;  in test_percpu_spinlock() 412 		thread_data[i].data = &data;  in test_percpu_spinlock() [all …] 
 | 
| /Linux-v5.10/samples/bpf/ | 
| D | xsk_fwd.c | 639 struct thread_data {  struct 664 	struct thread_data *t = arg;  in thread_func()  argument 759 static struct thread_data thread_data[MAX_THREADS];  variable 816 			thread_data[n_threads].cpu_core_id = atoi(optarg);  in parse_args() 879 	struct thread_data *t = &thread_data[thread_id];  in print_thread() 1022 		struct thread_data *t = &thread_data[i];  in main() 1042 					&thread_data[i]);  in main() 1072 		thread_data[i].quit = 1;  in main()
  | 
| /Linux-v5.10/tools/power/x86/turbostat/ | 
| D | turbostat.c | 168 struct thread_data {  struct 381 	struct thread_data threads; 429 int for_all_cpus(int (func)(struct thread_data *, struct core_data *, struct pkg_data *),  in for_all_cpus()  argument 430 	struct thread_data *thread_base, struct core_data *core_base, struct pkg_data *pkg_base)  in for_all_cpus() 439 					struct thread_data *t;  in for_all_cpus() 913 int dump_counters(struct thread_data *t, struct core_data *c,  in dump_counters() 999 int format_counters(struct thread_data *t, struct core_data *c,  in format_counters() 1306 void format_all_counters(struct thread_data *t, struct core_data *c, struct pkg_data *p)  in format_all_counters() 1416 delta_thread(struct thread_data *new, struct thread_data *old,  in delta_thread() 1500 int delta_cpu(struct thread_data *t, struct core_data *c,  in delta_cpu() [all …] 
 | 
| /Linux-v5.10/lib/ | 
| D | test_rhashtable.c | 72 struct thread_data {  struct 601 static int thread_lookup_test(struct thread_data *tdata)  in thread_lookup_test() 634 	struct thread_data *tdata = data;  in threadfunc() 701 	struct thread_data *tdata;  in test_rht_init() 761 	tdata = vzalloc(array_size(tcount, sizeof(struct thread_data)));  in test_rht_init()
  |