Lines Matching refs:rnd
39 struct rnd_state *rnd);
43 struct rnd_state *rnd, in expect_pfn_sg() argument
53 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg()
144 struct rnd_state *rnd, in expect_pfn_sgtable() argument
150 err = expect_pfn_sg(pt, npages_fn, rnd, who, timeout); in expect_pfn_sgtable()
167 struct rnd_state *rnd) in one() argument
174 struct rnd_state *rnd) in grow() argument
181 struct rnd_state *rnd) in shrink() argument
188 struct rnd_state *rnd) in random() argument
190 return 1 + (prandom_u32_state(rnd) % 1024); in random()
195 struct rnd_state *rnd) in random_page_size_pages() argument
204 return page_count[(prandom_u32_state(rnd) % 3)]; in random_page_size_pages()
217 struct rnd_state *rnd, in alloc_table() argument
242 unsigned long npages = npages_fn(n, count, rnd); in alloc_table()