Searched refs:rnd (Results 1 – 5 of 5) sorted by relevance
27 static struct rnd_state rnd; variable46 u32 b = (prandom_u32_state(&rnd) >> 4) % max_endpoint; in init()47 u32 a = (prandom_u32_state(&rnd) >> 4) % b; in init()59 queries[i] = (prandom_u32_state(&rnd) >> 4) % max_endpoint; in init()81 prandom_seed_state(&rnd, 3141592653589793238ULL); in interval_tree_test_init()
77 unsigned long size, align, rnd; in random_size_align_alloc_test() local82 get_random_bytes(&rnd, sizeof(rnd)); in random_size_align_alloc_test()87 align = 1 << (rnd % 23); in random_size_align_alloc_test()92 size = ((rnd % 10) + 1) * PAGE_SIZE; in random_size_align_alloc_test()367 unsigned int rnd; in shuffle_array() local371 get_random_bytes(&rnd, sizeof(rnd)); in shuffle_array()374 j = rnd % i; in shuffle_array()
83 struct rnd_state rnd; member134 prandom_seed_state(&test_parman->rnd, 3141592653589793238ULL); in test_parman_rnd_init()139 return prandom_u32_state(&test_parman->rnd); in test_parman_rnd_get()
30 static struct rnd_state rnd; variable153 nodes[i].key = prandom_u32_state(&rnd); in init()154 nodes[i].val = prandom_u32_state(&rnd); in init()254 prandom_seed_state(&rnd, 3141592653589793238ULL); in rbtree_test_init()
130 struct rnd_state rnd; in bpf_fill_maxinsns3() local137 prandom_seed_state(&rnd, 3141592653589793238ULL); in bpf_fill_maxinsns3()140 __u32 k = prandom_u32_state(&rnd); in bpf_fill_maxinsns3()