Searched refs:get_random_u32_inclusive (Results 1 – 16 of 16) sorted by relevance
| /linux/lib/ |
| H A D | test_hexdump.c | 152 size_t len = get_random_u32_inclusive(1, d); in test_hexdump_set() 211 int rs = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_overflow_set() 226 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init() 230 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init()
|
| H A D | test_vmalloc.c | 161 n = get_random_u32_inclusive(1, 100); in random_size_alloc_test() 328 size = get_random_u32_inclusive(1, PAGE_SIZE / 4); in pcpu_alloc_test() 333 align = 1 << get_random_u32_inclusive(1, PAGE_SHIFT - 1); in pcpu_alloc_test()
|
| /linux/include/linux/ |
| H A D | random.h | 110 static inline u32 get_random_u32_inclusive(u32 floor, u32 ceil) in get_random_u32_inclusive() function
|
| /linux/kernel/kcsan/ |
| H A D | selftest.c | 34 size_t size = get_random_u32_inclusive(1, MAX_ENCODABLE_SIZE); in test_encode_decode()
|
| /linux/mm/kasan/ |
| H A D | kasan_test_c.c | 2004 size = get_random_u32_inclusive(1, 1024); in match_all_not_assigned() 2013 order = get_random_u32_inclusive(1, 4); in match_all_not_assigned() 2026 size = get_random_u32_inclusive(1, 1024); in match_all_not_assigned()
|
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_iommu_pt.h | 353 ULONG_MAX >= PT_VADDR_MAX && get_random_u32_inclusive(0, 1)) in test_random_map()
|
| /linux/drivers/dma-buf/ |
| H A D | st-dma-fence-chain.c | 401 seqno = get_random_u32_inclusive(1, data->fc.chain_length); in __find_race()
|
| /linux/net/ipv4/ |
| H A D | inet_hashtables.c | 1101 scan_step = get_random_u32_inclusive(1, upper_bound); in __inet_hash_connect()
|
| H A D | tcp_input.c | 4065 get_random_u32_inclusive(half, ack_limit + half - 1)); in tcp_send_challenge_ack()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mac-ctxt.c | 1294 u32 rand = get_random_u32_inclusive(36, 63); in iwl_mvm_mac_ctxt_cmd_fill_ap()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | p2p.c | 1131 100 * get_random_u32_inclusive(1, 3)); in brcmf_p2p_afx_handler()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nandsim.c | 1407 flips = get_random_u32_inclusive(1, bitflips); in ns_do_bit_flips()
|
| /linux/net/ipv6/ |
| H A D | addrconf.c | 108 u64 tmp = get_random_u32_inclusive(900000, 1100000) * (u64)irt; in rfc3315_s14_backoff_init() 116 u64 tmp = get_random_u32_inclusive(1900000, 2100000) * (u64)rt; in rfc3315_s14_backoff_update() 120 tmp = get_random_u32_inclusive(900000, 1100000) * (u64)mrt; in rfc3315_s14_backoff_update()
|
| /linux/net/xfrm/ |
| H A D | xfrm_state.c | 2596 u32 spi = (low == high) ? low : get_random_u32_inclusive(low, high); in xfrm_alloc_spi()
|
| /linux/drivers/infiniband/core/ |
| H A D | cma.c | 3760 rover = get_random_u32_inclusive(low, remaining + low - 1); in cma_alloc_any_port()
|
| /linux/net/bluetooth/ |
| H A D | mgmt.c | 7481 conn_info_age = get_random_u32_inclusive(hdev->conn_info_min_age, in get_conn_info()
|