/linux-2.6.39/net/netfilter/ |
D | xt_RATEEST.c | 35 static void xt_rateest_hash_insert(struct xt_rateest *est) in xt_rateest_hash_insert() argument 39 h = xt_rateest_hash(est->name); in xt_rateest_hash_insert() 40 hlist_add_head(&est->list, &rateest_hash[h]); in xt_rateest_hash_insert() 45 struct xt_rateest *est; in xt_rateest_lookup() local 51 hlist_for_each_entry(est, n, &rateest_hash[h], list) { in xt_rateest_lookup() 52 if (strcmp(est->name, name) == 0) { in xt_rateest_lookup() 53 est->refcnt++; in xt_rateest_lookup() 55 return est; in xt_rateest_lookup() 68 void xt_rateest_put(struct xt_rateest *est) in xt_rateest_put() argument 71 if (--est->refcnt == 0) { in xt_rateest_put() [all …]
|
/linux-2.6.39/net/netfilter/ipvs/ |
D | ip_vs_est.c | 106 s = container_of(e, struct ip_vs_stats, est); in estimation_timer() 145 struct ip_vs_estimator *est = &stats->est; in ip_vs_start_estimator() local 147 INIT_LIST_HEAD(&est->list); in ip_vs_start_estimator() 150 list_add(&est->list, &ipvs->est_list); in ip_vs_start_estimator() 157 struct ip_vs_estimator *est = &stats->est; in ip_vs_stop_estimator() local 160 list_del(&est->list); in ip_vs_stop_estimator() 166 struct ip_vs_estimator *est = &stats->est; in ip_vs_zero_estimator() local 170 est->last_inbytes = u->inbytes; in ip_vs_zero_estimator() 171 est->last_outbytes = u->outbytes; in ip_vs_zero_estimator() 172 est->last_conns = u->conns; in ip_vs_zero_estimator() [all …]
|
/linux-2.6.39/net/core/ |
D | gen_estimator.c | 150 static void gen_add_node(struct gen_estimator *est) in gen_add_node() argument 160 if (est->bstats > e->bstats) in gen_add_node() 165 rb_link_node(&est->node, parent, p); in gen_add_node() 166 rb_insert_color(&est->node, &est_root); in gen_add_node() 211 struct gen_estimator *est; in gen_new_estimator() local 221 est = kzalloc(sizeof(*est), GFP_KERNEL); in gen_new_estimator() 222 if (est == NULL) in gen_new_estimator() 226 est->bstats = bstats; in gen_new_estimator() 227 est->rate_est = rate_est; in gen_new_estimator() 228 est->stats_lock = stats_lock; in gen_new_estimator() [all …]
|
/linux-2.6.39/drivers/uwb/ |
D | est.c | 353 ssize_t uwb_est_get_size(struct uwb_rc *uwb_rc, struct uwb_est *est, in uwb_est_get_size() argument 363 if (event_low >= est->entries) { /* in range? */ in uwb_est_get_size() 365 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 366 est->entries, event_low); in uwb_est_get_size() 370 entry = &est->entry[event_low]; in uwb_est_get_size() 373 est, est->type_event_high, est->vendor, est->product, in uwb_est_get_size() 374 est->entries, event_low); in uwb_est_get_size() 394 est, est->type_event_high, est->vendor, in uwb_est_get_size() 395 est->product, est->entries); in uwb_est_get_size()
|
D | Makefile | 14 est.o \
|
/linux-2.6.39/arch/powerpc/boot/ |
D | cuboot-acadia.c | 55 unsigned long est; /* current estimate */ in get_clocks() local 140 est = i * ibdiv; in get_clocks() 141 idiff = (est > div) ? (est-div) : (div-est); in get_clocks()
|
/linux-2.6.39/include/net/ |
D | act_api.h | 109 extern struct tcf_common *tcf_hash_create(u32 index, struct nlattr *est, 119 extern struct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, char *n, int ovr, … 120 extern struct tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, char *n, int ovr…
|
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | core.c | 1874 struct emac_error_stats *est = &dev->estats; in emac_stats() local 1886 nst->rx_dropped = (unsigned long)(est->rx_dropped_oom + in emac_stats() 1887 est->rx_dropped_error + in emac_stats() 1888 est->rx_dropped_resize + in emac_stats() 1889 est->rx_dropped_mtu); in emac_stats() 1890 nst->tx_dropped = (unsigned long)est->tx_dropped; in emac_stats() 1892 nst->rx_errors = (unsigned long)est->rx_bd_errors; in emac_stats() 1893 nst->rx_fifo_errors = (unsigned long)(est->rx_bd_overrun + in emac_stats() 1894 est->rx_fifo_overrun + in emac_stats() 1895 est->rx_overrun); in emac_stats() [all …]
|
/linux-2.6.39/drivers/media/dvb/frontends/ |
D | dib7000m.c | 800 u16 value, est[4]; in dib7000m_set_channel() local 893 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ in dib7000m_set_channel() 894 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ in dib7000m_set_channel() 895 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000m_set_channel() 896 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ in dib7000m_set_channel() 899 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ in dib7000m_set_channel() 900 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ in dib7000m_set_channel() 901 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000m_set_channel() 902 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ in dib7000m_set_channel() 905 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000m_set_channel() [all …]
|
D | dib7000p.c | 873 u16 value, est[4]; in dib7000p_set_channel() local 1007 est[0] = 0x0148; /* P_adp_regul_cnt 0.04 */ in dib7000p_set_channel() 1008 est[1] = 0xfff0; /* P_adp_noise_cnt -0.002 */ in dib7000p_set_channel() 1009 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000p_set_channel() 1010 est[3] = 0xfff8; /* P_adp_noise_ext -0.001 */ in dib7000p_set_channel() 1013 est[0] = 0x023d; /* P_adp_regul_cnt 0.07 */ in dib7000p_set_channel() 1014 est[1] = 0xffdf; /* P_adp_noise_cnt -0.004 */ in dib7000p_set_channel() 1015 est[2] = 0x00a4; /* P_adp_regul_ext 0.02 */ in dib7000p_set_channel() 1016 est[3] = 0xfff0; /* P_adp_noise_ext -0.002 */ in dib7000p_set_channel() 1019 est[0] = 0x099a; /* P_adp_regul_cnt 0.3 */ in dib7000p_set_channel() [all …]
|
/linux-2.6.39/drivers/atm/ |
D | idt77252.c | 2085 struct rate_estimator *est; in idt77252_est_timer() local 2092 est = vc->estimator; in idt77252_est_timer() 2093 if (!est) in idt77252_est_timer() 2096 ncells = est->cells; in idt77252_est_timer() 2098 rate = ((u32)(ncells - est->last_cells)) << (7 - est->interval); in idt77252_est_timer() 2099 est->last_cells = ncells; in idt77252_est_timer() 2100 est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log; in idt77252_est_timer() 2101 est->cps = (est->avcps + 0x1f) >> 5; in idt77252_est_timer() 2103 cps = est->cps; in idt77252_est_timer() 2104 if (cps < (est->maxcps >> 4)) in idt77252_est_timer() [all …]
|
/linux-2.6.39/drivers/uwb/i1480/ |
D | Makefile | 1 obj-$(CONFIG_UWB_I1480U) += dfu/ i1480-est.o
|
/linux-2.6.39/include/linux/netfilter/ |
D | xt_RATEEST.h | 12 struct xt_rateest *est __attribute__((aligned(8))); member
|
/linux-2.6.39/include/net/netfilter/ |
D | xt_rateest.h | 20 extern void xt_rateest_put(struct xt_rateest *est);
|
/linux-2.6.39/net/sched/ |
D | act_api.c | 227 struct tcf_common *tcf_hash_create(u32 index, struct nlattr *est, in tcf_hash_create() argument 243 if (est) { in tcf_hash_create() 245 &p->tcfc_lock, est); in tcf_hash_create() 489 struct tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, in tcf_action_init_1() argument 546 err = a_o->init(tb[TCA_ACT_OPTIONS], est, a, ovr, bind); in tcf_action_init_1() 548 err = a_o->init(nla, est, a, ovr, bind); in tcf_action_init_1() 570 struct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, in tcf_action_init() argument 583 act = tcf_action_init_1(tb[i], est, name, ovr, bind); in tcf_action_init()
|
D | act_simple.c | 97 static int tcf_simp_init(struct nlattr *nla, struct nlattr *est, in tcf_simp_init() argument 125 pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind, in tcf_simp_init()
|
D | act_gact.c | 61 static int tcf_gact_init(struct nlattr *nla, struct nlattr *est, in tcf_gact_init() argument 89 pc = tcf_hash_create(parm->index, est, a, sizeof(*gact), in tcf_gact_init()
|
D | act_skbedit.c | 70 static int tcf_skbedit_init(struct nlattr *nla, struct nlattr *est, in tcf_skbedit_init() argument 113 pc = tcf_hash_create(parm->index, est, a, sizeof(*d), bind, in tcf_skbedit_init()
|
D | act_police.c | 138 static int tcf_act_police_locate(struct nlattr *nla, struct nlattr *est, in tcf_act_police_locate() argument 204 if (est) { in tcf_act_police_locate() 207 &police->tcf_lock, est); in tcf_act_police_locate()
|
D | act_mirred.c | 65 static int tcf_mirred_init(struct nlattr *nla, struct nlattr *est, in tcf_mirred_init() argument 115 pc = tcf_hash_create(parm->index, est, a, sizeof(*m), bind, in tcf_mirred_init()
|
D | act_pedit.c | 41 static int tcf_pedit_init(struct nlattr *nla, struct nlattr *est, in tcf_pedit_init() argument 70 pc = tcf_hash_create(parm->index, est, a, sizeof(*p), bind, in tcf_pedit_init()
|
D | cls_basic.c | 137 struct nlattr *est) in basic_set_parms() argument 143 err = tcf_exts_validate(tp, tb, est, &e, &basic_ext_map); in basic_set_parms()
|
/linux-2.6.39/scripts/rt-tester/ |
D | t2-l1-signal.tst | 4 # Op: C(ommand)/T(est)/W(ait)
|
D | t2-l1-pi.tst | 4 # Op: C(ommand)/T(est)/W(ait)
|
/linux-2.6.39/drivers/net/wireless/b43/ |
D | phy_n.c | 677 static void b43_nphy_rx_iq_est(struct b43_wldev *dev, struct nphy_iq_est *est, in b43_nphy_rx_iq_est() argument 695 est->i0_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_IPACC_HI0) << 16) | in b43_nphy_rx_iq_est() 697 est->q0_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_QPACC_HI0) << 16) | in b43_nphy_rx_iq_est() 699 est->iq0_prod = (b43_phy_read(dev, B43_NPHY_IQEST_IQACC_HI0) << 16) | in b43_nphy_rx_iq_est() 702 est->i1_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_IPACC_HI1) << 16) | in b43_nphy_rx_iq_est() 704 est->q1_pwr = (b43_phy_read(dev, B43_NPHY_IQEST_QPACC_HI1) << 16) | in b43_nphy_rx_iq_est() 706 est->iq1_prod = (b43_phy_read(dev, B43_NPHY_IQEST_IQACC_HI1) << 16) | in b43_nphy_rx_iq_est() 712 memset(est, 0, sizeof(*est)); in b43_nphy_rx_iq_est() 828 struct nphy_iq_est est; in b43_nphy_calc_rx_iq_comp() local 838 b43_nphy_rx_iq_est(dev, &est, 0x4000, 32, false); in b43_nphy_calc_rx_iq_comp() [all …]
|