Home
last modified time | relevance | path

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

/kernel/rcu/
Drefscale.c111 static struct reader_task *reader_tasks; variable
541 struct reader_task *rt = &(reader_tasks[me]); in ref_scale_reader()
614 rt = &(reader_tasks[i]); in reset_readers()
637 rt = &(reader_tasks[i]); in process_durations()
701 smp_store_release(&reader_tasks[r].start_reader, 1); in main_func()
702 wake_up(&reader_tasks[r].wq); in main_func()
777 if (reader_tasks) { in ref_scale_cleanup()
780 reader_tasks[i].task); in ref_scale_cleanup()
782 kfree(reader_tasks); in ref_scale_cleanup()
859 reader_tasks = kcalloc(nreaders, sizeof(reader_tasks[0]), in ref_scale_init()
[all …]
Drcuscale.c106 static struct task_struct **reader_tasks; variable
749 if (reader_tasks) { in rcu_scale_cleanup()
752 reader_tasks[i]); in rcu_scale_cleanup()
753 kfree(reader_tasks); in rcu_scale_cleanup()
870 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), in rcu_scale_init()
872 if (reader_tasks == NULL) { in rcu_scale_init()
879 reader_tasks[i]); in rcu_scale_init()
885 writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]), in rcu_scale_init()
Drcutorture.c133 static struct task_struct **reader_tasks; variable
3271 if (reader_tasks) { in rcu_torture_cleanup()
3274 reader_tasks[i]); in rcu_torture_cleanup()
3275 kfree(reader_tasks); in rcu_torture_cleanup()
3276 reader_tasks = NULL; in rcu_torture_cleanup()
3536 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), in rcu_torture_init()
3540 if (!reader_tasks || !rcu_torture_reader_mbchk) { in rcu_torture_init()
3548 reader_tasks[i]); in rcu_torture_init()
/kernel/locking/
Dlocktorture.c59 static struct task_struct **reader_tasks; variable
865 if (reader_tasks) { in lock_torture_cleanup()
868 reader_tasks[i]); in lock_torture_cleanup()
869 kfree(reader_tasks); in lock_torture_cleanup()
870 reader_tasks = NULL; in lock_torture_cleanup()
1057 reader_tasks = kcalloc(cxt.nrealreaders_stress, in lock_torture_init()
1058 sizeof(reader_tasks[0]), in lock_torture_init()
1060 if (reader_tasks == NULL) { in lock_torture_init()
1093 reader_tasks[j]); in lock_torture_init()