Lines Matching refs:thread_data
445 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
446 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
449 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
452 reps = thread_data->reps; in test_percpu_spinlock_thread()
465 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
484 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
488 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
490 thread_data[i].reg = 1; in test_percpu_spinlock()
492 thread_data[i].reg = 0; in test_percpu_spinlock()
493 thread_data[i].data = &data; in test_percpu_spinlock()
496 &thread_data[i]); in test_percpu_spinlock()
522 struct inc_thread_test_data *thread_data = arg; in test_percpu_inc_thread() local
523 struct inc_test_data *data = thread_data->data; in test_percpu_inc_thread()
526 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
529 reps = thread_data->reps; in test_percpu_inc_thread()
548 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
561 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() local
565 thread_data[i].reps = opt_reps; in test_percpu_inc()
567 thread_data[i].reg = 1; in test_percpu_inc()
569 thread_data[i].reg = 0; in test_percpu_inc()
570 thread_data[i].data = &data; in test_percpu_inc()
573 &thread_data[i]); in test_percpu_inc()