/linux/net/core/ |
A D | gen_estimator.c | 78 struct net_rate_estimator *est = from_timer(est, t, timer); in est_timer() local 87 brate = (b_bytes - est->last_bytes) << (10 - est->intvl_log); in est_timer() 88 brate = (brate >> est->ewma_log) - (est->avbps >> est->ewma_log); in est_timer() 91 rate = (rate >> est->ewma_log) - (est->avpps >> est->ewma_log); in est_timer() 101 est->next_jiffies += ((HZ/4) << est->intvl_log); in est_timer() 107 mod_timer(&est->timer, est->next_jiffies); in est_timer() 155 est = kzalloc(sizeof(*est), GFP_KERNEL); in gen_new_estimator() 156 if (!est) in gen_new_estimator() 187 mod_timer(&est->timer, est->next_jiffies); in gen_new_estimator() 210 if (est) { in gen_kill_estimator() [all …]
|
A D | gen_stats.c | 312 struct gnet_stats_rate_est est; in gnet_stats_copy_rate_est() local 317 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est() 319 est.pps = sample.pps; in gnet_stats_copy_rate_est() 322 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est() 323 d->tc_stats.pps = est.pps; in gnet_stats_copy_rate_est() 327 res = gnet_stats_copy(d, TCA_STATS_RATE_EST, &est, sizeof(est), in gnet_stats_copy_rate_est() 329 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
|
/linux/net/netfilter/ |
A D | xt_RATEEST.c | 55 est->refcnt++; in __xt_rateest_lookup() 56 return est; in __xt_rateest_lookup() 71 return est; in xt_rateest_lookup() 125 if (est) { in xt_rateest_tg_checkentry() 137 info->est = est; in xt_rateest_tg_checkentry() 142 est = kzalloc(sizeof(*est), GFP_KERNEL); in xt_rateest_tg_checkentry() 143 if (!est) in xt_rateest_tg_checkentry() 147 strlcpy(est->name, info->name, sizeof(est->name)); in xt_rateest_tg_checkentry() 158 ret = gen_new_estimator(&est->bstats, NULL, &est->rate_est, in xt_rateest_tg_checkentry() 163 info->est = est; in xt_rateest_tg_checkentry() [all …]
|
A D | nft_set_hash.c | 430 struct nft_set_estimate *est) in nft_rhash_estimate() argument 432 est->size = ~0; in nft_rhash_estimate() 433 est->lookup = NFT_SET_CLASS_O_1; in nft_rhash_estimate() 434 est->space = NFT_SET_CLASS_O_N; in nft_rhash_estimate() 660 struct nft_set_estimate *est) in nft_hash_estimate() argument 668 est->size = sizeof(struct nft_hash) + in nft_hash_estimate() 671 est->lookup = NFT_SET_CLASS_O_1; in nft_hash_estimate() 672 est->space = NFT_SET_CLASS_O_N; in nft_hash_estimate() 678 struct nft_set_estimate *est) in nft_hash_fast_estimate() argument 689 est->lookup = NFT_SET_CLASS_O_1; in nft_hash_fast_estimate() [all …]
|
A D | nft_set_bitmap.c | 284 struct nft_set_estimate *est) in nft_bitmap_estimate() argument 292 est->size = nft_bitmap_total_size(desc->klen); in nft_bitmap_estimate() 293 est->lookup = NFT_SET_CLASS_O_1; in nft_bitmap_estimate() 294 est->space = NFT_SET_CLASS_O_1; in nft_bitmap_estimate()
|
A D | nft_set_rbtree.c | 597 struct nft_set_estimate *est) in nft_rbtree_estimate() argument 603 est->size = sizeof(struct nft_rbtree) + in nft_rbtree_estimate() 606 est->size = ~0; in nft_rbtree_estimate() 608 est->lookup = NFT_SET_CLASS_O_LOG_N; in nft_rbtree_estimate() 609 est->space = NFT_SET_CLASS_O_N; in nft_rbtree_estimate()
|
A D | nft_set_pipapo_avx2.h | 9 struct nft_set_estimate *est);
|
A D | nft_set_pipapo_avx2.c | 1087 struct nft_set_estimate *est) in nft_pipapo_avx2_estimate() argument 1096 est->size = pipapo_estimate_size(desc); in nft_pipapo_avx2_estimate() 1097 if (!est->size) in nft_pipapo_avx2_estimate() 1100 est->lookup = NFT_SET_CLASS_O_LOG_N; in nft_pipapo_avx2_estimate() 1102 est->space = NFT_SET_CLASS_O_N; in nft_pipapo_avx2_estimate()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_est.c | 144 struct ip_vs_estimator *est = &stats->est; in ip_vs_start_estimator() local 146 INIT_LIST_HEAD(&est->list); in ip_vs_start_estimator() 155 struct ip_vs_estimator *est = &stats->est; in ip_vs_stop_estimator() local 158 list_del(&est->list); in ip_vs_stop_estimator() 164 struct ip_vs_estimator *est = &stats->est; in ip_vs_zero_estimator() local 170 est->last_conns = k->conns; in ip_vs_zero_estimator() 173 est->cps = 0; in ip_vs_zero_estimator() 174 est->inpps = 0; in ip_vs_zero_estimator() 175 est->outpps = 0; in ip_vs_zero_estimator() 176 est->inbps = 0; in ip_vs_zero_estimator() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_ptp.c | 80 if (priv->plat->est && priv->plat->est->enable) { in stmmac_adjust_time() 82 mutex_lock(&priv->plat->est->lock); in stmmac_adjust_time() 83 priv->plat->est->enable = false; in stmmac_adjust_time() 86 mutex_unlock(&priv->plat->est->lock); in stmmac_adjust_time() 99 mutex_lock(&priv->plat->est->lock); in stmmac_adjust_time() 103 time.tv_sec = priv->plat->est->btr_reserve[1]; in stmmac_adjust_time() 106 priv->plat->est->ctr[0]; in stmmac_adjust_time() 111 priv->plat->est->btr[0] = (u32)time.tv_nsec; in stmmac_adjust_time() 112 priv->plat->est->btr[1] = (u32)time.tv_sec; in stmmac_adjust_time() 113 priv->plat->est->enable = true; in stmmac_adjust_time() [all …]
|
A D | stmmac_tc.c | 852 if (!plat->est) { in tc_setup_taprio() 853 plat->est = devm_kzalloc(priv->device, sizeof(*plat->est), in tc_setup_taprio() 855 if (!plat->est) in tc_setup_taprio() 858 mutex_init(&priv->plat->est->lock); in tc_setup_taprio() 860 memset(plat->est, 0, sizeof(*plat->est)); in tc_setup_taprio() 865 mutex_lock(&priv->plat->est->lock); in tc_setup_taprio() 866 priv->plat->est->gcl_size = size; in tc_setup_taprio() 899 mutex_lock(&priv->plat->est->lock); in tc_setup_taprio() 915 priv->plat->est->ctr[1] = (u32)ctr; in tc_setup_taprio() 945 if (priv->plat->est) { in tc_setup_taprio() [all …]
|
/linux/arch/powerpc/boot/ |
A D | cuboot-acadia.c | 52 unsigned long est; /* current estimate */ in get_clocks() local 137 est = i * ibdiv; in get_clocks() 138 idiff = (est > div) ? (est-div) : (div-est); in get_clocks()
|
/linux/include/net/ |
A D | act_api.h | 110 struct nlattr *est, struct tc_action **act, 170 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, 174 struct nlattr *est, struct tc_action **a, 190 struct nlattr *est, 197 struct nlattr *nla, struct nlattr *est,
|
/linux/drivers/media/dvb-frontends/ |
A D | dib7000m.c | 846 u16 value, est[4]; in dib7000m_set_channel() local 939 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ in dib7000m_set_channel() 940 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ in dib7000m_set_channel() 941 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000m_set_channel() 942 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ in dib7000m_set_channel() 945 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ in dib7000m_set_channel() 946 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ in dib7000m_set_channel() 947 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000m_set_channel() 951 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000m_set_channel() 952 est[1] = 0xffae; /* P_adp_noise_cnt -0.01 */ in dib7000m_set_channel() [all …]
|
A D | dib7000p.c | 974 u16 value, est[4]; in dib7000p_set_channel() local 1108 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ in dib7000p_set_channel() 1109 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ in dib7000p_set_channel() 1110 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000p_set_channel() 1111 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ in dib7000p_set_channel() 1114 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ in dib7000p_set_channel() 1115 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ in dib7000p_set_channel() 1116 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000p_set_channel() 1120 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000p_set_channel() 1121 est[1] = 0xffae; /* P_adp_noise_cnt -0.01 */ in dib7000p_set_channel() [all …]
|
/linux/drivers/atm/ |
A D | idt77252.c | 2072 struct rate_estimator *est = from_timer(est, t, timer); in idt77252_est_timer() local 2087 est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log; in idt77252_est_timer() 2088 est->cps = (est->avcps + 0x1f) >> 5; in idt77252_est_timer() 2103 est->timer.expires = jiffies + ((HZ / 4) << est->interval); in idt77252_est_timer() 2116 if (!est) in idt77252_init_est() 2119 est->cps = est->maxcps; in idt77252_init_est() 2120 est->avcps = est->cps << 5; in idt77252_init_est() 2121 est->vc = vc; in idt77252_init_est() 2128 return est; in idt77252_init_est() 2215 if (est) { in idt77252_init_ubr() [all …]
|
/linux/drivers/net/ethernet/ibm/emac/ |
A D | core.c | 1987 est->rx_dropped_error + in emac_stats() 1989 est->rx_dropped_mtu); in emac_stats() 1995 est->rx_overrun); in emac_stats() 1999 est->rx_bad_fcs); in emac_stats() 2004 est->rx_bd_in_range + in emac_stats() 2005 est->rx_runt_packet + in emac_stats() 2006 est->rx_short_event + in emac_stats() 2008 est->rx_out_of_range + in emac_stats() 2009 est->rx_in_range); in emac_stats() 2011 nst->tx_errors = (unsigned long)(est->tx_bd_errors + est->tx_errors); in emac_stats() [all …]
|
/linux/net/sched/ |
A D | act_ipt.c | 96 struct nlattr *est, struct tc_action **a, in __tcf_ipt_init() argument 147 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init() 205 struct nlattr *est, struct tc_action **a, in tcf_ipt_init() argument 209 return __tcf_ipt_init(net, ipt_net_id, nla, est, a, &act_ipt_ops, in tcf_ipt_init() 214 struct nlattr *est, struct tc_action **a, in tcf_xt_init() argument 218 return __tcf_ipt_init(net, xt_net_id, nla, est, a, &act_xt_ops, in tcf_xt_init()
|
A D | act_api.c | 468 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, in tcf_idr_create() argument 501 if (est) { in tcf_idr_create() 504 &p->tcfa_lock, false, est); in tcf_idr_create() 527 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags() argument 532 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags() 1008 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() argument 1038 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, tp, in tcf_action_init_1() 1041 err = a_o->init(net, nla, est, &a, tp, userflags.value | flags, in tcf_action_init_1() 1067 struct nlattr *est, struct tc_action *actions[], in tcf_action_init() argument 1097 act = tcf_action_init_1(net, tp, tb[i], est, ops[i - 1], in tcf_action_init()
|
A D | act_connmark.c | 98 struct nlattr *est, struct tc_action **a, in tcf_connmark_init() argument 126 ret = tcf_idr_create(tn, index, est, a, in tcf_connmark_init()
|
A D | act_simple.c | 88 struct nlattr *est, struct tc_action **a, in tcf_simp_init() argument 131 ret = tcf_idr_create(tn, index, est, a, in tcf_simp_init()
|
A D | act_police.c | 50 struct nlattr *est, struct tc_action **a, in tcf_police_init() argument 123 if (est) { in tcf_police_init() 128 false, est); in tcf_police_init()
|
/linux/tools/power/cpupower/po/ |
A D | fr.po | 348 "Le régulateur \"%s\" est libre de choisir la vitesse\n" 354 msgstr " la fréquence actuelle de ce CPU est " 497 "argument, ou bien si seulement l'argument -c (--cpu) est donné, afin de\n" 512 msgstr "Cette option est incompatible avec --cpu\n" 605 "1. Le CPU numéro 0 sera utilisé par défaut si -c (ou --cpu) est omis ;\n" 625 "En ajustant les nouveaux paramètres, une erreur est apparue. Les sources\n" 628 "- le régulateur choisi n'est pas disponible, ou bien n'est pas disponible " 631 "- la tactique n'est pas disponible ;\n" 633 " n'est pas disponible, par exemple parce que le matériel ne le supporte\n" 634 " pas, ou bien n'est tout simplement pas chargé.\n" [all …]
|
/linux/include/uapi/linux/netfilter/ |
A D | xt_RATEEST.h | 14 struct xt_rateest *est __attribute__((aligned(8))); member
|
/linux/include/net/netfilter/ |
A D | xt_rateest.h | 25 void xt_rateest_put(struct net *net, struct xt_rateest *est);
|