Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/ipvs/
Dip_vs_wrr.c62 int cw; /* current weight */ member
120 mark->cw = mark->mw; in ip_vs_wrr_init_svc()
147 if (mark->cw > mark->mw || !mark->cw) in ip_vs_wrr_dest_changed()
148 mark->cw = mark->mw; in ip_vs_wrr_dest_changed()
150 mark->cw = (mark->cw / mark->di) * mark->di + 1; in ip_vs_wrr_dest_changed()
181 atomic_read(&dest->weight) >= mark->cw) in ip_vs_wrr_schedule()
186 mark->cw -= mark->di; in ip_vs_wrr_schedule()
187 if (mark->cw <= 0) { in ip_vs_wrr_schedule()
188 mark->cw = mark->mw; in ip_vs_wrr_schedule()
200 last_pass = mark->cw <= mark->di; in ip_vs_wrr_schedule()
/net/mac80211/
Drc80211_minstrel_ht.c1387 unsigned int cw = mp->cw_min; in minstrel_calc_retransmit() local
1407 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1408 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1409 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1410 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1427 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
1428 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
Dtdls.c302 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); in ieee80211_tdls_add_wmm_param_ie()
/net/ceph/crush/
Dmapper.c900 struct crush_work *cw = cwin; in crush_do_rule() local
1031 cw, in crush_do_rule()
1053 cw, in crush_do_rule()