Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/locking/
Dlocktorture.c157 const unsigned long shortdelay_us = 2; in torture_spin_lock_write_delay() local
167 (cxt.nrealwriters_stress * 2 * shortdelay_us))) in torture_spin_lock_write_delay()
168 udelay(shortdelay_us); in torture_spin_lock_write_delay()
228 const unsigned long shortdelay_us = 2; in torture_rwlock_write_delay() local
238 udelay(shortdelay_us); in torture_rwlock_write_delay()
256 const unsigned long shortdelay_us = 10; in torture_rwlock_read_delay() local
266 udelay(shortdelay_us); in torture_rwlock_read_delay()
510 const unsigned long shortdelay_us = 2; in torture_rtmutex_delay() local
521 (cxt.nrealwriters_stress * 2 * shortdelay_us))) in torture_rtmutex_delay()
522 udelay(shortdelay_us); in torture_rtmutex_delay()
/linux-6.1.9/kernel/rcu/
Drcutorture.c409 const unsigned long shortdelay_us = 200; in rcu_read_delay() local
429 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()
430 udelay(shortdelay_us); in rcu_read_delay()
431 rtrsp->rt_delay_us = shortdelay_us; in rcu_read_delay()