Home
last modified time | relevance | path

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

/linux/kernel/rcu/
H A Drefscale.c119 static struct reader_task *reader_tasks; variable
890 struct reader_task *rt = &(reader_tasks[me]); in ref_scale_reader()
963 rt = &(reader_tasks[i]); in reset_readers()
987 rt = &(reader_tasks[i]); in process_durations()
1053 smp_store_release(&reader_tasks[r].start_reader, 1); in main_func()
1054 wake_up(&reader_tasks[r].wq); in main_func()
1130 if (reader_tasks) { in ref_scale_cleanup()
1133 reader_tasks[i].task); in ref_scale_cleanup()
1135 kfree(reader_tasks); in ref_scale_cleanup()
1221 reader_tasks in ref_scale_init()
[all...]
H A Drcuscale.c125 static struct task_struct **reader_tasks; variable
988 if (reader_tasks) { in rcu_scale_cleanup()
991 reader_tasks[i]); in rcu_scale_cleanup()
992 kfree(reader_tasks); in rcu_scale_cleanup()
993 reader_tasks = NULL; in rcu_scale_cleanup()
1139 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]), in rcu_scale_init()
1141 if (reader_tasks == NULL) { in rcu_scale_init()
1148 reader_tasks[i]); in rcu_scale_init()
/linux/kernel/locking/
H A Dlocktorture.c113 static struct task_struct **reader_tasks; variable
1180 if (reader_tasks) { in lock_torture_cleanup()
1183 reader_tasks[i]); in lock_torture_cleanup()
1184 kfree(reader_tasks); in lock_torture_cleanup()
1185 reader_tasks = NULL; in lock_torture_cleanup()
1386 reader_tasks = kcalloc(cxt.nrealreaders_stress, in lock_torture_init()
1387 sizeof(reader_tasks[0]), in lock_torture_init()
1389 if (reader_tasks == NULL) { in lock_torture_init()
1390 TOROUT_ERRSTRING("reader_tasks: Out of memory"); in lock_torture_init()
1425 reader_tasks[ in lock_torture_init()
[all...]
/linux/Documentation/RCU/
H A Drcubarrier.rst103 19 if (reader_tasks != NULL) {
105 21 if (reader_tasks[i] != NULL) {
108 24 kthread_stop(reader_tasks[i]);
110 26 reader_tasks[i] = NULL;
112 28 kfree(reader_tasks);
113 29 reader_tasks = NULL;