Home
last modified time | relevance | path

Searched refs:reader_tasks (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/rcu/
H A Drcuscale.c122 static struct task_struct **reader_tasks; variable
1026 if (reader_tasks) { in rcu_scale_cleanup()
1029 reader_tasks[i]); in rcu_scale_cleanup()
1030 kfree(reader_tasks); in rcu_scale_cleanup()
1031 reader_tasks = NULL; in rcu_scale_cleanup()
1161 reader_tasks = kzalloc_objs(reader_tasks[0], nrealreaders); in rcu_scale_init()
1162 if (reader_tasks == NULL) { in rcu_scale_init()
1169 reader_tasks[i]); in rcu_scale_init()
H A Drcutorture.c166 static struct task_struct **reader_tasks;
4490 if (reader_tasks) {
4493 reader_tasks[i]); in srcu_lockdep_next()
4496 kfree(reader_tasks); in srcu_lockdep_next()
4497 reader_tasks = NULL; in srcu_lockdep_next()
5073 reader_tasks = kzalloc_objs(reader_tasks[0], nrealreaders);
5076 if (!reader_tasks || !rcu_torture_reader_mbchk) {
5085 reader_tasks[i]);
164 static struct task_struct **reader_tasks; global() variable
/linux/kernel/locking/
H A Dlocktorture.c113 static struct task_struct **reader_tasks; variable
1180 if (reader_tasks) { in lock_torture_cleanup()
1183 reader_tasks[i]); in lock_torture_cleanup()
1184 kfree(reader_tasks); in lock_torture_cleanup()
1185 reader_tasks = NULL; in lock_torture_cleanup()
1386 reader_tasks = kzalloc_objs(reader_tasks[0], in lock_torture_init()
1388 if (reader_tasks == NULL) { in lock_torture_init()
1424 reader_tasks[j]); in lock_torture_init()
1428 torture_sched_setaffinity(reader_tasks[j]->pid, bind_readers, true); in lock_torture_init()