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

/linux-master/kernel/rcu/
H A Drcuscale.c109 static struct task_struct **reader_tasks; variable in typeref:struct:task_struct
878 if (reader_tasks) {
881 reader_tasks[i]);
882 kfree(reader_tasks);
1004 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]),
1006 if (reader_tasks == NULL) {
1013 reader_tasks[i]);
1019 writer_tasks = kcalloc(nrealwriters, sizeof(reader_tasks[0]),
H A Drefscale.c113 static struct reader_task *reader_tasks; variable in typeref:struct:reader_task
809 struct reader_task *rt = &(reader_tasks[me]);
882 rt = &(reader_tasks[i]);
905 rt = &(reader_tasks[i]);
969 smp_store_release(&reader_tasks[r].start_reader, 1);
970 wake_up(&reader_tasks[r].wq);
1045 if (reader_tasks) {
1048 reader_tasks[i].task);
1050 kfree(reader_tasks);
1131 reader_tasks
[all...]
H A Drcutorture.c136 static struct task_struct **reader_tasks; variable in typeref:struct:task_struct
3369 if (reader_tasks) {
3372 reader_tasks[i]);
3373 kfree(reader_tasks);
3374 reader_tasks = NULL;
3823 reader_tasks = kcalloc(nrealreaders, sizeof(reader_tasks[0]),
3827 if (!reader_tasks || !rcu_torture_reader_mbchk) {
3835 reader_tasks[i]);
/linux-master/kernel/locking/
H A Dlocktorture.c112 static struct task_struct **reader_tasks; variable in typeref:struct:task_struct
1125 if (reader_tasks) {
1128 reader_tasks[i]);
1129 kfree(reader_tasks);
1130 reader_tasks = NULL;
1328 reader_tasks = kcalloc(cxt.nrealreaders_stress,
1329 sizeof(reader_tasks[0]),
1331 if (reader_tasks == NULL) {
1332 TOROUT_ERRSTRING("reader_tasks: Out of memory");
1367 reader_tasks[
[all...]

Completed in 117 milliseconds