Searched refs:reader_tasks (Results 1 – 4 of 4) sorted by relevance
/kernel/rcu/ |
D | refscale.c | 111 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 …]
|
D | rcuscale.c | 106 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()
|
D | rcutorture.c | 133 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/ |
D | locktorture.c | 59 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()
|