Home
last modified time | relevance | path

Searched refs:shortdelay_us (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/kernel/locking/
Dlocktorture.c251 const unsigned long shortdelay_us = 2; in torture_spin_lock_write_delay() local
262 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 200 * shortdelay_us))) in torture_spin_lock_write_delay()
263 udelay(shortdelay_us); in torture_spin_lock_write_delay()
376 const unsigned long shortdelay_us = 2; in torture_rwlock_write_delay() local
384 udelay(shortdelay_us); in torture_rwlock_write_delay()
402 const unsigned long shortdelay_us = 10; in torture_rwlock_read_delay() local
410 udelay(shortdelay_us); in torture_rwlock_read_delay()
675 const unsigned long shortdelay_us = 2; in torture_rtmutex_delay() local
684 (cxt.nrealwriters_stress * 200 * shortdelay_us))) in torture_rtmutex_delay()
685 udelay(shortdelay_us); in torture_rtmutex_delay()
/linux-6.12.1/kernel/rcu/
Drcutorture.c421 const unsigned long shortdelay_us = 200; in rcu_read_delay() local
441 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()
442 udelay(shortdelay_us); in rcu_read_delay()
443 rtrsp->rt_delay_us = shortdelay_us; in rcu_read_delay()