Lines Matching refs:thread_data
385 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
386 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
389 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
392 reps = thread_data->reps; in test_percpu_spinlock_thread()
405 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
424 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
428 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
430 thread_data[i].reg = 1; in test_percpu_spinlock()
432 thread_data[i].reg = 0; in test_percpu_spinlock()
433 thread_data[i].data = &data; in test_percpu_spinlock()
436 &thread_data[i]); in test_percpu_spinlock()
462 struct inc_thread_test_data *thread_data = arg; in test_percpu_inc_thread() local
463 struct inc_test_data *data = thread_data->data; in test_percpu_inc_thread()
466 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
469 reps = thread_data->reps; in test_percpu_inc_thread()
487 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
500 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() local
504 thread_data[i].reps = opt_reps; in test_percpu_inc()
506 thread_data[i].reg = 1; in test_percpu_inc()
508 thread_data[i].reg = 0; in test_percpu_inc()
509 thread_data[i].data = &data; in test_percpu_inc()
512 &thread_data[i]); in test_percpu_inc()