Home
last modified time | relevance | path

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

/linux-6.1.9/Documentation/RCU/
Drcubarrier.rst138 33 if (fakewriter_tasks != NULL) {
140 35 if (fakewriter_tasks[i] != NULL) {
143 38 kthread_stop(fakewriter_tasks[i]);
145 40 fakewriter_tasks[i] = NULL;
147 42 kfree(fakewriter_tasks);
148 43 fakewriter_tasks = NULL;
/linux-6.1.9/kernel/rcu/
Drcutorture.c132 static struct task_struct **fakewriter_tasks; variable
3281 if (fakewriter_tasks) { in rcu_torture_cleanup()
3284 fakewriter_tasks[i]); in rcu_torture_cleanup()
3285 kfree(fakewriter_tasks); in rcu_torture_cleanup()
3286 fakewriter_tasks = NULL; in rcu_torture_cleanup()
3521 fakewriter_tasks = kcalloc(nfakewriters, in rcu_torture_init()
3522 sizeof(fakewriter_tasks[0]), in rcu_torture_init()
3524 if (fakewriter_tasks == NULL) { in rcu_torture_init()
3532 NULL, fakewriter_tasks[i]); in rcu_torture_init()