Lines Matching refs:thread_data
360 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
361 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
364 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
367 reps = thread_data->reps; in test_percpu_spinlock_thread()
381 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
400 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
404 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
406 thread_data[i].reg = 1; in test_percpu_spinlock()
408 thread_data[i].reg = 0; in test_percpu_spinlock()
409 thread_data[i].data = &data; in test_percpu_spinlock()
412 &thread_data[i]); in test_percpu_spinlock()
438 struct inc_thread_test_data *thread_data = arg; in test_percpu_inc_thread() local
439 struct inc_test_data *data = thread_data->data; in test_percpu_inc_thread()
442 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
445 reps = thread_data->reps; in test_percpu_inc_thread()
462 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
475 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() local
479 thread_data[i].reps = opt_reps; in test_percpu_inc()
481 thread_data[i].reg = 1; in test_percpu_inc()
483 thread_data[i].reg = 0; in test_percpu_inc()
484 thread_data[i].data = &data; in test_percpu_inc()
487 &thread_data[i]); in test_percpu_inc()