Home
last modified time | relevance | path

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

/arch/mips/sibyte/common/
Dbus_watcher.c118 struct bw_stats_struct *stats = m->private; in bw_proc_show() local
123 stats->l2_cor_d, stats->l2_bad_d); in bw_proc_show()
125 stats->l2_cor_t, stats->l2_bad_t); in bw_proc_show()
127 stats->mem_cor_d, stats->mem_bad_d); in bw_proc_show()
128 seq_printf(m, "IO-err %8ld\n", stats->bus_error); in bw_proc_show()
131 (unsigned int)(G_SCD_BERR_TID(stats->status) & 0x3f), in bw_proc_show()
132 (int)(G_SCD_BERR_TID(stats->status) >> 6), in bw_proc_show()
133 (int)G_SCD_BERR_RID(stats->status), in bw_proc_show()
134 (int)G_SCD_BERR_DCODE(stats->status)); in bw_proc_show()
137 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.c231 ctx->stats.slb_flt_base = spu->stats.slb_flt; in spu_bind_context()
232 ctx->stats.class2_intr_base = spu->stats.class2_intr; in spu_bind_context()
476 ctx->stats.slb_flt += in spu_unbind_context()
477 (spu->stats.slb_flt - ctx->stats.slb_flt_base); in spu_unbind_context()
478 ctx->stats.class2_intr += in spu_unbind_context()
479 (spu->stats.class2_intr - ctx->stats.class2_intr_base); in spu_unbind_context()
702 victim->stats.invol_ctx_switch++; in find_victim()
703 spu->stats.invol_ctx_switch++; in find_victim()
772 ctx->stats.invol_ctx_switch++; in spu_unschedule()
773 spu->stats.invol_ctx_switch++; in spu_unschedule()
[all …]
Dcontext.c68 ctx->stats.util_state = SPU_UTIL_IDLE_LOADED; in alloc_spu_context()
69 ctx->stats.tstamp = ktime_get_ns(); in alloc_spu_context()
Dfile.c2341 unsigned long long time = ctx->stats.times[state]; in spufs_acct_time()
2352 if (ctx->spu && ctx->stats.util_state == state) { in spufs_acct_time()
2353 time += ktime_get_ns() - ctx->stats.tstamp; in spufs_acct_time()
2361 unsigned long long slb_flts = ctx->stats.slb_flt; in spufs_slb_flts()
2364 slb_flts += (ctx->spu->stats.slb_flt - in spufs_slb_flts()
2365 ctx->stats.slb_flt_base); in spufs_slb_flts()
2373 unsigned long long class2_intrs = ctx->stats.class2_intr; in spufs_class2_intrs()
2376 class2_intrs += (ctx->spu->stats.class2_intr - in spufs_class2_intrs()
2377 ctx->stats.class2_intr_base); in spufs_class2_intrs()
2395 ctx_state_names[ctx->stats.util_state], in spufs_show_stat()
[all …]
Drun.c426 ctx->stats.libassist++; in spufs_run_spu()
Dspufs.h147 } stats; member
/arch/m68k/emu/
Dnfeth.c107 dev->stats.rx_errors++; in recv_packet()
115 dev->stats.rx_dropped++; in recv_packet()
128 dev->stats.rx_packets++; in recv_packet()
129 dev->stats.rx_bytes += pktlen; in recv_packet()
168 dev->stats.tx_packets++; in nfeth_xmit()
169 dev->stats.tx_bytes += len; in nfeth_xmit()
177 dev->stats.tx_errors++; in nfeth_tx_timeout()
/arch/powerpc/platforms/cell/
Dspu_base.c180 spu->stats.slb_flt++; in __spu_trap_data_seg()
393 spu->stats.class2_intr++; in spu_irq_class_2()
616 spu->stats.util_state = SPU_UTIL_IDLE_LOADED; in create_spu()
617 spu->stats.tstamp = ktime_get_ns(); in create_spu()
640 unsigned long long time = spu->stats.times[state]; in spu_acct_time()
647 if (spu->stats.util_state == state) in spu_acct_time()
648 time += ktime_get_ns() - spu->stats.tstamp; in spu_acct_time()
661 spu_state_names[spu->stats.util_state], in spu_stat_show()
666 spu->stats.vol_ctx_switch, in spu_stat_show()
667 spu->stats.invol_ctx_switch, in spu_stat_show()
[all …]
/arch/ia64/hp/sim/
Dsimeth.c43 struct net_device_stats stats; member
383 local->stats.tx_bytes += skb->len; in simeth_tx()
384 local->stats.tx_packets++; in simeth_tx()
443 local->stats.rx_dropped++; in simeth_rx()
471 local->stats.rx_packets++; in simeth_rx()
472 local->stats.rx_bytes += len; in simeth_rx()
499 return &local->stats; in simeth_get_stats()
/arch/arm/mach-s3c24xx/
Ddma.c140 s3c2410_dma_stats_timeout(struct s3c2410_dma_stats *stats, int val) in s3c2410_dma_stats_timeout() argument
142 if (stats == NULL) in s3c2410_dma_stats_timeout()
145 if (val > stats->timeout_longest) in s3c2410_dma_stats_timeout()
146 stats->timeout_longest = val; in s3c2410_dma_stats_timeout()
147 if (val < stats->timeout_shortest) in s3c2410_dma_stats_timeout()
148 stats->timeout_shortest = val; in s3c2410_dma_stats_timeout()
150 stats->timeout_avg += val; in s3c2410_dma_stats_timeout()
169 if (chan->stats != NULL) in s3c2410_dma_waitforload()
170 chan->stats->loads++; in s3c2410_dma_waitforload()
176 s3c2410_dma_stats_timeout(chan->stats, took); in s3c2410_dma_waitforload()
[all …]
/arch/xtensa/platforms/iss/
Dnetwork.c75 struct net_device_stats stats; member
286 lp->stats.rx_dropped++; in iss_net_rx()
303 lp->stats.rx_bytes += skb->len; in iss_net_rx()
304 lp->stats.rx_packets++; in iss_net_rx()
425 lp->stats.tx_packets++; in iss_net_start_xmit()
426 lp->stats.tx_bytes += skb->len; in iss_net_start_xmit()
435 lp->stats.tx_dropped++; in iss_net_start_xmit()
452 return &lp->stats; in iss_net_get_stats()
/arch/mips/kvm/
DMakefile9 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/arm/mach-s3c24xx/include/mach/
Ddma.h200 struct s3c2410_dma_stats *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()