est 455 arch/arm64/include/asm/assembler.h stnp \t1, \t2, [\dest] est 456 arch/arm64/include/asm/assembler.h stnp \t3, \t4, [\dest, #16] est 457 arch/arm64/include/asm/assembler.h stnp \t5, \t6, [\dest, #32] est 458 arch/arm64/include/asm/assembler.h stnp \t7, \t8, [\dest, #48] est 459 arch/arm64/include/asm/assembler.h add \dest, \dest, #64 est 171 arch/m68k/include/asm/math-emu.h move.l (FPS_PC+4,%sp),\dest est 179 arch/m68k/include/asm/math-emu.h getuser \f,%sp@(FPS_PC+4)@(0),\dest,\label,%sp@(FPS_PC+4) est 184 arch/m68k/include/asm/math-emu.h fp_get_instr_data w,2,\dest,\label,\addr est 188 arch/m68k/include/asm/math-emu.h fp_get_instr_data l,4,\dest,\label,\addr est 198 arch/m68k/include/asm/math-emu.h .Lu1\@: moves\size \src,\dest est 214 arch/m68k/include/asm/math-emu.h .Lu1\@: moves\size \src,\dest est 238 arch/m68k/include/asm/math-emu.h getuser .\m,\src,\dest,\label,\addr est 241 arch/m68k/include/asm/math-emu.h putuser .\m,\src,\dest,\label,\addr est 52 arch/powerpc/boot/cuboot-acadia.c unsigned long est; /* current estimate */ est 137 arch/powerpc/boot/cuboot-acadia.c est = i * ibdiv; est 138 arch/powerpc/boot/cuboot-acadia.c idiff = (est > div) ? (est-div) : (div-est); est 2077 drivers/atm/idt77252.c struct rate_estimator *est = from_timer(est, t, timer); est 2078 drivers/atm/idt77252.c struct vc_map *vc = est->vc; est 2088 drivers/atm/idt77252.c ncells = est->cells; est 2090 drivers/atm/idt77252.c rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); est 2091 drivers/atm/idt77252.c est->last_cells = ncells; est 2092 drivers/atm/idt77252.c est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log; est 2093 drivers/atm/idt77252.c est->cps = (est->avcps + 0x1f) >> 5; est 2095 drivers/atm/idt77252.c cps = est->cps; est 2096 drivers/atm/idt77252.c if (cps < (est->maxcps >> 4)) est 2097 drivers/atm/idt77252.c cps = est->maxcps >> 4; est 2108 drivers/atm/idt77252.c est->timer.expires = jiffies + ((HZ / 4) << est->interval); est 2109 drivers/atm/idt77252.c add_timer(&est->timer); est 2118 drivers/atm/idt77252.c struct rate_estimator *est; est 2120 drivers/atm/idt77252.c est = kzalloc(sizeof(struct rate_estimator), GFP_KERNEL); est 2121 drivers/atm/idt77252.c if (!est) est 2123 drivers/atm/idt77252.c est->maxcps = pcr < 0 ? -pcr : pcr; est 2124 drivers/atm/idt77252.c est->cps = est->maxcps; est 2125 drivers/atm/idt77252.c est->avcps = est->cps << 5; est 2126 drivers/atm/idt77252.c est->vc = vc; est 2128 drivers/atm/idt77252.c est->interval = 2; /* XXX: make this configurable */ est 2129 drivers/atm/idt77252.c est->ewma_log = 2; /* XXX: make this configurable */ est 2130 drivers/atm/idt77252.c timer_setup(&est->timer, idt77252_est_timer, 0); est 2131 drivers/atm/idt77252.c mod_timer(&est->timer, jiffies + ((HZ / 4) << est->interval)); est 2133 drivers/atm/idt77252.c return est; est 2210 drivers/atm/idt77252.c struct rate_estimator *est = NULL; est 2216 drivers/atm/idt77252.c est = vc->estimator; est 2220 drivers/atm/idt77252.c if (est) { est 2221 drivers/atm/idt77252.c del_timer_sync(&est->timer); est 2222 drivers/atm/idt77252.c kfree(est); est 2629 drivers/gpu/drm/drm_edid.c u8 *est = ((u8 *)timing) + 6; est 2636 drivers/gpu/drm/drm_edid.c if (est[i] & (1 << j)) { est 949 drivers/isdn/mISDN/layer2.c int est = 0; est 957 drivers/isdn/mISDN/layer2.c est = 1; est 969 drivers/isdn/mISDN/layer2.c if (est) est 846 drivers/media/dvb-frontends/dib7000m.c u16 value, est[4]; est 939 drivers/media/dvb-frontends/dib7000m.c est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ est 940 drivers/media/dvb-frontends/dib7000m.c est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ est 941 drivers/media/dvb-frontends/dib7000m.c est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ est 942 drivers/media/dvb-frontends/dib7000m.c est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ est 945 drivers/media/dvb-frontends/dib7000m.c est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ est 946 drivers/media/dvb-frontends/dib7000m.c est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ est 947 drivers/media/dvb-frontends/dib7000m.c est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ est 948 drivers/media/dvb-frontends/dib7000m.c est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ est 951 drivers/media/dvb-frontends/dib7000m.c est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ est 952 drivers/media/dvb-frontends/dib7000m.c est[1] = 0xffae; /* P_adp_noise_cnt -0.01 */ est 953 drivers/media/dvb-frontends/dib7000m.c est[2] = 0x0333; /* P_adp_regul_ext 0.1 */ est 954 drivers/media/dvb-frontends/dib7000m.c est[3] = 0xfff8; /* P_adp_noise_ext -0.002 */ est 958 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 214 + value + state->reg_offs, est[value]); est 974 drivers/media/dvb-frontends/dib7000p.c u16 value, est[4]; est 1108 drivers/media/dvb-frontends/dib7000p.c est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ est 1109 drivers/media/dvb-frontends/dib7000p.c est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ est 1110 drivers/media/dvb-frontends/dib7000p.c est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ est 1111 drivers/media/dvb-frontends/dib7000p.c est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ est 1114 drivers/media/dvb-frontends/dib7000p.c est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ est 1115 drivers/media/dvb-frontends/dib7000p.c est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ est 1116 drivers/media/dvb-frontends/dib7000p.c est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ est 1117 drivers/media/dvb-frontends/dib7000p.c est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ est 1120 drivers/media/dvb-frontends/dib7000p.c est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ est 1121 drivers/media/dvb-frontends/dib7000p.c est[1] = 0xffae; /* P_adp_noise_cnt -0.01 */ est 1122 drivers/media/dvb-frontends/dib7000p.c est[2] = 0x0333; /* P_adp_regul_ext 0.1 */ est 1123 drivers/media/dvb-frontends/dib7000p.c est[3] = 0xfff8; /* P_adp_noise_ext -0.002 */ est 1127 drivers/media/dvb-frontends/dib7000p.c dib7000p_write_word(state, 187 + value, est[value]); est 997 drivers/media/dvb-frontends/stb0899_drv.c unsigned int val, quant, quantn = -1, est, estn = -1; est 1023 drivers/media/dvb-frontends/stb0899_drv.c est = STB0899_GETFIELD(ESN0_EST, reg); est 1024 drivers/media/dvb-frontends/stb0899_drv.c if (est == 1) est 1026 drivers/media/dvb-frontends/stb0899_drv.c else if (est == 2) est 1032 drivers/media/dvb-frontends/stb0899_drv.c estn = stb0899_table_lookup(stb0899_est_tab, ARRAY_SIZE(stb0899_est_tab) - 1, est); est 1038 drivers/media/dvb-frontends/stb0899_drv.c quant, quantn, est, estn, val); est 1974 drivers/net/ethernet/ibm/emac/core.c struct emac_error_stats *est = &dev->estats; est 1986 drivers/net/ethernet/ibm/emac/core.c nst->rx_dropped = (unsigned long)(est->rx_dropped_oom + est 1987 drivers/net/ethernet/ibm/emac/core.c est->rx_dropped_error + est 1988 drivers/net/ethernet/ibm/emac/core.c est->rx_dropped_resize + est 1989 drivers/net/ethernet/ibm/emac/core.c est->rx_dropped_mtu); est 1990 drivers/net/ethernet/ibm/emac/core.c nst->tx_dropped = (unsigned long)est->tx_dropped; est 1992 drivers/net/ethernet/ibm/emac/core.c nst->rx_errors = (unsigned long)est->rx_bd_errors; est 1993 drivers/net/ethernet/ibm/emac/core.c nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun + est 1994 drivers/net/ethernet/ibm/emac/core.c est->rx_fifo_overrun + est 1995 drivers/net/ethernet/ibm/emac/core.c est->rx_overrun); est 1996 drivers/net/ethernet/ibm/emac/core.c nst->rx_frame_errors = (unsigned long)(est->rx_bd_alignment_error + est 1997 drivers/net/ethernet/ibm/emac/core.c est->rx_alignment_error); est 1998 drivers/net/ethernet/ibm/emac/core.c nst->rx_crc_errors = (unsigned long)(est->rx_bd_bad_fcs + est 1999 drivers/net/ethernet/ibm/emac/core.c est->rx_bad_fcs); est 2000 drivers/net/ethernet/ibm/emac/core.c nst->rx_length_errors = (unsigned long)(est->rx_bd_runt_packet + est 2001 drivers/net/ethernet/ibm/emac/core.c est->rx_bd_short_event + est 2002 drivers/net/ethernet/ibm/emac/core.c est->rx_bd_packet_too_long + est 2003 drivers/net/ethernet/ibm/emac/core.c est->rx_bd_out_of_range + est 2004 drivers/net/ethernet/ibm/emac/core.c est->rx_bd_in_range + est 2005 drivers/net/ethernet/ibm/emac/core.c est->rx_runt_packet + est 2006 drivers/net/ethernet/ibm/emac/core.c est->rx_short_event + est 2007 drivers/net/ethernet/ibm/emac/core.c est->rx_packet_too_long + est 2008 drivers/net/ethernet/ibm/emac/core.c est->rx_out_of_range + est 2009 drivers/net/ethernet/ibm/emac/core.c est->rx_in_range); est 2011 drivers/net/ethernet/ibm/emac/core.c nst->tx_errors = (unsigned long)(est->tx_bd_errors + est->tx_errors); est 2012 drivers/net/ethernet/ibm/emac/core.c nst->tx_fifo_errors = (unsigned long)(est->tx_bd_underrun + est 2013 drivers/net/ethernet/ibm/emac/core.c est->tx_underrun); est 2014 drivers/net/ethernet/ibm/emac/core.c nst->tx_carrier_errors = (unsigned long)est->tx_bd_carrier_loss; est 2015 drivers/net/ethernet/ibm/emac/core.c nst->collisions = (unsigned long)(est->tx_bd_excessive_deferral + est 2016 drivers/net/ethernet/ibm/emac/core.c est->tx_bd_excessive_collisions + est 2017 drivers/net/ethernet/ibm/emac/core.c est->tx_bd_late_collision + est 2018 drivers/net/ethernet/ibm/emac/core.c est->tx_bd_multple_collisions); est 4337 drivers/net/wireless/broadcom/b43/phy_n.c static void b43_nphy_rx_iq_est(struct b43_wldev *dev, struct nphy_iq_est *est, est 4355 drivers/net/wireless/broadcom/b43/phy_n.c est->i0_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_IPACC_HI0) << 16) | est 4357 drivers/net/wireless/broadcom/b43/phy_n.c est->q0_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_QPACC_HI0) << 16) | est 4359 drivers/net/wireless/broadcom/b43/phy_n.c est->iq0_prod = (b43_phy_read(dev, B43_NPHY_IQEST_IQACC_HI0) << 16) | est 4362 drivers/net/wireless/broadcom/b43/phy_n.c est->i1_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_IPACC_HI1) << 16) | est 4364 drivers/net/wireless/broadcom/b43/phy_n.c est->q1_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_QPACC_HI1) << 16) | est 4366 drivers/net/wireless/broadcom/b43/phy_n.c est->iq1_prod = (b43_phy_read(dev, B43_NPHY_IQEST_IQACC_HI1) << 16) | est 4372 drivers/net/wireless/broadcom/b43/phy_n.c memset(est, 0, sizeof(*est)); est 4490 drivers/net/wireless/broadcom/b43/phy_n.c struct nphy_iq_est est; est 4500 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rx_iq_est(dev, &est, 0x4000, 32, false); est 4505 drivers/net/wireless/broadcom/b43/phy_n.c iq = est.iq0_prod; est 4506 drivers/net/wireless/broadcom/b43/phy_n.c ii = est.i0_pwr; est 4507 drivers/net/wireless/broadcom/b43/phy_n.c qq = est.q0_pwr; est 4509 drivers/net/wireless/broadcom/b43/phy_n.c iq = est.iq1_prod; est 4510 drivers/net/wireless/broadcom/b43/phy_n.c ii = est.i1_pwr; est 4511 drivers/net/wireless/broadcom/b43/phy_n.c qq = est.q1_pwr; est 5659 drivers/net/wireless/broadcom/b43/phy_n.c struct nphy_iq_est est; est 5777 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_rx_iq_est(dev, &est, 1024, 32, est 5780 drivers/net/wireless/broadcom/b43/phy_n.c real = est.i0_pwr; est 5781 drivers/net/wireless/broadcom/b43/phy_n.c imag = est.q0_pwr; est 5783 drivers/net/wireless/broadcom/b43/phy_n.c real = est.i1_pwr; est 5784 drivers/net/wireless/broadcom/b43/phy_n.c imag = est.q1_pwr; est 2403 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c struct phy_iq_est est[PHY_CORE_MAX]; est 2411 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c memset((u8 *) est, 0, sizeof(est)); est 2421 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c wlc_phy_rx_iq_est_nphy(pi, est, num_samps, wait_time, est 2427 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c cmplx_pwr[i] = (est[i].i_pwr + est[i].q_pwr) >> est 1075 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est, est 26078 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rx_iq_est_nphy(struct brcms_phy *pi, struct phy_iq_est *est, est 26098 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c est[core].i_pwr = est 26102 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c est[core].q_pwr = est 26106 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c est[core].iq_prod = est 26118 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct phy_iq_est est[PHY_CORE_MAX]; est 26135 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rx_iq_est_nphy(pi, est, 0x4000, 32, 0); est 26142 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c iq = est[curr_core].iq_prod; est 26143 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c ii = est[curr_core].i_pwr; est 26144 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c qq = est[curr_core].q_pwr; est 26146 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c iq = est[curr_core].iq_prod; est 26147 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c ii = est[curr_core].i_pwr; est 26148 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c qq = est[curr_core].q_pwr; est 26900 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct phy_iq_est est[PHY_CORE_MAX]; est 26992 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0); est 26993 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c i_pwr = DIV_ROUND_CLOSEST(est[rx_core].i_pwr, num_samps); est 26994 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c q_pwr = DIV_ROUND_CLOSEST(est[rx_core].q_pwr, num_samps); est 27137 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct phy_iq_est est[PHY_CORE_MAX]; est 27242 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0); est 27246 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c max_t(u32, (est[0].i_pwr + est 27247 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c est[0].q_pwr) >> est 27252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c max_t(u32, (est[1].i_pwr + est 27253 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c est[1].q_pwr) >> est 27262 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rx_iq_est_nphy(pi, est, num_samps, 32, 0); est 27265 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c target_iq_vals = (est[0].i_pwr + est[0].q_pwr) >> est 27269 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c (est[1].i_pwr + est 27270 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c est[1].q_pwr) >> (log_num_samps + 1); est 27509 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c struct phy_iq_est est[PHY_CORE_MAX]; est 27673 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_rx_iq_est_nphy(pi, est, est 27676 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c i_pwr = DIV_ROUND_CLOSEST(est[rx_core].i_pwr, est 27678 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c q_pwr = DIV_ROUND_CLOSEST(est[rx_core].q_pwr, est 129 drivers/soc/fsl/dpio/qbman-portal.c static inline u32 qbman_set_swp_cfg(u8 max_fill, u8 wn, u8 est, u8 rpm, u8 dcm, est 134 drivers/soc/fsl/dpio/qbman-portal.c est << SWP_CFG_EST_SHIFT | est 338 drivers/staging/uwb/est.c ssize_t uwb_est_get_size(struct uwb_rc *uwb_rc, struct uwb_est *est, est 348 drivers/staging/uwb/est.c if (event_low >= est->entries) { /* in range? */ est 350 drivers/staging/uwb/est.c est, est->type_event_high, est->vendor, est->product, est 351 drivers/staging/uwb/est.c est->entries, event_low); est 355 drivers/staging/uwb/est.c entry = &est->entry[event_low]; est 358 drivers/staging/uwb/est.c est, est->type_event_high, est->vendor, est->product, est 359 drivers/staging/uwb/est.c est->entries, event_low); est 379 drivers/staging/uwb/est.c est, est->type_event_high, est->vendor, est 380 drivers/staging/uwb/est.c est->product, est->entries); est 96 include/net/act_api.h struct nlattr *est, struct tc_action **act, int ovr, est 156 include/net/act_api.h int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, est 178 include/net/act_api.h struct nlattr *est, char *name, int ovr, int bind, est 182 include/net/act_api.h struct nlattr *nla, struct nlattr *est, est 404 include/net/ip_vs.h struct ip_vs_estimator est; /* estimator */ est 365 include/net/netfilter/nf_tables.h struct nft_set_estimate *est); est 25 include/net/netfilter/xt_rateest.h void xt_rateest_put(struct net *net, struct xt_rateest *est); est 14 include/uapi/linux/netfilter/xt_RATEEST.h struct xt_rateest *est __attribute__((aligned(8))); est 78 net/core/gen_estimator.c struct net_rate_estimator *est = from_timer(est, t, timer); est 82 net/core/gen_estimator.c est_fetch_counters(est, &b); est 83 net/core/gen_estimator.c brate = (b.bytes - est->last_bytes) << (10 - est->ewma_log - est->intvl_log); est 84 net/core/gen_estimator.c brate -= (est->avbps >> est->ewma_log); est 86 net/core/gen_estimator.c rate = (u64)(b.packets - est->last_packets) << (10 - est->ewma_log - est->intvl_log); est 87 net/core/gen_estimator.c rate -= (est->avpps >> est->ewma_log); est 89 net/core/gen_estimator.c write_seqcount_begin(&est->seq); est 90 net/core/gen_estimator.c est->avbps += brate; est 91 net/core/gen_estimator.c est->avpps += rate; est 92 net/core/gen_estimator.c write_seqcount_end(&est->seq); est 94 net/core/gen_estimator.c est->last_bytes = b.bytes; est 95 net/core/gen_estimator.c est->last_packets = b.packets; est 97 net/core/gen_estimator.c est->next_jiffies += ((HZ/4) << est->intvl_log); est 99 net/core/gen_estimator.c if (unlikely(time_after_eq(jiffies, est->next_jiffies))) { est 101 net/core/gen_estimator.c est->next_jiffies = jiffies + 1; est 103 net/core/gen_estimator.c mod_timer(&est->timer, est->next_jiffies); est 132 net/core/gen_estimator.c struct net_rate_estimator *old, *est; est 146 net/core/gen_estimator.c est = kzalloc(sizeof(*est), GFP_KERNEL); est 147 net/core/gen_estimator.c if (!est) est 150 net/core/gen_estimator.c seqcount_init(&est->seq); est 152 net/core/gen_estimator.c est->bstats = bstats; est 153 net/core/gen_estimator.c est->stats_lock = lock; est 154 net/core/gen_estimator.c est->running = running; est 155 net/core/gen_estimator.c est->ewma_log = parm->ewma_log; est 156 net/core/gen_estimator.c est->intvl_log = intvl_log; est 157 net/core/gen_estimator.c est->cpu_bstats = cpu_bstats; est 161 net/core/gen_estimator.c est_fetch_counters(est, &b); est 164 net/core/gen_estimator.c est->last_bytes = b.bytes; est 165 net/core/gen_estimator.c est->last_packets = b.packets; est 172 net/core/gen_estimator.c est->avbps = old->avbps; est 173 net/core/gen_estimator.c est->avpps = old->avpps; est 176 net/core/gen_estimator.c est->next_jiffies = jiffies + ((HZ/4) << intvl_log); est 177 net/core/gen_estimator.c timer_setup(&est->timer, est_timer, 0); est 178 net/core/gen_estimator.c mod_timer(&est->timer, est->next_jiffies); est 180 net/core/gen_estimator.c rcu_assign_pointer(*rate_est, est); est 198 net/core/gen_estimator.c struct net_rate_estimator *est; est 200 net/core/gen_estimator.c est = xchg((__force struct net_rate_estimator **)rate_est, NULL); est 201 net/core/gen_estimator.c if (est) { est 202 net/core/gen_estimator.c del_timer_sync(&est->timer); est 203 net/core/gen_estimator.c kfree_rcu(est, rcu); est 248 net/core/gen_estimator.c struct net_rate_estimator *est; est 252 net/core/gen_estimator.c est = rcu_dereference(*rate_est); est 253 net/core/gen_estimator.c if (!est) { est 259 net/core/gen_estimator.c seq = read_seqcount_begin(&est->seq); est 260 net/core/gen_estimator.c sample->bps = est->avbps >> 8; est 261 net/core/gen_estimator.c sample->pps = est->avpps >> 8; est 262 net/core/gen_estimator.c } while (read_seqcount_retry(&est->seq, seq)); est 253 net/core/gen_stats.c struct gnet_stats_rate_est est; est 258 net/core/gen_stats.c est.bps = min_t(u64, UINT_MAX, sample.bps); est 260 net/core/gen_stats.c est.pps = sample.pps; est 263 net/core/gen_stats.c d->tc_stats.bps = est.bps; est 264 net/core/gen_stats.c d->tc_stats.pps = est.pps; est 268 net/core/gen_stats.c res = gnet_stats_copy(d, TCA_STATS_RATE_EST, &est, sizeof(est), est 270 net/core/gen_stats.c if (res < 0 || est.bps == sample.bps) est 105 net/netfilter/ipvs/ip_vs_est.c s = container_of(e, struct ip_vs_stats, est); est 139 net/netfilter/ipvs/ip_vs_est.c struct ip_vs_estimator *est = &stats->est; est 141 net/netfilter/ipvs/ip_vs_est.c INIT_LIST_HEAD(&est->list); est 144 net/netfilter/ipvs/ip_vs_est.c list_add(&est->list, &ipvs->est_list); est 150 net/netfilter/ipvs/ip_vs_est.c struct ip_vs_estimator *est = &stats->est; est 153 net/netfilter/ipvs/ip_vs_est.c list_del(&est->list); est 159 net/netfilter/ipvs/ip_vs_est.c struct ip_vs_estimator *est = &stats->est; est 163 net/netfilter/ipvs/ip_vs_est.c est->last_inbytes = k->inbytes; est 164 net/netfilter/ipvs/ip_vs_est.c est->last_outbytes = k->outbytes; est 165 net/netfilter/ipvs/ip_vs_est.c est->last_conns = k->conns; est 166 net/netfilter/ipvs/ip_vs_est.c est->last_inpkts = k->inpkts; est 167 net/netfilter/ipvs/ip_vs_est.c est->last_outpkts = k->outpkts; est 168 net/netfilter/ipvs/ip_vs_est.c est->cps = 0; est 169 net/netfilter/ipvs/ip_vs_est.c est->inpps = 0; est 170 net/netfilter/ipvs/ip_vs_est.c est->outpps = 0; est 171 net/netfilter/ipvs/ip_vs_est.c est->inbps = 0; est 172 net/netfilter/ipvs/ip_vs_est.c est->outbps = 0; est 178 net/netfilter/ipvs/ip_vs_est.c struct ip_vs_estimator *e = &stats->est; est 3042 net/netfilter/nf_tables_api.c struct nft_set_estimate est, best; est 3067 net/netfilter/nf_tables_api.c if (!ops->estimate(desc, flags, &est)) est 3072 net/netfilter/nf_tables_api.c if (est.lookup < best.lookup) est 3074 net/netfilter/nf_tables_api.c if (est.lookup == best.lookup && est 3075 net/netfilter/nf_tables_api.c est.space < best.space) est 3080 net/netfilter/nf_tables_api.c if (est.space < best.space) est 3082 net/netfilter/nf_tables_api.c if (est.space == best.space && est 3083 net/netfilter/nf_tables_api.c est.lookup < best.lookup) est 3085 net/netfilter/nf_tables_api.c } else if (est.size < best.size || !bops) { est 3099 net/netfilter/nf_tables_api.c best = est; est 283 net/netfilter/nft_set_bitmap.c struct nft_set_estimate *est) est 289 net/netfilter/nft_set_bitmap.c est->size = nft_bitmap_total_size(desc->klen); est 290 net/netfilter/nft_set_bitmap.c est->lookup = NFT_SET_CLASS_O_1; est 291 net/netfilter/nft_set_bitmap.c est->space = NFT_SET_CLASS_O_1; est 402 net/netfilter/nft_set_hash.c struct nft_set_estimate *est) est 404 net/netfilter/nft_set_hash.c est->size = ~0; est 405 net/netfilter/nft_set_hash.c est->lookup = NFT_SET_CLASS_O_1; est 406 net/netfilter/nft_set_hash.c est->space = NFT_SET_CLASS_O_N; est 630 net/netfilter/nft_set_hash.c struct nft_set_estimate *est) est 638 net/netfilter/nft_set_hash.c est->size = sizeof(struct nft_hash) + est 641 net/netfilter/nft_set_hash.c est->lookup = NFT_SET_CLASS_O_1; est 642 net/netfilter/nft_set_hash.c est->space = NFT_SET_CLASS_O_N; est 648 net/netfilter/nft_set_hash.c struct nft_set_estimate *est) est 656 net/netfilter/nft_set_hash.c est->size = sizeof(struct nft_hash) + est 659 net/netfilter/nft_set_hash.c est->lookup = NFT_SET_CLASS_O_1; est 660 net/netfilter/nft_set_hash.c est->space = NFT_SET_CLASS_O_N; est 483 net/netfilter/nft_set_rbtree.c struct nft_set_estimate *est) est 486 net/netfilter/nft_set_rbtree.c est->size = sizeof(struct nft_rbtree) + est 489 net/netfilter/nft_set_rbtree.c est->size = ~0; est 491 net/netfilter/nft_set_rbtree.c est->lookup = NFT_SET_CLASS_O_LOG_N; est 492 net/netfilter/nft_set_rbtree.c est->space = NFT_SET_CLASS_O_N; est 38 net/netfilter/xt_RATEEST.c struct xt_rateest *est) est 42 net/netfilter/xt_RATEEST.c h = xt_rateest_hash(est->name); est 43 net/netfilter/xt_RATEEST.c hlist_add_head(&est->list, &xn->hash[h]); est 49 net/netfilter/xt_RATEEST.c struct xt_rateest *est; est 53 net/netfilter/xt_RATEEST.c hlist_for_each_entry(est, &xn->hash[h], list) { est 54 net/netfilter/xt_RATEEST.c if (strcmp(est->name, name) == 0) { est 55 net/netfilter/xt_RATEEST.c est->refcnt++; est 56 net/netfilter/xt_RATEEST.c return est; est 66 net/netfilter/xt_RATEEST.c struct xt_rateest *est; est 69 net/netfilter/xt_RATEEST.c est = __xt_rateest_lookup(xn, name); est 71 net/netfilter/xt_RATEEST.c return est; est 75 net/netfilter/xt_RATEEST.c void xt_rateest_put(struct net *net, struct xt_rateest *est) est 80 net/netfilter/xt_RATEEST.c if (--est->refcnt == 0) { est 81 net/netfilter/xt_RATEEST.c hlist_del(&est->list); est 82 net/netfilter/xt_RATEEST.c gen_kill_estimator(&est->rate_est); est 87 net/netfilter/xt_RATEEST.c kfree_rcu(est, rcu); est 97 net/netfilter/xt_RATEEST.c struct gnet_stats_basic_packed *stats = &info->est->bstats; est 99 net/netfilter/xt_RATEEST.c spin_lock_bh(&info->est->lock); est 102 net/netfilter/xt_RATEEST.c spin_unlock_bh(&info->est->lock); est 111 net/netfilter/xt_RATEEST.c struct xt_rateest *est; est 114 net/netfilter/xt_RATEEST.c struct gnet_estimator est; est 121 net/netfilter/xt_RATEEST.c est = __xt_rateest_lookup(xn, info->name); est 122 net/netfilter/xt_RATEEST.c if (est) { est 129 net/netfilter/xt_RATEEST.c (info->interval != est->params.interval || est 130 net/netfilter/xt_RATEEST.c info->ewma_log != est->params.ewma_log)) { est 131 net/netfilter/xt_RATEEST.c xt_rateest_put(par->net, est); est 134 net/netfilter/xt_RATEEST.c info->est = est; est 139 net/netfilter/xt_RATEEST.c est = kzalloc(sizeof(*est), GFP_KERNEL); est 140 net/netfilter/xt_RATEEST.c if (!est) est 143 net/netfilter/xt_RATEEST.c strlcpy(est->name, info->name, sizeof(est->name)); est 144 net/netfilter/xt_RATEEST.c spin_lock_init(&est->lock); est 145 net/netfilter/xt_RATEEST.c est->refcnt = 1; est 146 net/netfilter/xt_RATEEST.c est->params.interval = info->interval; est 147 net/netfilter/xt_RATEEST.c est->params.ewma_log = info->ewma_log; est 149 net/netfilter/xt_RATEEST.c cfg.opt.nla_len = nla_attr_size(sizeof(cfg.est)); est 151 net/netfilter/xt_RATEEST.c cfg.est.interval = info->interval; est 152 net/netfilter/xt_RATEEST.c cfg.est.ewma_log = info->ewma_log; est 154 net/netfilter/xt_RATEEST.c ret = gen_new_estimator(&est->bstats, NULL, &est->rate_est, est 155 net/netfilter/xt_RATEEST.c &est->lock, NULL, &cfg.opt); est 159 net/netfilter/xt_RATEEST.c info->est = est; est 160 net/netfilter/xt_RATEEST.c xt_rateest_hash_insert(xn, est); est 165 net/netfilter/xt_RATEEST.c kfree(est); est 175 net/netfilter/xt_RATEEST.c xt_rateest_put(par->net, info->est); est 186 net/netfilter/xt_RATEEST.c .usersize = offsetof(struct xt_rateest_target_info, est), est 400 net/sched/act_api.c int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, est 430 net/sched/act_api.c if (est) { est 433 net/sched/act_api.c &p->tcfa_lock, NULL, est); est 843 net/sched/act_api.c struct nlattr *nla, struct nlattr *est, est 916 net/sched/act_api.c err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, ovr, bind, est 919 net/sched/act_api.c err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held, est 956 net/sched/act_api.c struct nlattr *est, char *name, int ovr, int bind, est 972 net/sched/act_api.c act = tcf_action_init_1(net, tp, tb[i], est, name, ovr, bind, est 276 net/sched/act_bpf.c struct nlattr *est, struct tc_action **act, est 305 net/sched/act_bpf.c ret = tcf_idr_create(tn, index, est, act, est 95 net/sched/act_connmark.c struct nlattr *est, struct tc_action **a, est 123 net/sched/act_connmark.c ret = tcf_idr_create(tn, index, est, a, est 44 net/sched/act_csum.c struct nlattr *est, struct tc_action **a, int ovr, est 71 net/sched/act_csum.c ret = tcf_idr_create(tn, index, est, a, est 668 net/sched/act_ct.c struct nlattr *est, struct tc_action **a, est 702 net/sched/act_ct.c err = tcf_idr_create(tn, index, est, a, est 154 net/sched/act_ctinfo.c struct nlattr *est, struct tc_action **a, est 212 net/sched/act_ctinfo.c ret = tcf_idr_create(tn, index, est, a, est 54 net/sched/act_gact.c struct nlattr *est, struct tc_action **a, est 101 net/sched/act_gact.c ret = tcf_idr_create(tn, index, est, a, est 466 net/sched/act_ife.c struct nlattr *est, struct tc_action **a, est 524 net/sched/act_ife.c ret = tcf_idr_create(tn, index, est, a, &act_ife_ops, est 96 net/sched/act_ipt.c struct nlattr *est, struct tc_action **a, est 146 net/sched/act_ipt.c ret = tcf_idr_create(tn, index, est, a, ops, bind, est 206 net/sched/act_ipt.c struct nlattr *est, struct tc_action **a, int ovr, est 210 net/sched/act_ipt.c return __tcf_ipt_init(net, ipt_net_id, nla, est, a, &act_ipt_ops, ovr, est 215 net/sched/act_ipt.c struct nlattr *est, struct tc_action **a, int ovr, est 219 net/sched/act_ipt.c return __tcf_ipt_init(net, xt_net_id, nla, est, a, &act_xt_ops, ovr, est 93 net/sched/act_mirred.c struct nlattr *est, struct tc_action **a, est 151 net/sched/act_mirred.c ret = tcf_idr_create(tn, index, est, a, est 135 net/sched/act_mpls.c struct nlattr *est, struct tc_action **a, est 229 net/sched/act_mpls.c ret = tcf_idr_create(tn, index, est, a, est 36 net/sched/act_nat.c static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est, est 63 net/sched/act_nat.c ret = tcf_idr_create(tn, index, est, a, est 138 net/sched/act_pedit.c struct nlattr *est, struct tc_action **a, est 190 net/sched/act_pedit.c ret = tcf_idr_create(tn, index, est, a, est 48 net/sched/act_police.c struct nlattr *est, struct tc_action **a, est 120 net/sched/act_police.c if (est) { est 125 net/sched/act_police.c NULL, est); est 37 net/sched/act_sample.c struct nlattr *est, struct tc_action **a, int ovr, est 71 net/sched/act_sample.c ret = tcf_idr_create(tn, index, est, a, est 87 net/sched/act_simple.c struct nlattr *est, struct tc_action **a, est 129 net/sched/act_simple.c ret = tcf_idr_create(tn, index, est, a, est 87 net/sched/act_skbedit.c struct nlattr *est, struct tc_action **a, est 167 net/sched/act_skbedit.c ret = tcf_idr_create(tn, index, est, a, est 80 net/sched/act_skbmod.c struct nlattr *est, struct tc_action **a, est 145 net/sched/act_skbmod.c ret = tcf_idr_create(tn, index, est, a, est 213 net/sched/act_tunnel_key.c struct nlattr *est, struct tc_action **a, est 354 net/sched/act_tunnel_key.c ret = tcf_idr_create(tn, index, est, a, est 103 net/sched/act_vlan.c struct nlattr *est, struct tc_action **a, est 191 net/sched/act_vlan.c ret = tcf_idr_create(tn, index, est, a, est 148 net/sched/cls_basic.c struct nlattr *est, bool ovr, est 153 net/sched/cls_basic.c err = tcf_exts_validate(net, tp, tb, est, &f->exts, ovr, true, extack); est 410 net/sched/cls_bpf.c struct nlattr **tb, struct nlattr *est, bool ovr, est 422 net/sched/cls_bpf.c ret = tcf_exts_validate(net, tp, tb, est, &prog->exts, ovr, true, est 1471 net/sched/cls_flower.c struct nlattr *est, bool ovr, est 1477 net/sched/cls_flower.c err = tcf_exts_validate(net, tp, tb, est, &f->exts, ovr, rtnl_held, est 166 net/sched/cls_matchall.c struct nlattr *est, bool ovr, est 171 net/sched/cls_matchall.c err = tcf_exts_validate(net, tp, tb, est, &head->exts, ovr, true, est 384 net/sched/cls_route.c struct nlattr **tb, struct nlattr *est, int new, est 393 net/sched/cls_route.c err = tcf_exts_validate(net, tp, tb, est, &f->exts, ovr, true, extack); est 330 net/sched/cls_tcindex.c struct nlattr *est, bool ovr, struct netlink_ext_ack *extack) est 342 net/sched/cls_tcindex.c err = tcf_exts_validate(net, tp, tb, est, &e, ovr, true, extack); est 712 net/sched/cls_u32.c struct nlattr *est, bool ovr, est 717 net/sched/cls_u32.c err = tcf_exts_validate(net, tp, tb, est, &n->exts, ovr, true, extack); est 1344 net/sched/sch_htb.c } est = { est 1346 net/sched/sch_htb.c .nla_len = nla_attr_size(sizeof(est.opt)), est 1381 net/sched/sch_htb.c tca[TCA_RATE] ? : &est.nla); est 2557 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c uint64_t est = decoder->sample_insn_cnt << 1; est 2562 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c est *= decoder->max_non_turbo_ratio; est 2563 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c est /= decoder->cbr; est 2565 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c return decoder->sample_timestamp + est;