Searched refs:est (Results 1 - 25 of 62) sorted by relevance

123

/linux-master/net/core/
H A Dgen_estimator.c78 struct net_rate_estimator *est = from_timer(est, t, timer); local
83 est_fetch_counters(est, &b);
87 brate = (b_bytes - est->last_bytes) << (10 - est->intvl_log);
88 brate = (brate >> est->ewma_log) - (est->avbps >> est->ewma_log);
90 rate = (b_packets - est->last_packets) << (10 - est
138 struct net_rate_estimator *old, *est; local
207 struct net_rate_estimator *est; local
259 struct net_rate_estimator *est; local
[all...]
H A Dgen_stats.c312 struct gnet_stats_rate_est est; local
317 est.bps = min_t(u64, UINT_MAX, sample.bps);
319 est.pps = sample.pps;
322 d->tc_stats.bps = est.bps;
323 d->tc_stats.pps = est.pps;
327 res = gnet_stats_copy(d, TCA_STATS_RATE_EST, &est, sizeof(est),
329 if (res < 0 || est.bps == sample.bps)
/linux-master/net/netfilter/
H A Dxt_RATEEST.c38 struct xt_rateest *est)
42 h = xt_rateest_hash(est->name);
43 hlist_add_head(&est->list, &xn->hash[h]);
49 struct xt_rateest *est; local
53 hlist_for_each_entry(est, &xn->hash[h], list) {
54 if (strcmp(est->name, name) == 0) {
55 est->refcnt++;
56 return est;
66 struct xt_rateest *est; local
69 est
37 xt_rateest_hash_insert(struct xt_rateest_net *xn, struct xt_rateest *est) argument
75 xt_rateest_put(struct net *net, struct xt_rateest *est) argument
111 struct xt_rateest *est; local
114 struct gnet_estimator est; member in struct:__anon3172
[all...]
H A Dnft_set_pipapo_avx2.h9 struct nft_set_estimate *est);
H A Dnft_set_bitmap.c282 struct nft_set_estimate *est)
290 est->size = nft_bitmap_total_size(desc->klen);
291 est->lookup = NFT_SET_CLASS_O_1;
292 est->space = NFT_SET_CLASS_O_1;
281 nft_bitmap_estimate(const struct nft_set_desc *desc, u32 features, struct nft_set_estimate *est) argument
H A Dnft_set_hash.c471 struct nft_set_estimate *est)
473 est->size = ~0;
474 est->lookup = NFT_SET_CLASS_O_1;
475 est->space = NFT_SET_CLASS_O_N;
699 struct nft_set_estimate *est)
707 est->size = sizeof(struct nft_hash) +
710 est->lookup = NFT_SET_CLASS_O_1;
711 est->space = NFT_SET_CLASS_O_N;
717 struct nft_set_estimate *est)
725 est
470 nft_rhash_estimate(const struct nft_set_desc *desc, u32 features, struct nft_set_estimate *est) argument
698 nft_hash_estimate(const struct nft_set_desc *desc, u32 features, struct nft_set_estimate *est) argument
716 nft_hash_fast_estimate(const struct nft_set_desc *desc, u32 features, struct nft_set_estimate *est) argument
[all...]
H A Dnft_set_pipapo_avx2.c1088 * @est: Storage for estimation data
1093 struct nft_set_estimate *est)
1102 est->size = pipapo_estimate_size(desc);
1103 if (!est->size)
1106 est->lookup = NFT_SET_CLASS_O_LOG_N;
1108 est->space = NFT_SET_CLASS_O_N;
1092 nft_pipapo_avx2_estimate(const struct nft_set_desc *desc, u32 features, struct nft_set_estimate *est) argument
H A Dnft_set_rbtree.c721 struct nft_set_estimate *est)
727 est->size = sizeof(struct nft_rbtree) +
730 est->size = ~0;
732 est->lookup = NFT_SET_CLASS_O_LOG_N;
733 est->space = NFT_SET_CLASS_O_N;
720 nft_rbtree_estimate(const struct nft_set_desc *desc, u32 features, struct nft_set_estimate *est) argument
/linux-master/include/uapi/linux/netfilter/
H A Dxt_RATEEST.h14 struct xt_rateest *est __attribute__((aligned(8))); member in struct:xt_rateest_target_info
/linux-master/include/net/netfilter/
H A Dxt_rateest.h25 void xt_rateest_put(struct net *net, struct xt_rateest *est);
/linux-master/net/netfilter/ipvs/
H A Dip_vs_est.c96 s = container_of(e, struct ip_vs_stats, est);
391 struct ip_vs_estimator *est)
396 int delay = est->ktrow;
461 est->ktid = ktid;
462 est->ktrow = row;
463 est->ktcid = cid;
464 hlist_add_head_rcu(&est->list, &td->chains[cid]);
485 struct ip_vs_estimator *est = &stats->est; local
491 est
390 ip_vs_enqueue_estimator(struct netns_ipvs *ipvs, struct ip_vs_estimator *est) argument
523 struct ip_vs_estimator *est = &stats->est; local
600 struct ip_vs_estimator *est; local
741 struct ip_vs_estimator *est; local
901 struct ip_vs_estimator *est = &stats->est; local
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c71 if (priv->plat->est && priv->plat->est->enable) {
73 mutex_lock(&priv->plat->est->lock);
74 priv->plat->est->enable = false;
75 stmmac_est_configure(priv, priv, priv->plat->est,
77 mutex_unlock(&priv->plat->est->lock);
90 mutex_lock(&priv->plat->est->lock);
93 time.tv_nsec = priv->plat->est->btr_reserve[0];
94 time.tv_sec = priv->plat->est->btr_reserve[1];
96 cycle_time = (u64)priv->plat->est
[all...]
H A Dhwif.c118 const void *est; member in struct:stmmac_hwif_entry
176 .est = &dwmac510_est_ops,
196 .est = &dwmac510_est_ops,
216 .est = &dwmac510_est_ops,
236 .est = &dwmac510_est_ops,
257 .est = &dwmac510_est_ops,
278 .est = &dwmac510_est_ops,
353 mac->est = mac->est ? : entry->est;
[all...]
H A Dstmmac_tc.c936 plat->est->max_sdu[j] = qopt->max_sdu[i] + ETH_HLEN - ETH_TLEN;
1001 if (!plat->est) {
1002 plat->est = devm_kzalloc(priv->device, sizeof(*plat->est),
1004 if (!plat->est)
1007 mutex_init(&priv->plat->est->lock);
1009 memset(plat->est, 0, sizeof(*plat->est));
1014 mutex_lock(&priv->plat->est->lock);
1015 priv->plat->est
[all...]
/linux-master/arch/powerpc/boot/
H A Dcuboot-acadia.c52 unsigned long est; /* current estimate */ local
137 est = i * ibdiv;
138 idiff = (est > div) ? (est-div) : (div-est);
/linux-master/include/net/
H A Dact_api.h119 struct nlattr *est, struct tc_action **act,
188 int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est,
192 struct nlattr *est, struct tc_action **a,
210 struct nlattr *est,
216 struct nlattr *nla, struct nlattr *est,
/linux-master/drivers/media/dvb-frontends/
H A Ddib7000m.c846 u16 value, est[4]; local
939 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */
940 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */
941 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */
942 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */
945 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */
946 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */
947 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */
948 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */
951 est[
[all...]
H A Ddib7000p.c974 u16 value, est[4]; local
1108 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */
1109 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */
1110 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */
1111 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */
1114 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */
1115 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */
1116 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */
1117 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */
1120 est[
[all...]
/linux-master/drivers/atm/
H A Didt77252.c2072 struct rate_estimator *est = from_timer(est, t, timer); local
2073 struct vc_map *vc = est->vc;
2083 ncells = est->cells;
2085 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval);
2086 est->last_cells = ncells;
2087 est->avcps += ((long)rate - (long)est->avcps) >> est
2113 struct rate_estimator *est; local
2205 struct rate_estimator *est = NULL; local
[all...]
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dcore.c1975 struct emac_error_stats *est = &dev->estats; local
1987 nst->rx_dropped = (unsigned long)(est->rx_dropped_oom +
1988 est->rx_dropped_error +
1989 est->rx_dropped_resize +
1990 est->rx_dropped_mtu);
1991 nst->tx_dropped = (unsigned long)est->tx_dropped;
1993 nst->rx_errors = (unsigned long)est->rx_bd_errors;
1994 nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun +
1995 est->rx_fifo_overrun +
1996 est
[all...]
/linux-master/net/sched/
H A Dact_simple.c89 struct nlattr *est, struct tc_action **a,
132 ret = tcf_idr_create(tn, index, est, a,
88 tcf_simp_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) argument
H A Dcls_basic.c150 struct nlattr *est, u32 flags,
155 err = tcf_exts_validate(net, tp, tb, est, &f->exts, flags, extack);
147 basic_set_parms(struct net *net, struct tcf_proto *tp, struct basic_filter *f, unsigned long base, struct nlattr **tb, struct nlattr *est, u32 flags, struct netlink_ext_ack *extack) argument
H A Dact_gact.c54 struct nlattr *est, struct tc_action **a,
102 ret = tcf_idr_create_from_flags(tn, index, est, a,
53 tcf_gact_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) argument
H A Dact_connmark.c99 struct nlattr *est, struct tc_action **a,
132 ret = tcf_idr_create_from_flags(tn, index, est, a,
98 tcf_connmark_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) argument
H A Dact_skbmod.c103 struct nlattr *est, struct tc_action **a,
171 ret = tcf_idr_create(tn, index, est, a,
102 tcf_skbmod_init(struct net *net, struct nlattr *nla, struct nlattr *est, struct tc_action **a, struct tcf_proto *tp, u32 flags, struct netlink_ext_ack *extack) argument

Completed in 214 milliseconds

123