Searched refs:prandom_u32_max (Results 1 – 25 of 46) sorted by relevance
12
288 cidr = prandom_u32_max(32) + 1; in randomized_test()289 peer = peers[prandom_u32_max(NUM_PEERS)]; in randomized_test()303 mutate_amount = prandom_u32_max(32); in randomized_test()313 prandom_u32_max(256)); in randomized_test()314 cidr = prandom_u32_max(32) + 1; in randomized_test()315 peer = peers[prandom_u32_max(NUM_PEERS)]; in randomized_test()332 cidr = prandom_u32_max(128) + 1; in randomized_test()333 peer = peers[prandom_u32_max(NUM_PEERS)]; in randomized_test()347 mutate_amount = prandom_u32_max(128); in randomized_test()357 prandom_u32_max(256)); in randomized_test()[all …]
97 if (perc && prandom_u32_max(100) < perc) { in vivid_radio_rx_read()98 switch (prandom_u32_max(4)) { in vivid_radio_rx_read()107 rds.lsb = prandom_u32_max(256); in vivid_radio_rx_read()108 rds.msb = prandom_u32_max(256); in vivid_radio_rx_read()
53 prandom_u32_max(100) < dev->perc_dropped_buffers) in vivid_thread_vid_out_tick()
92 prandom_u32_max(100) < dev->perc_dropped_buffers) in vivid_thread_sdr_cap_tick()
36 size_t size = prandom_u32_max(MAX_ENCODABLE_SIZE) + 1; in test_encode_decode()37 bool is_write = !!prandom_u32_max(2); in test_encode_decode()
80 size_t offset = prandom_u32_max(16); in crc_test_init()81 size_t len = prandom_u32_max(MAX_CRC_LENGTH); in crc_test_init()
191 c->strength.stat[0].svalue -= prandom_u32_max(state->tuner_cnr / 50); in vidtv_demod_update_stats()195 c->cnr.stat[0].svalue -= prandom_u32_max(state->tuner_cnr / 50); in vidtv_demod_update_stats()216 if (prandom_u32_max(100) < config->drop_tslock_prob_on_low_snr) in vidtv_demod_read_status()220 if (prandom_u32_max(100) < in vidtv_demod_read_status()
150 prandom_u32_max(REKEY_TIMEOUT_JITTER_MAX_JIFFIES)); in wg_timers_data_sent()186 prandom_u32_max(REKEY_TIMEOUT_JITTER_MAX_JIFFIES)); in wg_timers_handshake_initiated()
12 #define damon_rand(l, r) (l + prandom_u32_max(r - l))
19 port_index = prandom_u32_max(team->en_port_count); in rnd_transmit()
399 seqno = prandom_u32_max(data->fc.chain_length) + 1; in __find_race()428 seqno = prandom_u32_max(data->fc.chain_length - 1); in __find_race()636 swp = prandom_u32_max(count + 1); in randomise_fences()
94 static inline u32 prandom_u32_max(u32 ep_ro) in prandom_u32_max() function
409 if (prandom_u32_max(2)) { in kfence_guarded_alloc()448 if (CONFIG_KFENCE_STRESS_TEST_FAULTS && !prandom_u32_max(CONFIG_KFENCE_STRESS_TEST_FAULTS)) in kfence_guarded_alloc()
536 const size_t size = setup_test_cache(test, 8 + prandom_u32_max(300), 0, in test_free_bulk()
371 u32 i = prandom_u32_max(entries); in test_rhltable()414 i = prandom_u32_max(entries); in test_rhltable()
547 expires = round_jiffies(jiffies + 40 * HZ + prandom_u32_max(40 * HZ)); in prandom_reseed()
118 rand = 1 + prandom_u32_max(elen+1); in __test()
93 msecs += prandom_u32_max(msecs / 5) - (msecs / 10); in batadv_v_ogm_start_queue_timer()112 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_v_ogm_start_timer()
54 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_v_elp_start_timer()
869 r = g = b = prandom_u32_max(256); in precalculate_color()871 r = g = b = tpg->qual_offset + prandom_u32_max(196); in precalculate_color()2283 params->twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_params_extras()2454 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()2456 twopixsize * prandom_u32_max(tpg->src_width / 2); in tpg_fill_plane_pattern()
187 *pidx = (q->head + prandom_u32_max(choke_len(q))) & q->tab_mask; in choke_peek_random()
471 #define MHI_RANDOM_U32_NONZERO(bmsk) (prandom_u32_max(bmsk) + 1)
676 pdev = pci_dev_get(closest_pdevs[prandom_u32_max(dev_cnt)]); in pci_p2pmem_find_many()
256 req_ctx->in_buf[i] = 1 + prandom_u32_max(255); in pkcs1pad_encrypt()
202 expires + prandom_u32_max(transport->rto))) in sctp_transport_reset_hb_timer()
Completed in 165 milliseconds