Lines Matching refs:thread_data
479 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
480 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
483 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
486 reps = thread_data->reps; in test_percpu_spinlock_thread()
499 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
518 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
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[i].data = &data; in test_percpu_spinlock()
530 &thread_data[i]); in test_percpu_spinlock()
556 struct inc_thread_test_data *thread_data = arg; in test_percpu_inc_thread() local
557 struct inc_test_data *data = thread_data->data; in test_percpu_inc_thread()
560 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
563 reps = thread_data->reps; in test_percpu_inc_thread()
582 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
595 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() local
599 thread_data[i].reps = opt_reps; in test_percpu_inc()
601 thread_data[i].reg = 1; in test_percpu_inc()
603 thread_data[i].reg = 0; in test_percpu_inc()
604 thread_data[i].data = &data; in test_percpu_inc()
607 &thread_data[i]); in test_percpu_inc()