/Linux-v5.15/net/core/ |
D | gen_estimator.c | 78 struct net_rate_estimator *est = from_timer(est, t, timer); in est_timer() local 82 est_fetch_counters(est, &b); in est_timer() 83 brate = (b.bytes - est->last_bytes) << (10 - est->intvl_log); in est_timer() 84 brate = (brate >> est->ewma_log) - (est->avbps >> est->ewma_log); in est_timer() 86 rate = (b.packets - est->last_packets) << (10 - est->intvl_log); in est_timer() 87 rate = (rate >> est->ewma_log) - (est->avpps >> est->ewma_log); in est_timer() 89 write_seqcount_begin(&est->seq); in est_timer() 90 est->avbps += brate; in est_timer() 91 est->avpps += rate; in est_timer() 92 write_seqcount_end(&est->seq); in est_timer() [all …]
|
D | gen_stats.c | 257 struct gnet_stats_rate_est est; in gnet_stats_copy_rate_est() local 262 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est() 264 est.pps = sample.pps; in gnet_stats_copy_rate_est() 267 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est() 268 d->tc_stats.pps = est.pps; in gnet_stats_copy_rate_est() 272 res = gnet_stats_copy(d, TCA_STATS_RATE_EST, &est, sizeof(est), in gnet_stats_copy_rate_est() 274 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
|
/Linux-v5.15/net/netfilter/ |
D | xt_RATEEST.c | 38 struct xt_rateest *est) in xt_rateest_hash_insert() argument 42 h = xt_rateest_hash(est->name); in xt_rateest_hash_insert() 43 hlist_add_head(&est->list, &xn->hash[h]); in xt_rateest_hash_insert() 49 struct xt_rateest *est; in __xt_rateest_lookup() local 53 hlist_for_each_entry(est, &xn->hash[h], list) { in __xt_rateest_lookup() 54 if (strcmp(est->name, name) == 0) { in __xt_rateest_lookup() 55 est->refcnt++; in __xt_rateest_lookup() 56 return est; in __xt_rateest_lookup() 66 struct xt_rateest *est; in xt_rateest_lookup() local 69 est = __xt_rateest_lookup(xn, name); in xt_rateest_lookup() [all …]
|
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 686 est->size = sizeof(struct nft_hash) + in nft_hash_fast_estimate() [all …]
|
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()
|
D | nft_set_pipapo_avx2.h | 9 struct nft_set_estimate *est);
|
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()
|
/Linux-v5.15/net/netfilter/ipvs/ |
D | ip_vs_est.c | 105 s = container_of(e, struct ip_vs_stats, est); in estimation_timer() 139 struct ip_vs_estimator *est = &stats->est; in ip_vs_start_estimator() local 141 INIT_LIST_HEAD(&est->list); in ip_vs_start_estimator() 144 list_add(&est->list, &ipvs->est_list); in ip_vs_start_estimator() 150 struct ip_vs_estimator *est = &stats->est; in ip_vs_stop_estimator() local 153 list_del(&est->list); in ip_vs_stop_estimator() 159 struct ip_vs_estimator *est = &stats->est; in ip_vs_zero_estimator() local 163 est->last_inbytes = k->inbytes; in ip_vs_zero_estimator() 164 est->last_outbytes = k->outbytes; in ip_vs_zero_estimator() 165 est->last_conns = k->conns; in ip_vs_zero_estimator() [all …]
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
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() 84 stmmac_est_configure(priv, priv->ioaddr, priv->plat->est, 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() 102 time.tv_nsec = priv->plat->est->btr_reserve[0]; in stmmac_adjust_time() 103 time.tv_sec = priv->plat->est->btr_reserve[1]; in stmmac_adjust_time() 105 cycle_time = priv->plat->est->ctr[1] * NSEC_PER_SEC + in stmmac_adjust_time() 106 priv->plat->est->ctr[0]; in stmmac_adjust_time() [all …]
|
D | stmmac_tc.c | 794 if (!plat->est) { in tc_setup_taprio() 795 plat->est = devm_kzalloc(priv->device, sizeof(*plat->est), in tc_setup_taprio() 797 if (!plat->est) in tc_setup_taprio() 800 mutex_init(&priv->plat->est->lock); in tc_setup_taprio() 802 memset(plat->est, 0, sizeof(*plat->est)); in tc_setup_taprio() 807 mutex_lock(&priv->plat->est->lock); in tc_setup_taprio() 808 priv->plat->est->gcl_size = size; in tc_setup_taprio() 809 priv->plat->est->enable = qopt->enable; in tc_setup_taprio() 810 mutex_unlock(&priv->plat->est->lock); in tc_setup_taprio() 838 priv->plat->est->gcl[i] = delta_ns | (gates << wid); in tc_setup_taprio() [all …]
|
/Linux-v5.15/arch/powerpc/boot/ |
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-v5.15/include/net/ |
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-v5.15/drivers/media/dvb-frontends/ |
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() 948 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ in dib7000m_set_channel() 951 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000m_set_channel() [all …]
|
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() 1117 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ in dib7000p_set_channel() 1120 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000p_set_channel() [all …]
|
/Linux-v5.15/drivers/atm/ |
D | idt77252.c | 2072 struct rate_estimator *est = from_timer(est, t, timer); in idt77252_est_timer() local 2073 struct vc_map *vc = est->vc; in idt77252_est_timer() 2083 ncells = est->cells; in idt77252_est_timer() 2085 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); in idt77252_est_timer() 2086 est->last_cells = ncells; in idt77252_est_timer() 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() 2090 cps = est->cps; in idt77252_est_timer() 2091 if (cps < (est->maxcps >> 4)) in idt77252_est_timer() 2092 cps = est->maxcps >> 4; in idt77252_est_timer() [all …]
|
/Linux-v5.15/net/sched/ |
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()
|
D | act_api.c | 468 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, in tcf_idr_create() argument 499 if (est) { in tcf_idr_create() 502 &p->tcfa_lock, NULL, est); in tcf_idr_create() 525 struct nlattr *est, struct tc_action **a, in tcf_idr_create_from_flags() argument 530 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags() 1006 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() argument 1036 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, tp, in tcf_action_init_1() 1039 err = a_o->init(net, nla, est, &a, tp, userflags.value | flags, in tcf_action_init_1() 1065 struct nlattr *est, struct tc_action *actions[], in tcf_action_init() argument 1095 act = tcf_action_init_1(net, tp, tb[i], est, ops[i - 1], in tcf_action_init()
|
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()
|
D | act_simple.c | 87 struct nlattr *est, struct tc_action **a, in tcf_simp_init() argument 130 ret = tcf_idr_create(tn, index, est, a, in tcf_simp_init()
|
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 NULL, est); in tcf_police_init()
|
D | act_gact.c | 54 struct nlattr *est, struct tc_action **a, in tcf_gact_init() argument 102 ret = tcf_idr_create_from_flags(tn, index, est, a, in tcf_gact_init()
|
/Linux-v5.15/drivers/net/ethernet/ibm/emac/ |
D | core.c | 1974 struct emac_error_stats *est = &dev->estats; in emac_stats() local 1986 nst->rx_dropped = (unsigned long)(est->rx_dropped_oom + in emac_stats() 1987 est->rx_dropped_error + in emac_stats() 1988 est->rx_dropped_resize + in emac_stats() 1989 est->rx_dropped_mtu); in emac_stats() 1990 nst->tx_dropped = (unsigned long)est->tx_dropped; in emac_stats() 1992 nst->rx_errors = (unsigned long)est->rx_bd_errors; in emac_stats() 1993 nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun + in emac_stats() 1994 est->rx_fifo_overrun + in emac_stats() 1995 est->rx_overrun); in emac_stats() [all …]
|
/Linux-v5.15/include/uapi/linux/netfilter/ |
D | xt_RATEEST.h | 14 struct xt_rateest *est __attribute__((aligned(8))); member
|
/Linux-v5.15/include/net/netfilter/ |
D | xt_rateest.h | 25 void xt_rateest_put(struct net *net, struct xt_rateest *est);
|
/Linux-v5.15/tools/power/cpupower/po/ |
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" 505 msgstr "Les arguments avec un * utiliseront le CPU 0 si -c (--cpu) est omis\n" 512 msgstr "Cette option est incompatible avec --cpu\n" 592 msgstr "Les arguments avec un * utiliseront le CPU 0 si -c (--cpu) est omis\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" [all …]
|