Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 13 of 13) sorted by relevance

/net/wireless/
Dwext-spy.c116 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_set_thrspy() local
123 memcpy(&(spydata->spy_thr_low), &(threshold->low), in iw_handler_set_thrspy()
143 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_get_thrspy() local
150 memcpy(&(threshold->low), &(spydata->spy_thr_low), in iw_handler_get_thrspy()
167 struct iw_thrspy threshold; in iw_send_thrspy_event() local
173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
174 threshold.addr.sa_family = ARPHRD_ETHER; in iw_send_thrspy_event()
176 memcpy(&(threshold.qual), wstats, sizeof(struct iw_quality)); in iw_send_thrspy_event()
178 memcpy(&(threshold.low), &(spydata->spy_thr_low), in iw_send_thrspy_event()
182 wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold); in iw_send_thrspy_event()
/net/batman-adv/
Dbat_v.c647 u32 threshold; in batadv_v_neigh_is_sob() local
658 threshold = ifinfo1->bat_v.throughput / 4; in batadv_v_neigh_is_sob()
659 threshold = ifinfo1->bat_v.throughput - threshold; in batadv_v_neigh_is_sob()
661 ret = ifinfo2->bat_v.throughput > threshold; in batadv_v_neigh_is_sob()
800 u32 gw_throughput, orig_throughput, threshold; in batadv_v_gw_is_eligible() local
803 threshold = atomic_read(&bat_priv->gw.sel_class); in batadv_v_gw_is_eligible()
826 if ((orig_throughput - gw_throughput) < threshold) in batadv_v_gw_is_eligible()
/net/core/
Ddevlink.c1003 u32 threshold; in devlink_nl_sb_port_pool_fill() local
1008 pool_index, &threshold); in devlink_nl_sb_port_pool_fill()
1024 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_port_pool_fill()
1150 u32 threshold) in devlink_sb_port_pool_set() argument
1157 pool_index, threshold); in devlink_sb_port_pool_set()
1167 u32 threshold; in devlink_nl_cmd_sb_port_pool_set_doit() local
1178 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]); in devlink_nl_cmd_sb_port_pool_set_doit()
1180 pool_index, threshold); in devlink_nl_cmd_sb_port_pool_set_doit()
1193 u32 threshold; in devlink_nl_sb_tc_pool_bind_fill() local
1199 &pool_index, &threshold); in devlink_nl_sb_tc_pool_bind_fill()
[all …]
/net/xfrm/
Dxfrm_ipcomp.c177 if (skb->len < ipcd->threshold) { in ipcomp_output()
370 ipcd->threshold = calg_desc->uinfo.comp.threshold; in ipcomp_init_state()
Dxfrm_algo.c566 .threshold = 90,
576 .threshold = 90,
586 .threshold = 50,
/net/bridge/netfilter/
Debt_nflog.c32 li.u.ulog.qthreshold = info->threshold; in ebt_nflog_tg()
/net/netfilter/
Dxt_NFLOG.c34 li.u.ulog.qthreshold = info->threshold; in nflog_tg()
/net/sched/
Dsch_fq_codel.c149 unsigned int threshold; in fq_codel_drop() local
167 threshold = maxbacklog >> 1; in fq_codel_drop()
177 } while (++i < max_packets && len < threshold); in fq_codel_drop()
/net/ipv4/
Dfib_trie.c811 unsigned long threshold = used; in should_inflate() local
814 threshold *= IS_TRIE(tp) ? inflate_threshold_root : inflate_threshold; in should_inflate()
820 return (used > 1) && tn->pos && ((50 * used) >= threshold); in should_inflate()
826 unsigned long threshold = used; in should_halve() local
829 threshold *= IS_TRIE(tp) ? halve_threshold_root : halve_threshold; in should_halve()
834 return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); in should_halve()
DKconfig509 congestion window and slow start threshold after a congestion
511 slow start threshold and a congestion window which takes into
641 buffer thresholds. The default ECN marking threshold heuristic for
Dipmr.c844 v->threshold = vifc->vifc_threshold; in vif_add()
/net/bluetooth/
Dl2cap_core.c2100 int threshold; in l2cap_send_ack() local
2125 threshold = chan->ack_win; in l2cap_send_ack()
2126 threshold += threshold << 1; in l2cap_send_ack()
2127 threshold >>= 2; in l2cap_send_ack()
2130 threshold); in l2cap_send_ack()
2132 if (frames_to_ack >= threshold) { in l2cap_send_ack()
/net/ipv6/
Dip6mr.c995 v->threshold = vifc->vifc_threshold; in mif6_add()