Home
last modified time | relevance | path

Searched refs:prandom_u32 (Results 1 – 7 of 7) sorted by relevance

/lib/reed_solomon/
Dtest_rslib.c167 c[i] = prandom_u32() & nn; in get_rcw_we()
181 errval = prandom_u32() & nn; in get_rcw_we()
186 errloc = prandom_u32() % len; in get_rcw_we()
197 errloc = prandom_u32() % len; in get_rcw_we()
202 if (ewsc && (prandom_u32() & 1)) { in get_rcw_we()
209 errval = prandom_u32() & nn; in get_rcw_we()
/lib/
Dfind_bit_benchmark.c140 __set_bit(prandom_u32() % BITMAP_LEN, bitmap); in find_bit_test()
141 __set_bit(prandom_u32() % BITMAP_LEN, bitmap2); in find_bit_test()
Drandom32.c79 u32 prandom_u32(void) in prandom_u32() function
89 EXPORT_SYMBOL(prandom_u32);
Dtest_list_sort.c89 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
Dsbitmap.c387 *per_cpu_ptr(sbq->alloc_hint, i) = prandom_u32() % depth; in sbitmap_queue_init_node()
446 hint = depth ? prandom_u32() % depth : 0; in __sbitmap_queue_get()
477 hint = depth ? prandom_u32() % depth : 0; in __sbitmap_queue_get_shallow()
Dfault-inject.c137 if (attr->probability <= prandom_u32() % 100) in should_fail()
Dtest_rhashtable.c294 k = prandom_u32(); in test_rhltable()
372 u32 prand = prandom_u32(); in test_rhltable()
377 prand = prandom_u32(); in test_rhltable()