Home
last modified time | relevance | path

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

/net/wireless/
Dwext-spy.c116 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_set_thrspy() local
123 spydata->spy_thr_low = threshold->low; in iw_handler_set_thrspy()
124 spydata->spy_thr_high = threshold->high; in iw_handler_set_thrspy()
143 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_get_thrspy() local
150 threshold->low = spydata->spy_thr_low; in iw_handler_get_thrspy()
151 threshold->high = spydata->spy_thr_high; 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 threshold.qual = *wstats; in iw_send_thrspy_event()
[all …]
/net/batman-adv/
Dbat_v.c482 u32 threshold; in batadv_v_neigh_is_sob() local
493 threshold = ifinfo1->bat_v.throughput / 4; in batadv_v_neigh_is_sob()
494 threshold = ifinfo1->bat_v.throughput - threshold; in batadv_v_neigh_is_sob()
496 ret = ifinfo2->bat_v.throughput > threshold; in batadv_v_neigh_is_sob()
625 u32 gw_throughput, orig_throughput, threshold; in batadv_v_gw_is_eligible() local
628 threshold = atomic_read(&bat_priv->gw.sel_class); in batadv_v_gw_is_eligible()
651 if ((orig_throughput - gw_throughput) < threshold) in batadv_v_gw_is_eligible()
/net/ipv4/
Dtcp_cubic.c390 u32 threshold; in hystart_update() local
402 threshold = ca->delay_min + hystart_ack_delay(sk); in hystart_update()
410 threshold >>= 1; in hystart_update()
412 if ((s32)(now - ca->round_start) > threshold) { in hystart_update()
415 now - ca->round_start, threshold, in hystart_update()
Dipmr_base.c12 unsigned char threshold, in vif_device_init() argument
23 v->threshold = threshold; in vif_device_init()
Dfib_trie.c806 unsigned long threshold = used; in should_inflate() local
809 threshold *= IS_TRIE(tp) ? inflate_threshold_root : inflate_threshold; in should_inflate()
815 return (used > 1) && tn->pos && ((50 * used) >= threshold); in should_inflate()
821 unsigned long threshold = used; in should_halve() local
824 threshold *= IS_TRIE(tp) ? halve_threshold_root : halve_threshold; in should_halve()
829 return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); in should_halve()
DKconfig511 congestion window and slow start threshold after a congestion
513 slow start threshold and a congestion window which takes into
643 buffer thresholds. The default ECN marking threshold heuristic for
/net/xfrm/
Dxfrm_ipcomp.c164 if (skb->len < ipcd->threshold) { in ipcomp_output()
362 ipcd->threshold = calg_desc->uinfo.comp.threshold; in ipcomp_init_state()
Dxfrm_algo.c603 .threshold = 90,
613 .threshold = 90,
623 .threshold = 50,
/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.c144 unsigned int threshold; in fq_codel_drop() local
162 threshold = maxbacklog >> 1; in fq_codel_drop()
172 } while (++i < max_packets && len < threshold); in fq_codel_drop()
/net/dsa/
Ddsa2.c705 u32 threshold, in dsa_devlink_sb_port_pool_set() argument
715 pool_index, threshold, extack); in dsa_devlink_sb_port_pool_set()
739 u16 pool_index, u32 threshold, in dsa_devlink_sb_tc_pool_bind_set() argument
750 pool_index, threshold, in dsa_devlink_sb_tc_pool_bind_set()
/net/devlink/
Dleftover.c2721 u32 threshold; in devlink_nl_sb_port_pool_fill() local
2726 pool_index, &threshold); in devlink_nl_sb_port_pool_fill()
2742 if (nla_put_u32(msg, DEVLINK_ATTR_SB_THRESHOLD, threshold)) in devlink_nl_sb_port_pool_fill()
2882 u32 threshold, in devlink_sb_port_pool_set() argument
2890 pool_index, threshold, extack); in devlink_sb_port_pool_set()
2901 u32 threshold; in devlink_nl_cmd_sb_port_pool_set_doit() local
2916 threshold = nla_get_u32(info->attrs[DEVLINK_ATTR_SB_THRESHOLD]); in devlink_nl_cmd_sb_port_pool_set_doit()
2918 pool_index, threshold, info->extack); in devlink_nl_cmd_sb_port_pool_set_doit()
2931 u32 threshold; in devlink_nl_sb_tc_pool_bind_fill() local
2937 &pool_index, &threshold); in devlink_nl_sb_tc_pool_bind_fill()
[all …]
/net/bluetooth/
Dl2cap_core.c2301 int threshold; in l2cap_send_ack() local
2326 threshold = chan->ack_win; in l2cap_send_ack()
2327 threshold += threshold << 1; in l2cap_send_ack()
2328 threshold >>= 2; in l2cap_send_ack()
2331 threshold); in l2cap_send_ack()
2333 if (frames_to_ack >= threshold) { in l2cap_send_ack()