/Linux-v5.4/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->ewma_log - est->intvl_log); in est_timer() 84 brate -= (est->avbps >> est->ewma_log); in est_timer() 86 rate = (u64)(b.packets - est->last_packets) << (10 - est->ewma_log - est->intvl_log); in est_timer() 87 rate -= (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 | 253 struct gnet_stats_rate_est est; in gnet_stats_copy_rate_est() local 258 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est() 260 est.pps = sample.pps; in gnet_stats_copy_rate_est() 263 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est() 264 d->tc_stats.pps = est.pps; in gnet_stats_copy_rate_est() 268 res = gnet_stats_copy(d, TCA_STATS_RATE_EST, &est, sizeof(est), in gnet_stats_copy_rate_est() 270 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
|
/Linux-v5.4/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 | 402 struct nft_set_estimate *est) in nft_rhash_estimate() argument 404 est->size = ~0; in nft_rhash_estimate() 405 est->lookup = NFT_SET_CLASS_O_1; in nft_rhash_estimate() 406 est->space = NFT_SET_CLASS_O_N; in nft_rhash_estimate() 630 struct nft_set_estimate *est) in nft_hash_estimate() argument 638 est->size = sizeof(struct nft_hash) + in nft_hash_estimate() 641 est->lookup = NFT_SET_CLASS_O_1; in nft_hash_estimate() 642 est->space = NFT_SET_CLASS_O_N; in nft_hash_estimate() 648 struct nft_set_estimate *est) in nft_hash_fast_estimate() argument 656 est->size = sizeof(struct nft_hash) + in nft_hash_fast_estimate() [all …]
|
D | nft_set_bitmap.c | 283 struct nft_set_estimate *est) in nft_bitmap_estimate() argument 289 est->size = nft_bitmap_total_size(desc->klen); in nft_bitmap_estimate() 290 est->lookup = NFT_SET_CLASS_O_1; in nft_bitmap_estimate() 291 est->space = NFT_SET_CLASS_O_1; in nft_bitmap_estimate()
|
D | nft_set_rbtree.c | 456 struct nft_set_estimate *est) in nft_rbtree_estimate() argument 459 est->size = sizeof(struct nft_rbtree) + in nft_rbtree_estimate() 462 est->size = ~0; in nft_rbtree_estimate() 464 est->lookup = NFT_SET_CLASS_O_LOG_N; in nft_rbtree_estimate() 465 est->space = NFT_SET_CLASS_O_N; in nft_rbtree_estimate()
|
/Linux-v5.4/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.4/drivers/staging/uwb/ |
D | est.c | 338 ssize_t uwb_est_get_size(struct uwb_rc *uwb_rc, struct uwb_est *est, in uwb_est_get_size() argument 348 if (event_low >= est->entries) { /* in range? */ in uwb_est_get_size() 350 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 351 est->entries, event_low); in uwb_est_get_size() 355 entry = &est->entry[event_low]; in uwb_est_get_size() 358 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 359 est->entries, event_low); in uwb_est_get_size() 379 est, est->type_event_high, est->vendor, in uwb_est_get_size() 380 est->product, est->entries); in uwb_est_get_size()
|
D | Makefile | 15 est.o \
|
/Linux-v5.4/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.4/include/net/ |
D | act_api.h | 95 struct nlattr *est, struct tc_action **act, int ovr, 155 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, 177 struct nlattr *est, char *name, int ovr, int bind, 181 struct nlattr *nla, struct nlattr *est,
|
/Linux-v5.4/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.4/net/sched/ |
D | act_ipt.c | 96 struct nlattr *est, struct tc_action **a, in __tcf_ipt_init() argument 146 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init() 206 struct nlattr *est, struct tc_action **a, int ovr, in tcf_ipt_init() argument 210 return __tcf_ipt_init(net, ipt_net_id, nla, est, a, &act_ipt_ops, ovr, in tcf_ipt_init() 215 struct nlattr *est, struct tc_action **a, int ovr, in tcf_xt_init() argument 219 return __tcf_ipt_init(net, xt_net_id, nla, est, a, &act_xt_ops, ovr, in tcf_xt_init()
|
D | act_simple.c | 87 struct nlattr *est, struct tc_action **a, in tcf_simp_init() argument 129 ret = tcf_idr_create(tn, index, est, a, in tcf_simp_init()
|
D | act_connmark.c | 95 struct nlattr *est, struct tc_action **a, in tcf_connmark_init() argument 123 ret = tcf_idr_create(tn, index, est, a, in tcf_connmark_init()
|
D | act_police.c | 48 struct nlattr *est, struct tc_action **a, in tcf_police_init() argument 120 if (est) { in tcf_police_init() 125 NULL, est); in tcf_police_init()
|
D | act_api.c | 400 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, in tcf_idr_create() argument 430 if (est) { in tcf_idr_create() 433 &p->tcfa_lock, NULL, est); in tcf_idr_create() 843 struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() argument 916 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, ovr, bind, in tcf_action_init_1() 919 err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held, in tcf_action_init_1() 956 struct nlattr *est, char *name, int ovr, int bind, in tcf_action_init() argument 972 act = tcf_action_init_1(net, tp, tb[i], est, name, ovr, bind, in tcf_action_init()
|
D | act_gact.c | 54 struct nlattr *est, struct tc_action **a, in tcf_gact_init() argument 101 ret = tcf_idr_create(tn, index, est, a, in tcf_gact_init()
|
/Linux-v5.4/drivers/atm/ |
D | idt77252.c | 2077 struct rate_estimator *est = from_timer(est, t, timer); in idt77252_est_timer() local 2078 struct vc_map *vc = est->vc; in idt77252_est_timer() 2088 ncells = est->cells; in idt77252_est_timer() 2090 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); in idt77252_est_timer() 2091 est->last_cells = ncells; in idt77252_est_timer() 2092 est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log; in idt77252_est_timer() 2093 est->cps = (est->avcps + 0x1f) >> 5; in idt77252_est_timer() 2095 cps = est->cps; in idt77252_est_timer() 2096 if (cps < (est->maxcps >> 4)) in idt77252_est_timer() 2097 cps = est->maxcps >> 4; in idt77252_est_timer() [all …]
|
/Linux-v5.4/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.4/drivers/staging/uwb/i1480/ |
D | Makefile | 2 obj-$(CONFIG_UWB_I1480U) += dfu/ i1480-est.o
|
/Linux-v5.4/include/uapi/linux/netfilter/ |
D | xt_RATEEST.h | 14 struct xt_rateest *est __attribute__((aligned(8))); member
|
/Linux-v5.4/include/net/netfilter/ |
D | xt_rateest.h | 25 void xt_rateest_put(struct net *net, struct xt_rateest *est);
|
/Linux-v5.4/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 …]
|