Lines Matching refs:reader_tasks
107 static struct task_struct **reader_tasks;
1023 if (reader_tasks) {
1025 if (reader_tasks[i])
1026 set_cpus_allowed_ptr(reader_tasks[i],
1140 if (reader_tasks) {
1142 if (reader_tasks[i]) {
1145 kthread_stop(reader_tasks[i]);
1147 reader_tasks[i] = NULL;
1149 kfree(reader_tasks);
1150 reader_tasks = NULL;
1295 reader_tasks = kzalloc(nrealreaders * sizeof(reader_tasks[0]),
1297 if (reader_tasks == NULL) {
1304 reader_tasks[i] = kthread_run(rcu_torture_reader, NULL,
1306 if (IS_ERR(reader_tasks[i])) {
1307 firsterr = PTR_ERR(reader_tasks[i]);
1309 reader_tasks[i] = NULL;