Searched refs:rand_reentrant (Results 1 – 2 of 2) sorted by relevance
17 int rand_reentrant(unsigned int* s) { in rand_reentrant() function95 unsigned idx = rand_reentrant(&rnd) % kQueues; in test_stress_eventcount()112 unsigned idx = rand_reentrant(&rnd) % kQueues; in test_stress_eventcount()
19 int rand_reentrant(unsigned int* s) { in rand_reentrant() function129 if (rand_reentrant(&rnd) % 2) in test_empty_runqueue()133 if (rand_reentrant(&rnd) % 2) in test_empty_runqueue()