• Home
  • Raw
  • Download

Lines Matching refs:nrealwriters_stress

92 	int nrealwriters_stress;  member
119 (cxt.nrealwriters_stress * 2000 * longdelay_ms))) in torture_lock_busted_write_delay()
121 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
164 (cxt.nrealwriters_stress * 2000 * longdelay_ms))) in torture_spin_lock_write_delay()
167 (cxt.nrealwriters_stress * 2 * shortdelay_us))) in torture_spin_lock_write_delay()
169 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()
235 (cxt.nrealwriters_stress * 2000 * longdelay_ms))) in torture_rwlock_write_delay()
344 (cxt.nrealwriters_stress * 2000 * longdelay_ms))) in torture_mutex_delay()
348 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()
385 ww_acquire_ctxs = kmalloc_array(cxt.nrealwriters_stress, in torture_ww_mutex_init()
488 (cxt.nrealwriters_stress * factor))) { in torture_rtmutex_boost()
501 (cxt.nrealwriters_stress * factor * 2))) { in torture_rtmutex_boost()
518 (cxt.nrealwriters_stress * 2000 * longdelay_ms))) in torture_rtmutex_delay()
521 (cxt.nrealwriters_stress * 2 * shortdelay_us))) in torture_rtmutex_delay()
523 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rtmutex_delay()
559 (cxt.nrealwriters_stress * 2000 * longdelay_ms))) in torture_rwsem_write_delay()
563 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rwsem_write_delay()
747 n_stress = write ? cxt.nrealwriters_stress : cxt.nrealreaders_stress; in __torture_print_stats()
778 int size = cxt.nrealwriters_stress * 200 + 8192; in lock_torture_stats_print()
835 cxt.nrealwriters_stress, cxt.nrealreaders_stress, stat_interval, in lock_torture_print_module_parms()
858 for (i = 0; i < cxt.nrealwriters_stress; i++) in lock_torture_cleanup()
945 cxt.nrealwriters_stress = nwriters_stress; in lock_torture_init()
947 cxt.nrealwriters_stress = 2 * num_online_cpus(); in lock_torture_init()
971 cxt.lwsa = kmalloc_array(cxt.nrealwriters_stress, in lock_torture_init()
980 for (i = 0; i < cxt.nrealwriters_stress; i++) { in lock_torture_init()
996 cxt.nrealwriters_stress = num_online_cpus(); in lock_torture_init()
997 cxt.nrealreaders_stress = cxt.nrealwriters_stress; in lock_torture_init()
1046 writer_tasks = kcalloc(cxt.nrealwriters_stress, in lock_torture_init()
1077 for (i = 0, j = 0; i < cxt.nrealwriters_stress || in lock_torture_init()
1079 if (i >= cxt.nrealwriters_stress) in lock_torture_init()