Home
last modified time | relevance | path

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

/kernel/locking/
Dlocktorture.c59 static struct task_struct **writer_tasks; variable
802 if (writer_tasks) { in lock_torture_cleanup()
805 writer_tasks[i]); in lock_torture_cleanup()
806 kfree(writer_tasks); in lock_torture_cleanup()
807 writer_tasks = NULL; in lock_torture_cleanup()
984 writer_tasks = kcalloc(cxt.nrealwriters_stress, in lock_torture_init()
985 sizeof(writer_tasks[0]), in lock_torture_init()
987 if (writer_tasks == NULL) { in lock_torture_init()
1000 kfree(writer_tasks); in lock_torture_init()
1001 writer_tasks = NULL; in lock_torture_init()
[all …]
/kernel/rcu/
Drcuperf.c96 static struct task_struct **writer_tasks; variable
517 if (writer_tasks) { in rcu_perf_cleanup()
520 writer_tasks[i]); in rcu_perf_cleanup()
554 kfree(writer_tasks); in rcu_perf_cleanup()
667 writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]), in rcu_perf_init()
674 if (!writer_tasks || !writer_durations || !writer_n_durations) { in rcu_perf_init()
688 writer_tasks[i]); in rcu_perf_init()