Home
last modified time | relevance | path

Searched refs:writer_tasks (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/kernel/locking/
Dlocktorture.c58 static struct task_struct **writer_tasks; variable
857 if (writer_tasks) { in lock_torture_cleanup()
860 writer_tasks[i]); in lock_torture_cleanup()
861 kfree(writer_tasks); in lock_torture_cleanup()
862 writer_tasks = NULL; in lock_torture_cleanup()
1046 writer_tasks = kcalloc(cxt.nrealwriters_stress, in lock_torture_init()
1047 sizeof(writer_tasks[0]), in lock_torture_init()
1049 if (writer_tasks == NULL) { in lock_torture_init()
1062 kfree(writer_tasks); in lock_torture_init()
1063 writer_tasks = NULL; in lock_torture_init()
[all …]
/linux-5.19.10/kernel/rcu/
Drcuscale.c105 static struct task_struct **writer_tasks; variable
557 if (writer_tasks) { in rcu_scale_cleanup()
560 writer_tasks[i]); in rcu_scale_cleanup()
594 kfree(writer_tasks); in rcu_scale_cleanup()
880 writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]), in rcu_scale_init()
887 if (!writer_tasks || !writer_durations || !writer_n_durations) { in rcu_scale_init()
901 writer_tasks[i]); in rcu_scale_init()