Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/linux/
Dprandom.h15 u32 prandom_u32(void);
69 return (u32)(((u64) prandom_u32() * ep_ro) >> 32); in prandom_u32_max()
/linux-4.19.296/lib/
Dfind_bit_benchmark.c149 __set_bit(prandom_u32() % BITMAP_LEN, bitmap); in find_bit_test()
150 __set_bit(prandom_u32() % BITMAP_LEN, bitmap2); in find_bit_test()
Dsbitmap.c322 *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()
Drandom32.c380 u32 prandom_u32(void) in prandom_u32() function
388 EXPORT_SYMBOL(prandom_u32);
Dtest_list_sort.c88 el->value = prandom_u32() % (TEST_LIST_LEN / 3); in list_sort_test()
Dtest_rhashtable.c302 k = prandom_u32(); in test_rhltable()
380 u32 prand = prandom_u32(); in test_rhltable()
385 prand = prandom_u32(); in test_rhltable()
Dfault-inject.c142 if (attr->probability <= prandom_u32() % 100) in should_fail()
/linux-4.19.296/include/net/netfilter/
Dnf_queue.h41 *jhash_initval = prandom_u32(); in init_hashrandom()
/linux-4.19.296/fs/ubifs/
Dlpt_commit.c2013 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()
Ddebug.c2457 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()
Dtnc_commit.c708 if (dbg_is_chk_index(c) && !(prandom_u32() & 7)) in alloc_idx_lebs()
Djournal.c507 dent->cookie = prandom_u32(); in set_dent_cookie()
/linux-4.19.296/include/net/
Dred.h329 return reciprocal_divide(prandom_u32(), p->max_P_reciprocal); in red_random()
Dsock.h1860 u32 v = prandom_u32(); in net_tx_rndhash()
/linux-4.19.296/fs/ext4/
Dmmp.c264 new_seq = prandom_u32(); in mmp_new_seq()
Dioctl.c201 inode->i_generation = prandom_u32(); in swap_inode_boot_loader()
202 inode_bl->i_generation = prandom_u32(); in swap_inode_boot_loader()
Dialloc.c463 grp = prandom_u32(); in find_group_orlov()
1123 inode->i_generation = prandom_u32(); in __ext4_new_inode()
/linux-4.19.296/fs/xfs/
Dxfs_error.c251 if (!randfactor || prandom_u32() % randfactor) in xfs_errortag_test()
/linux-4.19.296/drivers/uwb/
Drsv.c236 bow->n = prandom_u32() & (bow->window - 1); in uwb_rsv_backoff_win_increment()
569 rsv->tiebreaker = prandom_u32() & 1; in uwb_rsv_establish()
/linux-4.19.296/fs/nfsd/
Dnfsctl.c1248 nn->clverifier_counter = prandom_u32(); in nfsd_init_net()
1249 nn->clientid_counter = prandom_u32(); in nfsd_init_net()
/linux-4.19.296/fs/ceph/
Dmdsmap.c37 n = prandom_u32() % n; in ceph_mdsmap_get_random_mds()
Dinode.c335 i = prandom_u32() % nsplits; in ceph_fill_fragtree()
/linux-4.19.296/fs/ext2/
Dialloc.c289 group = prandom_u32(); in find_group_orlov()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_inode_buf.c639 VFS_I(ip)->i_generation = prandom_u32(); in xfs_iread()
Dxfs_ialloc.c650 do_sparse = prandom_u32() & 1; in xfs_ialloc_ag_alloc()
821 args.agbno, args.len, prandom_u32()); in xfs_ialloc_ag_alloc()

12