Lines Matching refs:nrealreaders_stress
155 int nrealreaders_stress; member
407 if (long_hold && !(torture_random(trsp) % (cxt.nrealreaders_stress * 2000 * long_hold))) in torture_rwlock_read_delay()
762 if (long_hold && !(torture_random(trsp) % (cxt.nrealreaders_stress * 2000 * long_hold))) in torture_rwsem_read_delay()
766 if (!(torture_random(trsp) % (cxt.nrealreaders_stress * 20000))) in torture_rwsem_read_delay()
956 n_stress = write ? cxt.nrealwriters_stress : cxt.nrealreaders_stress; in __torture_print_stats()
991 size += cxt.nrealreaders_stress * 200 + 8192; in lock_torture_stats_print()
1051 call_rcu_chains, long_hold, nested_locks, cxt.nrealreaders_stress, in lock_torture_print_module_parms()
1127 for (i = 0; i < cxt.nrealreaders_stress; i++) in lock_torture_cleanup()
1252 cxt.nrealreaders_stress = nreaders_stress; in lock_torture_init()
1261 cxt.nrealreaders_stress = cxt.nrealwriters_stress; in lock_torture_init()
1265 cxt.lrsa = kmalloc_array(cxt.nrealreaders_stress, in lock_torture_init()
1276 for (i = 0; i < cxt.nrealreaders_stress; i++) { in lock_torture_init()
1329 reader_tasks = kcalloc(cxt.nrealreaders_stress, in lock_torture_init()
1350 j < cxt.nrealreaders_stress; i++, j++) { in lock_torture_init()
1364 if (cxt.cur_ops->readlock == NULL || (j >= cxt.nrealreaders_stress)) in lock_torture_init()