Searched refs:rand_nr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/tools/testing/selftests/vm/
H A Duserfaultfd.c114 int32_t rand_nr; locking_thread() local
136 if (random_r(&rand, &rand_nr)) locking_thread()
138 page_nr = rand_nr; locking_thread()
139 if (sizeof(page_nr) > sizeof(rand_nr)) { locking_thread()
140 if (random_r(&rand, &rand_nr)) locking_thread()
142 page_nr |= (((unsigned long) rand_nr) << 16) << locking_thread()

Completed in 114 milliseconds