Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 17 of 17) sorted by relevance

/arch/mips/sibyte/common/
Dbus_watcher.c115 struct bw_stats_struct *stats = m->private; in bw_proc_show() local
120 stats->l2_cor_d, stats->l2_bad_d); in bw_proc_show()
122 stats->l2_cor_t, stats->l2_bad_t); in bw_proc_show()
124 stats->mem_cor_d, stats->mem_bad_d); in bw_proc_show()
125 seq_printf(m, "IO-err %8ld\n", stats->bus_error); in bw_proc_show()
128 (unsigned int)(G_SCD_BERR_TID(stats->status) & 0x3f), in bw_proc_show()
129 (int)(G_SCD_BERR_TID(stats->status) >> 6), in bw_proc_show()
130 (int)G_SCD_BERR_RID(stats->status), in bw_proc_show()
131 (int)G_SCD_BERR_DCODE(stats->status)); in bw_proc_show()
134 if (stats->status & M_SCD_BERR_MULTERRS) in bw_proc_show()
[all …]
/arch/s390/appldata/
Dappldata_net_sum.c86 const struct rtnl_link_stats64 *stats; in appldata_get_net_sum_data() local
89 stats = dev_get_stats(dev, &temp); in appldata_get_net_sum_data()
90 rx_packets += stats->rx_packets; in appldata_get_net_sum_data()
91 tx_packets += stats->tx_packets; in appldata_get_net_sum_data()
92 rx_bytes += stats->rx_bytes; in appldata_get_net_sum_data()
93 tx_bytes += stats->tx_bytes; in appldata_get_net_sum_data()
94 rx_errors += stats->rx_errors; in appldata_get_net_sum_data()
95 tx_errors += stats->tx_errors; in appldata_get_net_sum_data()
96 rx_dropped += stats->rx_dropped; in appldata_get_net_sum_data()
97 tx_dropped += stats->tx_dropped; in appldata_get_net_sum_data()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dfault.c137 ctx->stats.hash_flt++; in spufs_handle_class1()
139 ctx->spu->stats.hash_flt++; in spufs_handle_class1()
174 ctx->stats.maj_flt++; in spufs_handle_class1()
176 ctx->stats.min_flt++; in spufs_handle_class1()
179 ctx->spu->stats.maj_flt++; in spufs_handle_class1()
181 ctx->spu->stats.min_flt++; in spufs_handle_class1()
Dsched.c232 ctx->stats.slb_flt_base = spu->stats.slb_flt; in spu_bind_context()
233 ctx->stats.class2_intr_base = spu->stats.class2_intr; in spu_bind_context()
477 ctx->stats.slb_flt += in spu_unbind_context()
478 (spu->stats.slb_flt - ctx->stats.slb_flt_base); in spu_unbind_context()
479 ctx->stats.class2_intr += in spu_unbind_context()
480 (spu->stats.class2_intr - ctx->stats.class2_intr_base); in spu_unbind_context()
703 victim->stats.invol_ctx_switch++; in find_victim()
704 spu->stats.invol_ctx_switch++; in find_victim()
773 ctx->stats.invol_ctx_switch++; in spu_unschedule()
774 spu->stats.invol_ctx_switch++; in spu_unschedule()
[all …]
Dcontext.c70 ctx->stats.util_state = SPU_UTIL_IDLE_LOADED; in alloc_spu_context()
71 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()
Dfile.c2230 unsigned long long time = ctx->stats.times[state]; in spufs_acct_time()
2241 if (ctx->spu && ctx->stats.util_state == state) { in spufs_acct_time()
2242 time += ktime_get_ns() - ctx->stats.tstamp; in spufs_acct_time()
2250 unsigned long long slb_flts = ctx->stats.slb_flt; in spufs_slb_flts()
2253 slb_flts += (ctx->spu->stats.slb_flt - in spufs_slb_flts()
2254 ctx->stats.slb_flt_base); in spufs_slb_flts()
2262 unsigned long long class2_intrs = ctx->stats.class2_intr; in spufs_class2_intrs()
2265 class2_intrs += (ctx->spu->stats.class2_intr - in spufs_class2_intrs()
2266 ctx->stats.class2_intr_base); in spufs_class2_intrs()
2284 ctx_state_names[ctx->stats.util_state], in spufs_show_stat()
[all …]
Dspufs.h145 } stats; member
Drun.c427 ctx->stats.libassist++; in spufs_run_spu()
/arch/m68k/emu/
Dnfeth.c107 dev->stats.rx_errors++; in recv_packet()
115 dev->stats.rx_dropped++; in recv_packet()
127 dev->stats.rx_packets++; in recv_packet()
128 dev->stats.rx_bytes += pktlen; in recv_packet()
167 dev->stats.tx_packets++; in nfeth_xmit()
168 dev->stats.tx_bytes += len; in nfeth_xmit()
176 dev->stats.tx_errors++; in nfeth_tx_timeout()
/arch/powerpc/platforms/cell/
Dspu_base.c180 spu->stats.slb_flt++; in __spu_trap_data_seg()
396 spu->stats.class2_intr++; in spu_irq_class_2()
619 spu->stats.util_state = SPU_UTIL_IDLE_LOADED; in create_spu()
620 spu->stats.tstamp = ktime_get_ns(); in create_spu()
643 unsigned long long time = spu->stats.times[state]; in spu_acct_time()
650 if (spu->stats.util_state == state) in spu_acct_time()
651 time += ktime_get_ns() - spu->stats.tstamp; in spu_acct_time()
664 spu_state_names[spu->stats.util_state], in spu_stat_show()
669 spu->stats.vol_ctx_switch, in spu_stat_show()
670 spu->stats.invol_ctx_switch, in spu_stat_show()
[all …]
/arch/ia64/hp/sim/
Dsimeth.c44 struct net_device_stats stats; member
384 local->stats.tx_bytes += skb->len; in simeth_tx()
385 local->stats.tx_packets++; in simeth_tx()
444 local->stats.rx_dropped++; in simeth_rx()
472 local->stats.rx_packets++; in simeth_rx()
473 local->stats.rx_bytes += len; in simeth_rx()
500 return &local->stats; in simeth_get_stats()
/arch/xtensa/platforms/iss/
Dnetwork.c75 struct net_device_stats stats; member
290 lp->stats.rx_dropped++; in iss_net_rx()
307 lp->stats.rx_bytes += skb->len; in iss_net_rx()
308 lp->stats.rx_packets++; in iss_net_rx()
429 lp->stats.tx_packets++; in iss_net_start_xmit()
430 lp->stats.tx_bytes += skb->len; in iss_net_start_xmit()
439 lp->stats.tx_dropped++; in iss_net_start_xmit()
456 return &lp->stats; in iss_net_get_stats()
/arch/mips/kvm/
DMakefile12 interrupt.o stats.o commpage.o \
/arch/powerpc/lib/
Drheap.c641 int rh_get_stats(rh_info_t * info, int what, int max_stats, rh_stats_t * stats) in rh_get_stats() argument
666 if (stats != NULL && nr < max_stats) { in rh_get_stats()
667 stats->start = blk->start; in rh_get_stats()
668 stats->size = blk->size; in rh_get_stats()
669 stats->owner = blk->owner; in rh_get_stats()
670 stats++; in rh_get_stats()
/arch/powerpc/include/asm/
Drheap.h81 rh_stats_t * stats);
Dspu.h189 } stats; member
/arch/um/drivers/
Dnet_kern.c85 dev->stats.rx_dropped++; in uml_net_rx()
98 dev->stats.rx_bytes += skb->len; in uml_net_rx()
99 dev->stats.rx_packets++; in uml_net_rx()
224 dev->stats.tx_packets++; in uml_net_start_xmit()
225 dev->stats.tx_bytes += skb->len; in uml_net_start_xmit()
234 dev->stats.tx_dropped++; in uml_net_start_xmit()