Lines Matching refs:thread_data
455 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
456 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
459 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
462 reps = thread_data->reps; in test_percpu_spinlock_thread()
475 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
494 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
498 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
500 thread_data[i].reg = 1; in test_percpu_spinlock()
502 thread_data[i].reg = 0; in test_percpu_spinlock()
503 thread_data[i].data = &data; in test_percpu_spinlock()
506 &thread_data[i]); in test_percpu_spinlock()
532 struct inc_thread_test_data *thread_data = arg; in test_percpu_inc_thread() local
533 struct inc_test_data *data = thread_data->data; in test_percpu_inc_thread()
536 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
539 reps = thread_data->reps; in test_percpu_inc_thread()
558 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
571 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() local
575 thread_data[i].reps = opt_reps; in test_percpu_inc()
577 thread_data[i].reg = 1; in test_percpu_inc()
579 thread_data[i].reg = 0; in test_percpu_inc()
580 thread_data[i].data = &data; in test_percpu_inc()
583 &thread_data[i]); in test_percpu_inc()