Searched refs:reader_tasks (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/kernel/rcu/ |
D | refscale.c | 96 static struct reader_task *reader_tasks; variable 367 struct reader_task *rt = &(reader_tasks[me]); in ref_scale_reader() 440 rt = &(reader_tasks[i]); in reset_readers() 463 rt = &(reader_tasks[i]); in process_durations() 528 smp_store_release(&reader_tasks[r].start_reader, 1); in main_func() 529 wake_up(&reader_tasks[r].wq); in main_func() 607 if (reader_tasks) { in ref_scale_cleanup() 610 reader_tasks[i].task); in ref_scale_cleanup() 612 kfree(reader_tasks); in ref_scale_cleanup() 684 reader_tasks = kcalloc(nreaders, sizeof(reader_tasks[0]), in ref_scale_init() [all …]
|
D | rcuscale.c | 105 static struct task_struct **reader_tasks; variable 500 if (reader_tasks) { in rcu_scale_cleanup() 503 reader_tasks[i]); in rcu_scale_cleanup() 504 kfree(reader_tasks); in rcu_scale_cleanup() 803 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), in rcu_scale_init() 805 if (reader_tasks == NULL) { in rcu_scale_init() 812 reader_tasks[i]); in rcu_scale_init() 818 writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]), in rcu_scale_init()
|
D | rcutorture.c | 133 static struct task_struct **reader_tasks; variable 2482 if (reader_tasks) { in rcu_torture_cleanup() 2485 reader_tasks[i]); in rcu_torture_cleanup() 2486 kfree(reader_tasks); in rcu_torture_cleanup() 2732 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), in rcu_torture_init() 2734 if (reader_tasks == NULL) { in rcu_torture_init() 2741 reader_tasks[i]); in rcu_torture_init()
|
/Linux-v5.10/kernel/locking/ |
D | locktorture.c | 59 static struct task_struct **reader_tasks; variable 804 if (reader_tasks) { in lock_torture_cleanup() 807 reader_tasks[i]); in lock_torture_cleanup() 808 kfree(reader_tasks); in lock_torture_cleanup() 809 reader_tasks = NULL; in lock_torture_cleanup() 989 reader_tasks = kcalloc(cxt.nrealreaders_stress, in lock_torture_init() 990 sizeof(reader_tasks[0]), in lock_torture_init() 992 if (reader_tasks == NULL) { in lock_torture_init() 1025 reader_tasks[j]); in lock_torture_init()
|
/Linux-v5.10/Documentation/RCU/ |
D | rcubarrier.rst | 124 19 if (reader_tasks != NULL) { 126 21 if (reader_tasks[i] != NULL) { 129 24 kthread_stop(reader_tasks[i]); 131 26 reader_tasks[i] = NULL; 133 28 kfree(reader_tasks); 134 29 reader_tasks = NULL;
|