Lines Matching refs:thread_data
362 struct spinlock_thread_test_data *thread_data = arg; in test_percpu_spinlock_thread() local
363 struct spinlock_test_data *data = thread_data->data; in test_percpu_spinlock_thread()
366 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
369 reps = thread_data->reps; in test_percpu_spinlock_thread()
384 if (!opt_disable_rseq && thread_data->reg && in test_percpu_spinlock_thread()
403 struct spinlock_thread_test_data thread_data[num_threads]; in test_percpu_spinlock() local
407 thread_data[i].reps = opt_reps; in test_percpu_spinlock()
409 thread_data[i].reg = 1; in test_percpu_spinlock()
411 thread_data[i].reg = 0; in test_percpu_spinlock()
412 thread_data[i].data = &data; in test_percpu_spinlock()
415 &thread_data[i]); in test_percpu_spinlock()
441 struct inc_thread_test_data *thread_data = arg; in test_percpu_inc_thread() local
442 struct inc_test_data *data = thread_data->data; in test_percpu_inc_thread()
445 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
448 reps = thread_data->reps; in test_percpu_inc_thread()
466 if (!opt_disable_rseq && thread_data->reg && in test_percpu_inc_thread()
479 struct inc_thread_test_data thread_data[num_threads]; in test_percpu_inc() local
483 thread_data[i].reps = opt_reps; in test_percpu_inc()
485 thread_data[i].reg = 1; in test_percpu_inc()
487 thread_data[i].reg = 0; in test_percpu_inc()
488 thread_data[i].data = &data; in test_percpu_inc()
491 &thread_data[i]); in test_percpu_inc()