Home
last modified time | relevance | path

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

12345678910>>...85

/openbmc/linux/drivers/cpufreq/
H A Dcpufreq_stats.c35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update()
60 struct cpufreq_stats *stats = policy->stats; in show_total_trans() local
71 struct cpufreq_stats *stats = policy->stats; in show_time_in_state() local
106 struct cpufreq_stats *stats = policy->stats; in store_reset() local
126 struct cpufreq_stats *stats = policy->stats; in show_trans_table() local
196 struct cpufreq_stats *stats = policy->stats; in cpufreq_stats_free_table() local
225 stats = kzalloc(sizeof(*stats), GFP_KERNEL); in cpufreq_stats_create_table()
240 stats->trans_table = stats->freq_table + count; in cpufreq_stats_create_table()
254 policy->stats = stats; in cpufreq_stats_create_table()
268 struct cpufreq_stats *stats = policy->stats; in cpufreq_stats_record_transition() local
[all …]
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dhw_counters.c156 struct rdma_hw_stats *stats, in bnxt_re_copy_ext_stats() argument
183 struct rdma_hw_stats *stats) in bnxt_re_get_ext_stat() argument
200 struct rdma_hw_stats *stats, in bnxt_re_copy_err_stats() argument
229 stats->value[BNXT_RE_DUP_REQ] = in bnxt_re_copy_err_stats()
286 struct rdma_hw_stats *stats) in bnxt_re_copy_db_pacing_stats() argument
308 if (!port || !stats) in bnxt_re_ib_get_hw_stats()
342 stats->value[BNXT_RE_RX_PKTS] = in bnxt_re_ib_get_hw_stats()
344 stats->value[BNXT_RE_RX_BYTES] = in bnxt_re_ib_get_hw_stats()
346 stats->value[BNXT_RE_TX_PKTS] = in bnxt_re_ib_get_hw_stats()
348 stats->value[BNXT_RE_TX_BYTES] = in bnxt_re_ib_get_hw_stats()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c619 stats->rx_bytes = lan966x->stats[idx + SYS_COUNT_RX_OCT] + in lan966x_stats_get()
622 stats->rx_packets = lan966x->stats[idx + SYS_COUNT_RX_SHORT] + in lan966x_stats_get()
646 stats->multicast = lan966x->stats[idx + SYS_COUNT_RX_MC] + in lan966x_stats_get()
649 stats->rx_errors = lan966x->stats[idx + SYS_COUNT_RX_SHORT] + in lan966x_stats_get()
656 stats->rx_dropped = dev->stats.rx_dropped + in lan966x_stats_get()
670 stats->rx_dropped += in lan966x_stats_get()
676 stats->tx_bytes = lan966x->stats[idx + SYS_COUNT_TX_OCT] + in lan966x_stats_get()
679 stats->tx_packets = lan966x->stats[idx + SYS_COUNT_TX_SZ_64] + in lan966x_stats_get()
694 stats->tx_dropped = lan966x->stats[idx + SYS_COUNT_TX_DROP] + in lan966x_stats_get()
697 stats->collisions = lan966x->stats[idx + SYS_COUNT_TX_COL]; in lan966x_stats_get()
[all …]
/openbmc/qemu/block/
H A Daccounting.c37 qemu_mutex_init(&stats->lock); in block_acct_init()
41 stats->account_invalid = true; in block_acct_init()
42 stats->account_failed = true; in block_acct_init()
84 s->stats = stats; in block_acct_add_interval()
85 qemu_mutex_lock(&stats->lock); in block_acct_add_interval()
262 qemu_mutex_lock(&stats->lock); in block_acct_invalid()
263 stats->invalid_ops[type]++; in block_acct_invalid()
265 if (stats->account_invalid) { in block_acct_invalid()
276 qemu_mutex_lock(&stats->lock); in block_acct_merge_done()
293 qemu_mutex_lock(&stats->stats->lock); in block_acct_queue_depth()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddebug.c102 struct macstat stats; in brcms_debugfs_macstat_read() local
106 stats = *(drvr->wlc->core->macstat_snapshot); in brcms_debugfs_macstat_read()
109 seq_printf(s, "txallfrm: %d\n", stats.txallfrm); in brcms_debugfs_macstat_read()
110 seq_printf(s, "txrtsfrm: %d\n", stats.txrtsfrm); in brcms_debugfs_macstat_read()
116 for (i = 0; i < ARRAY_SIZE(stats.txfunfl); i++) in brcms_debugfs_macstat_read()
117 seq_printf(s, " %d", stats.txfunfl[i]); in brcms_debugfs_macstat_read()
128 seq_printf(s, "rxstrt: %d\n", stats.rxstrt); in brcms_debugfs_macstat_read()
152 seq_printf(s, "pmqovfl: %d\n", stats.pmqovfl); in brcms_debugfs_macstat_read()
158 seq_printf(s, "rxnack: %d\n", stats.rxnack); in brcms_debugfs_macstat_read()
160 seq_printf(s, "txnack: %d\n", stats.txnack); in brcms_debugfs_macstat_read()
[all …]
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c111 pcur = stats; in ocrdma_resource_stats()
216 return stats; in ocrdma_resource_stats()
228 pcur = stats; in ocrdma_rx_stats()
263 return stats; in ocrdma_rx_stats()
296 pcur = stats; in ocrdma_tx_stats()
327 return stats; in ocrdma_tx_stats()
370 pcur = stats; in ocrdma_wqe_stats()
391 return stats; in ocrdma_wqe_stats()
403 pcur = stats; in ocrdma_db_errstats()
412 return stats; in ocrdma_db_errstats()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dstats.c81 rtlpriv->stats.rssi_calculate_cnt++; in rtl_process_ui_rssi()
86 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi()
90 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi()
93 rtlpriv->stats.ui_rssi.index = 0; in rtl_process_ui_rssi()
95 rtlpriv->stats.ui_rssi.total_num; in rtl_process_ui_rssi()
127 rtlpriv->stats.rx_evm_dbm[rfpath] = in rtl_process_ui_rssi()
129 rtlpriv->stats.rx_cfo_short[rfpath] = in rtl_process_ui_rssi()
147 rtlpriv->stats.recv_signal_power = (rtlpriv->stats.recv_signal_power * in rtl_update_rxsignalstatistics()
207 rtlpriv->stats.ui_link_quality.index]; in rtl_process_ui_link_quality()
211 rtlpriv->stats.ui_link_quality.elements[ in rtl_process_ui_link_quality()
[all …]
/openbmc/linux/kernel/
H A Dtsacct.c37 stats->ac_tgetime = delta; in bacct_add_tsk()
40 stats->ac_etime = delta; in bacct_add_tsk()
44 stats->ac_btime64 = btime; in bacct_add_tsk()
49 stats->ac_flag |= AFORK; in bacct_add_tsk()
51 stats->ac_flag |= ASU; in bacct_add_tsk()
53 stats->ac_flag |= ACORE; in bacct_add_tsk()
55 stats->ac_flag |= AXSIG; in bacct_add_tsk()
57 stats->ac_sched = tsk->policy; in bacct_add_tsk()
79 strncpy(stats->ac_comm, tsk->comm, sizeof(stats->ac_comm)); in bacct_add_tsk()
116 stats->read_bytes = 0; in xacct_add_tsk()
[all …]
H A Dtaskstats.c178 memset(stats, 0, sizeof(*stats)); in fill_stats()
232 memcpy(stats, first->signal->stats, sizeof(*stats)); in fill_stats_for_tgid()
234 memset(stats, 0, sizeof(*stats)); in fill_stats_for_tgid()
442 memset(stats, 0, sizeof(*stats)); in cgroupstats_user_cmd()
517 if (!stats) in cmd_attr_pid()
546 if (!stats) in cmd_attr_tgid()
578 stats = smp_load_acquire(&sig->stats); in taskstats_tgid_alloc()
586 stats = sig->stats; in taskstats_tgid_alloc()
640 if (!stats) in taskstats_exit()
655 if (!stats) in taskstats_exit()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_stats.h18 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_in() local
21 if (stats->active) { in intel_engine_context_in()
22 stats->active++; in intel_engine_context_in()
30 stats->start = ktime_get(); in intel_engine_context_in()
31 stats->active++; in intel_engine_context_in()
36 GEM_BUG_ON(!stats->active); in intel_engine_context_in()
41 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_out() local
45 if (stats->active > 1) { in intel_engine_context_out()
46 stats->active--; in intel_engine_context_out()
53 stats->active--; in intel_engine_context_out()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_debugfs.c107 struct snic_stats *stats = &snic->s_stats; in snic_reset_stats_write() local
108 u64 *io_stats_p = (u64 *) &stats->io; in snic_reset_stats_write()
109 u64 *fw_stats_p = (u64 *) &stats->fw; in snic_reset_stats_write()
134 atomic64_read(&stats->io.active)); in snic_reset_stats_write()
168 struct snic_stats *stats = &snic->s_stats; in snic_stats_show() local
198 (u64) atomic64_read(&stats->io.compl), in snic_stats_show()
199 (u64) atomic64_read(&stats->io.fail), in snic_stats_show()
235 (u64) atomic64_read(&stats->abts.num), in snic_stats_show()
271 (u64) atomic64_read(&stats->fw.io_errs), in snic_stats_show()
301 (u64) stats->misc.last_isr_time, in snic_stats_show()
[all …]
/openbmc/linux/drivers/fpga/tests/
H A Dfpga-mgr-test.c44 struct mgr_stats stats; member
81 stats->op_parse_header_seq = stats->seq_num++; in op_parse_header()
87 stats->header_match = true; in op_parse_header()
104 stats->op_write_init_seq = stats->seq_num++; in op_write_init()
119 stats->op_write_seq = stats->seq_num++; in op_write()
121 stats->image_match = true; in op_write()
145 stats->op_write_sg_seq = stats->seq_num++; in op_write_sg()
147 stats->image_match = true; in op_write_sg()
174 stats->op_write_complete_seq = stats->seq_num++; in op_write_complete()
241 KUNIT_EXPECT_EQ(test, ctx->stats.op_write_seq, ctx->stats.op_parse_header_seq + 2); in fpga_mgr_test_img_load_buf()
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c76 stats->tx_drop_state + stats->tx_dlid_zero; in hfi1_vnic_update_stats()
81 stats->rx_drop_state + stats->rx_oversize + in hfi1_vnic_update_stats()
85 netdev->stats.tx_packets = stats->netstats.tx_packets; in hfi1_vnic_update_stats()
86 netdev->stats.tx_bytes = stats->netstats.tx_bytes; in hfi1_vnic_update_stats()
89 netdev->stats.tx_errors = stats->netstats.tx_errors; in hfi1_vnic_update_stats()
93 netdev->stats.rx_bytes = stats->netstats.rx_bytes; in hfi1_vnic_update_stats()
95 netdev->stats.multicast = stats->rx_grp.mcastbcast; in hfi1_vnic_update_stats()
96 netdev->stats.rx_length_errors = stats->rx_oversize + stats->rx_runt; in hfi1_vnic_update_stats()
97 netdev->stats.rx_errors = stats->netstats.rx_errors; in hfi1_vnic_update_stats()
127 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; in hfi1_vnic_update_tx_counters() local
[all …]
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c17 struct rtrs_clt_stats *stats = clt_path->stats; in rtrs_clt_update_wc_stats() local
22 s = get_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_wc_stats()
30 put_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_wc_stats()
47 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_from_cnt_to_str()
78 stats->reconnects.fail_cnt); in rtrs_clt_stats_reconnects_to_str()
147 memset(&stats->reconnects, 0, sizeof(stats->reconnects)); in rtrs_clt_reset_reconnects_stat()
176 struct rtrs_clt_stats *stats = clt_path->stats; in rtrs_clt_update_all_stats() local
182 atomic_inc(&stats->inflight); in rtrs_clt_update_all_stats()
187 stats->pcpu_stats = alloc_percpu(typeof(*stats->pcpu_stats)); in rtrs_clt_init_stats()
188 if (!stats->pcpu_stats) in rtrs_clt_init_stats()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dqueue.c29 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_lock() local
39 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_unlock() local
93 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_gc() local
149 memset(stats, 0, sizeof(*stats)); in cw1200_queue_stats_init()
173 queue->stats = stats; in cw1200_queue_init()
206 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_clear() local
285 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_put() local
339 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_get() local
377 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_requeue() local
417 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_requeue_all() local
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dfnic_trace.c202 struct fnic_stats *stats) in fnic_get_stats_data() argument
222 stats->stats_timestamps.last_reset_time.tv_nsec, in fnic_get_stats_data()
224 stats->stats_timestamps.last_read_time.tv_nsec, in fnic_get_stats_data()
230 stats->stats_timestamps.last_read_time = val1; in fnic_get_stats_data()
254 (u64)atomic64_read(&stats->io_stats.num_ios), in fnic_get_stats_data()
260 (u64)atomic64_read(&stats->io_stats.sc_null), in fnic_get_stats_data()
294 (u64)atomic64_read(&stats->abts_stats.aborts), in fnic_get_stats_data()
354 &stats->reset_stats.fnic_reset_completions), in fnic_get_stats_data()
416 (u64)stats->misc_stats.last_isr_time, in fnic_get_stats_data()
418 (u64)stats->misc_stats.last_ack_time, in fnic_get_stats_data()
[all …]
/openbmc/linux/arch/mips/sibyte/common/
H A Dbus_watcher.c107 stats->l2_cor_d, stats->l2_bad_d); in bw_proc_show()
109 stats->l2_cor_t, stats->l2_bad_t); in bw_proc_show()
111 stats->mem_cor_d, stats->mem_bad_d); in bw_proc_show()
117 (int)G_SCD_BERR_RID(stats->status), in bw_proc_show()
118 (int)G_SCD_BERR_DCODE(stats->status)); in bw_proc_show()
121 if (stats->status & M_SCD_BERR_MULTERRS) in bw_proc_show()
123 if (stats->status_printed) { in bw_proc_show()
126 stats->status_printed = 1; in bw_proc_show()
137 bw_proc_show, stats); in create_proc_decoder()
154 struct bw_stats_struct *stats = data; in sibyte_bw_int() local
[all …]
/openbmc/linux/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl465 my %stats = %$hashref;
483 foreach $process_pid (keys %stats) {
513 foreach $process_pid (keys %stats) {
545 $stats{$process_pid}->{HIGH_NR_SCANNED},
548 $stats{$process_pid}->{HIGH_NR_RECLAIMED},
551 …$stats{$process_pid}->{MM_VMSCAN_WRITEPAGE_FILE_SYNC} + $stats{$process_pid}->{MM_VMSCAN_WRITEPAGE…
552 …$stats{$process_pid}->{MM_VMSCAN_WRITEPAGE_FILE_ASYNC} + $stats{$process_pid}->{MM_VMSCAN_WRITEPAG…
581 foreach $process_pid (keys %stats) {
603 $stats{$process_pid}->{HIGH_NR_SCANNED},
609 …$stats{$process_pid}->{MM_VMSCAN_WRITEPAGE_FILE_SYNC} + $stats{$process_pid}->{MM_VMSCAN_WRITEPAGE…
[all …]
/openbmc/linux/net/wireless/
H A Dwext-proc.c37 if (!stats) { in wireless_seq_printf_stats()
40 stats = &nullstats; in wireless_seq_printf_stats()
44 stats = &nullstats; in wireless_seq_printf_stats()
48 if (stats) { in wireless_seq_printf_stats()
51 dev->name, stats->status, stats->qual.qual, in wireless_seq_printf_stats()
54 ((__s32) stats->qual.level) - in wireless_seq_printf_stats()
58 ((__s32) stats->qual.noise) - in wireless_seq_printf_stats()
62 stats->discard.nwid, stats->discard.code, in wireless_seq_printf_stats()
63 stats->discard.fragment, stats->discard.retries, in wireless_seq_printf_stats()
64 stats->discard.misc, stats->miss.beacon); in wireless_seq_printf_stats()
[all …]
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-stats.c167 q->drv_priv = stats; in rkisp1_stats_init_vb2_queue()
384 stats->ops->get_awb_meas(stats, cur_stat_buf); in rkisp1_stats_send_measurement()
390 stats->ops->get_aec_meas(stats, cur_stat_buf); in rkisp1_stats_send_measurement()
395 stats->ops->get_hst_meas(stats, cur_stat_buf); in rkisp1_stats_send_measurement()
409 spin_lock(&stats->lock); in rkisp1_stats_isr()
438 struct rkisp1_stats *stats = &rkisp1->stats; in rkisp1_stats_register() local
443 stats->rkisp1 = rkisp1; in rkisp1_stats_register()
460 rkisp1_init_stats(stats); in rkisp1_stats_register()
480 stats->rkisp1 = NULL; in rkisp1_stats_register()
486 struct rkisp1_stats *stats = &rkisp1->stats; in rkisp1_stats_unregister() local
[all …]
/openbmc/linux/block/
H A Dbfq-cgroup.c141 struct bfqg_stats *stats = &bfqg->stats; in bfqg_stats_set_start_group_wait_time() local
156 if (!bfqg_stats_empty(stats)) in bfqg_stats_end_empty_time()
173 struct bfqg_stats *stats = &bfqg->stats; in bfqg_stats_set_start_empty_time() local
183 if (bfqg_stats_empty(stats)) in bfqg_stats_set_start_empty_time()
187 bfqg_stats_mark_empty(stats); in bfqg_stats_set_start_empty_time()
192 struct bfqg_stats *stats = &bfqg->stats; in bfqg_stats_update_idle_time() local
206 struct bfqg_stats *stats = &bfqg->stats; in bfqg_stats_set_start_idle_time() local
214 struct bfqg_stats *stats = &bfqg->stats; in bfqg_stats_update_avg_queue_size() local
244 struct bfqg_stats *stats = &bfqg->stats; in bfqg_stats_update_completion() local
413 bfqg_stats_add_aux(&parent->stats, &bfqg->stats); in bfqg_stats_xfer_dead()
[all …]
/openbmc/linux/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.c89 priv->stats.txfeedbackok++; in cmpk_count_txstatistic()
90 priv->stats.txoktotal++; in cmpk_count_txstatistic()
92 priv->stats.txokinperiod++; in cmpk_count_txstatistic()
96 priv->stats.txmulticast++; in cmpk_count_txstatistic()
99 priv->stats.txbroadcast++; in cmpk_count_txstatistic()
102 priv->stats.txunicast++; in cmpk_count_txstatistic()
106 priv->stats.txfeedbackfail++; in cmpk_count_txstatistic()
107 priv->stats.txerrtotal++; in cmpk_count_txstatistic()
116 priv->stats.txerrunicast++; in cmpk_count_txstatistic()
150 priv->stats.txfeedback++; in cmpk_handle_tx_feedback()
[all …]
/openbmc/linux/sound/soc/fsl/
H A Dfsl_ssi_dbg.c18 dbg->stats.rfrc++; in fsl_ssi_dbg_isr()
21 dbg->stats.tfrc++; in fsl_ssi_dbg_isr()
24 dbg->stats.cmdau++; in fsl_ssi_dbg_isr()
30 dbg->stats.rxt++; in fsl_ssi_dbg_isr()
33 dbg->stats.rdr1++; in fsl_ssi_dbg_isr()
36 dbg->stats.rdr0++; in fsl_ssi_dbg_isr()
39 dbg->stats.tde1++; in fsl_ssi_dbg_isr()
57 dbg->stats.tfs++; in fsl_ssi_dbg_isr()
60 dbg->stats.rfs++; in fsl_ssi_dbg_isr()
63 dbg->stats.tls++; in fsl_ssi_dbg_isr()
[all …]
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dresource.c157 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_cqid()
158 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_cqid()
231 if (rdev->stats.qid.cur > rdev->stats.qid.max) in c4iw_get_qpid()
232 rdev->stats.qid.max = rdev->stats.qid.cur; in c4iw_get_qpid()
272 if (rdev->stats.pbl.cur > rdev->stats.pbl.max) in c4iw_pblpool_alloc()
273 rdev->stats.pbl.max = rdev->stats.pbl.cur; in c4iw_pblpool_alloc()
354 if (rdev->stats.rqt.cur > rdev->stats.rqt.max) in c4iw_rqtpool_alloc()
355 rdev->stats.rqt.max = rdev->stats.rqt.cur; in c4iw_rqtpool_alloc()
439 if (rdev->stats.srqt.cur > rdev->stats.srqt.max) in c4iw_alloc_srq_idx()
440 rdev->stats.srqt.max = rdev->stats.srqt.cur; in c4iw_alloc_srq_idx()
[all …]
/openbmc/linux/fs/ocfs2/
H A Dblockcheck.c234 if (stats) { in ocfs2_blockcheck_debug_remove()
246 stats->b_debug_dir = dir; in ocfs2_blockcheck_debug_install()
285 if (!stats) in ocfs2_blockcheck_inc_check()
288 spin_lock(&stats->b_lock); in ocfs2_blockcheck_inc_check()
289 stats->b_check_count++; in ocfs2_blockcheck_inc_check()
301 if (!stats) in ocfs2_blockcheck_inc_failure()
304 spin_lock(&stats->b_lock); in ocfs2_blockcheck_inc_failure()
305 stats->b_failure_count++; in ocfs2_blockcheck_inc_failure()
317 if (!stats) in ocfs2_blockcheck_inc_recover()
320 spin_lock(&stats->b_lock); in ocfs2_blockcheck_inc_recover()
[all …]

12345678910>>...85