Searched refs:simple_rand (Results 1 – 6 of 6) sorted by relevance
53 static inline unsigned int simple_rand(void) in simple_rand() function70 eb = simple_rand(); in rand_eb()72 eb = (simple_rand() << 15) | simple_rand(); in rand_eb()85 offs = simple_rand(); in rand_offs()87 offs = (simple_rand() << 15) | simple_rand(); in rand_offs()97 len = simple_rand(); in rand_len()99 len = (simple_rand() << 15) | simple_rand(); in rand_len()214 if (simple_rand() & 1) in do_operation()295 writebuf[i] = simple_rand(); in mtd_stresstest_init()
52 static inline unsigned int simple_rand(void) in simple_rand() function68 buf[i] = simple_rand(); in set_random_data()
48 static inline unsigned int simple_rand(void) in simple_rand() function64 buf[i] = simple_rand(); in set_random_data()
51 static inline unsigned int simple_rand(void) in simple_rand() function67 buf[i] = simple_rand(); in set_random_data()
50 static inline unsigned int simple_rand(void) in simple_rand() function66 buf[i] = simple_rand(); in set_random_data()
2452 #define chance(n, d) (simple_rand() <= (n) * 32768LL / (d))2464 static int simple_rand(void) in simple_rand() function2538 unsigned int delay = 1 << (simple_rand() >> 11); in do_fail()2626 flen = (len * (long long)simple_rand()) >> 15; in cut_data()