Searched refs:prandom_u32 (Results 1 – 25 of 28) sorted by relevance
12
15 u32 prandom_u32(void);69 return (u32)(((u64) prandom_u32() * ep_ro) >> 32); in prandom_u32_max()
149 __set_bit(prandom_u32() % BITMAP_LEN, bitmap); in find_bit_test()150 __set_bit(prandom_u32() % BITMAP_LEN, bitmap2); in find_bit_test()
322 *per_cpu_ptr(sbq->alloc_hint, i) = prandom_u32() % depth; in sbitmap_queue_init_node()380 hint = depth ? prandom_u32() % depth : 0; in __sbitmap_queue_get()411 hint = depth ? prandom_u32() % depth : 0; in __sbitmap_queue_get_shallow()
380 u32 prandom_u32(void) in prandom_u32() function388 EXPORT_SYMBOL(prandom_u32);
88 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
302 k = prandom_u32(); in test_rhltable()380 u32 prand = prandom_u32(); in test_rhltable()385 prand = prandom_u32(); in test_rhltable()
142 if (attr->probability <= prandom_u32() % 100) in should_fail()
41 *jhash_initval = prandom_u32(); in init_hashrandom()
2013 if (prandom_u32() & 3) in dbg_populate_lsave()2020 c->lsave[prandom_u32() % c->lsave_cnt] = lprops->lnum; in dbg_populate_lsave()2022 c->lsave[prandom_u32() % c->lsave_cnt] = lprops->lnum; in dbg_populate_lsave()2024 c->lsave[prandom_u32() % c->lsave_cnt] = lprops->lnum; in dbg_populate_lsave()2028 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()2031 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()2034 c->lsave[prandom_u32() % c->lsave_cnt] = heap->arr[i]->lnum; in dbg_populate_lsave()
2457 return !!((prandom_u32() % out_of) + 1 <= n); in chance()2475 delay = prandom_u32() % 60000; in power_cut_emulated()2481 delay = prandom_u32() % 10000; in power_cut_emulated()2561 from = prandom_u32() % len; in corrupt_data()
708 if (dbg_is_chk_index(c) && !(prandom_u32() & 7)) in alloc_idx_lebs()
507 dent->cookie = prandom_u32(); in set_dent_cookie()
329 return reciprocal_divide(prandom_u32(), p->max_P_reciprocal); in red_random()
1860 u32 v = prandom_u32(); in net_tx_rndhash()
264 new_seq = prandom_u32(); in mmp_new_seq()
201 inode->i_generation = prandom_u32(); in swap_inode_boot_loader()202 inode_bl->i_generation = prandom_u32(); in swap_inode_boot_loader()
463 grp = prandom_u32(); in find_group_orlov()1123 inode->i_generation = prandom_u32(); in __ext4_new_inode()
251 if (!randfactor || prandom_u32() % randfactor) in xfs_errortag_test()
236 bow->n = prandom_u32() & (bow->window - 1); in uwb_rsv_backoff_win_increment()569 rsv->tiebreaker = prandom_u32() & 1; in uwb_rsv_establish()
1248 nn->clverifier_counter = prandom_u32(); in nfsd_init_net()1249 nn->clientid_counter = prandom_u32(); in nfsd_init_net()
37 n = prandom_u32() % n; in ceph_mdsmap_get_random_mds()
335 i = prandom_u32() % nsplits; in ceph_fill_fragtree()
289 group = prandom_u32(); in find_group_orlov()
639 VFS_I(ip)->i_generation = prandom_u32(); in xfs_iread()
650 do_sparse = prandom_u32() & 1; in xfs_ialloc_ag_alloc()821 args.agbno, args.len, prandom_u32()); in xfs_ialloc_ag_alloc()