Lines Matching refs:random_upto_internal
69 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() function
79 return random_upto_internal(limit, mask); in random_upto()
85 uint32 ret = random_upto_internal(limit, mask); in random_upto_biased()
88 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
89 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
90 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
91 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
92 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
93 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
94 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()
95 tmp = random_upto_internal(limit, mask); if (tmp < ret) ret = tmp; in random_upto_biased()