Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 12 of 12) 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.c636 u32 threshold; in batadv_v_neigh_is_sob() local
647 threshold = ifinfo1->bat_v.throughput / 4; in batadv_v_neigh_is_sob()
648 threshold = ifinfo1->bat_v.throughput - threshold; in batadv_v_neigh_is_sob()
650 ret = ifinfo2->bat_v.throughput > threshold; in batadv_v_neigh_is_sob()
789 u32 gw_throughput, orig_throughput, threshold; in batadv_v_gw_is_eligible() local
792 threshold = atomic_read(&bat_priv->gw.sel_class); in batadv_v_gw_is_eligible()
815 if ((orig_throughput - gw_throughput) < threshold) in batadv_v_gw_is_eligible()
/net/xfrm/
Dxfrm_ipcomp.c173 if (skb->len < ipcd->threshold) { in ipcomp_output()
366 ipcd->threshold = calg_desc->uinfo.comp.threshold; in ipcomp_init_state()
Dxfrm_algo.c562 .threshold = 90,
572 .threshold = 90,
582 .threshold = 50,
/net/ipv4/
Dipmr_base.c12 unsigned char threshold, in vif_device_init() argument
23 v->threshold = threshold; in vif_device_init()
Dfib_trie.c808 unsigned long threshold = used; in should_inflate() local
811 threshold *= IS_TRIE(tp) ? inflate_threshold_root : inflate_threshold; in should_inflate()
817 return (used > 1) && tn->pos && ((50 * used) >= threshold); in should_inflate()
823 unsigned long threshold = used; in should_halve() local
826 threshold *= IS_TRIE(tp) ? halve_threshold_root : halve_threshold; in should_halve()
831 return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); in should_halve()
DKconfig487 congestion window and slow start threshold after a congestion
489 slow start threshold and a congestion window which takes into
619 buffer thresholds. The default ECN marking threshold heuristic for
/net/bridge/netfilter/
Debt_nflog.c33 li.u.ulog.qthreshold = info->threshold; in ebt_nflog_tg()
/net/netfilter/
Dxt_NFLOG.c30 li.u.ulog.qthreshold = info->threshold; in nflog_tg()
/net/sched/
Dsch_fq_codel.c145 unsigned int threshold; in fq_codel_drop() local
163 threshold = maxbacklog >> 1; in fq_codel_drop()
173 } while (++i < max_packets && len < threshold); in fq_codel_drop()
/net/core/
Ddevlink.c1116 u32 threshold; in devlink_nl_sb_port_pool_fill() local
1121 pool_index, &threshold); in devlink_nl_sb_port_pool_fill()
1137 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_port_pool_fill()
1265 u32 threshold, in devlink_sb_port_pool_set() argument
1273 pool_index, threshold, extack); in devlink_sb_port_pool_set()
1283 u32 threshold; in devlink_nl_cmd_sb_port_pool_set_doit() local
1294 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]); in devlink_nl_cmd_sb_port_pool_set_doit()
1296 pool_index, threshold, info->extack); in devlink_nl_cmd_sb_port_pool_set_doit()
1309 u32 threshold; in devlink_nl_sb_tc_pool_bind_fill() local
1315 &pool_index, &threshold); in devlink_nl_sb_tc_pool_bind_fill()
[all …]
/net/bluetooth/
Dl2cap_core.c2109 int threshold; in l2cap_send_ack() local
2134 threshold = chan->ack_win; in l2cap_send_ack()
2135 threshold += threshold << 1; in l2cap_send_ack()
2136 threshold >>= 2; in l2cap_send_ack()
2139 threshold); in l2cap_send_ack()
2141 if (frames_to_ack >= threshold) { in l2cap_send_ack()