Searched refs:net_random (Results 1 – 25 of 27) sorted by relevance
12
143 state->last = net_random(); in init_crandom()156 return net_random(); in get_crandom()158 value = net_random(); in get_crandom()172 u32 rnd = net_random(); in loss_4state()239 if (net_random() < clg->a1) in loss_gilb_ell()241 if (net_random() < clg->a4) in loss_gilb_ell()244 if (net_random() < clg->a2) in loss_gilb_ell()246 if (clg->a3 > net_random()) in loss_gilb_ell()406 skb->data[net_random() % skb_headlen(skb)] ^= 1<<(net_random() % 8); in netem_enqueue()
40 if (!gact->tcfg_pval || net_random() % gact->tcfg_pval) in gact_net_rand()
630 q->perturbation = net_random(); in sfq_perturbation()699 q->perturbation = net_random(); in sfq_change()760 q->perturbation = net_random(); in sfq_init()
223 q->bins[slot].perturbation = net_random(); in sfb_init_perturbation()384 r = net_random() & SFB_MAX_PROB; in sfb_enqueue()
40 if ((net_random() & 0x7FFFFFFF) < info->u.random.probability) in statistic_mt()
121 rover = max_t(u16, net_random(), 2); in rds_add_bound()
125 current_timeo = vm_wait = (net_random() % (HZ / 5)) + 2; in sk_stream_wait_memory()
124 return base ? (net_random() % base) + (base >> 1) : 0; in neigh_rand_reach_time()1391 unsigned long sched_next = now + (net_random() % p->proxy_delay); in pneigh_enqueue()
306 return reciprocal_divide(net_random(), p->max_P_reciprocal); in red_random()
308 #define net_random() random32() macro
318 if (net_random() >= nla_get_u32(a)) in sample()
1003 int tv = net_random() % idev->mc_maxdelay; in mld_gq_start_timer()1012 int tv = net_random() % delay; in mld_ifc_start_timer()1038 delay = net_random() % resptime; in igmp6_group_queried()2102 delay = net_random() % IGMP6_UNSOLICITED_IVAL; in igmp6_join_group()
191 fl->label = htonl(net_random())&IPV6_FLOWLABEL_MASK; in fl_intern()
400 delay = (u64)msecs_to_jiffies(garp_join_time) * net_random() >> 32; in garp_join_timer_arm()
189 int tv = net_random() % max_delay; in igmp_start_timer()198 int tv = net_random() % in_dev->mr_maxdelay; in igmp_gq_start_timer()207 int tv = net_random() % delay; in igmp_ifc_start_timer()
108 smallest_rover = rover = net_random() % remaining + low; in inet_csk_get_port()
216 rand = net_random(); in udp_lib_get_port()
3484 net_random() % ip_rt_gc_interval + ip_rt_gc_interval); in ip_rt_init()
1119 xprt->xid = net_random(); in xprt_init_xid()
632 if (net_random() & 1) in cache_limit_defers()
1687 unsigned short rand = (unsigned short) net_random() % range; in xs_get_random_port()
1172 unsigned hash = net_random() & ip_vs_conn_tab_mask; in ip_vs_random_dropentry()
1536 spi = low + net_random()%(high-low+1); in xfrm_alloc_spi()
2147 rover = net_random() % remaining + low; in cma_alloc_any_port()
402 b->br_number = net_random(); in _tl_restart()