/linux/drivers/cpufreq/ |
A D | cpufreq_stats.c | 35 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 198 struct cpufreq_stats *stats = policy->stats; in cpufreq_stats_free_table() local 227 stats = kzalloc(sizeof(*stats), GFP_KERNEL); in cpufreq_stats_create_table() 242 stats->trans_table = stats->freq_table + count; in cpufreq_stats_create_table() 255 policy->stats = stats; in cpufreq_stats_create_table() 269 struct cpufreq_stats *stats = policy->stats; in cpufreq_stats_record_transition() local [all …]
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | hw_counters.c | 131 struct rdma_hw_stats *stats, in bnxt_re_copy_ext_stats() argument 150 struct rdma_hw_stats *stats) in bnxt_re_get_ext_stat() argument 167 struct rdma_hw_stats *stats, in bnxt_re_copy_err_stats() argument 196 stats->value[BNXT_RE_DUP_REQ] = in bnxt_re_copy_err_stats() 253 struct rdma_hw_stats *stats, in bnxt_re_ib_get_hw_stats() argument 262 if (!port || !stats) in bnxt_re_ib_get_hw_stats() 280 stats->value[BNXT_RE_RX_PKTS] = in bnxt_re_ib_get_hw_stats() 282 stats->value[BNXT_RE_RX_BYTES] = in bnxt_re_ib_get_hw_stats() 284 stats->value[BNXT_RE_TX_PKTS] = in bnxt_re_ib_get_hw_stats() 286 stats->value[BNXT_RE_TX_BYTES] = in bnxt_re_ib_get_hw_stats() [all …]
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_stats.c | 111 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 …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | debug.c | 102 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 …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
A D | stats.c | 81 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 …]
|
/linux/drivers/scsi/snic/ |
A D | snic_debugfs.c | 121 struct snic_stats *stats = &snic->s_stats; in snic_reset_stats_write() local 122 u64 *io_stats_p = (u64 *) &stats->io; in snic_reset_stats_write() 123 u64 *fw_stats_p = (u64 *) &stats->fw; in snic_reset_stats_write() 148 atomic64_read(&stats->io.active)); in snic_reset_stats_write() 182 struct snic_stats *stats = &snic->s_stats; in snic_stats_show() local 212 (u64) atomic64_read(&stats->io.compl), in snic_stats_show() 213 (u64) atomic64_read(&stats->io.fail), in snic_stats_show() 249 (u64) atomic64_read(&stats->abts.num), in snic_stats_show() 285 (u64) atomic64_read(&stats->fw.io_errs), in snic_stats_show() 315 (u64) stats->misc.last_isr_time, in snic_stats_show() [all …]
|
/linux/kernel/ |
A D | tsacct.c | 35 stats->ac_etime = delta; in bacct_add_tsk() 39 stats->ac_btime64 = btime; in bacct_add_tsk() 44 stats->ac_flag |= AFORK; in bacct_add_tsk() 47 stats->ac_flag |= ASU; in bacct_add_tsk() 49 stats->ac_flag |= ACORE; in bacct_add_tsk() 51 stats->ac_flag |= AXSIG; in bacct_add_tsk() 53 stats->ac_sched = tsk->policy; in bacct_add_tsk() 71 stats->ac_minflt = tsk->min_flt; in bacct_add_tsk() 74 strncpy(stats->ac_comm, tsk->comm, sizeof(stats->ac_comm)); in bacct_add_tsk() 111 stats->read_bytes = 0; in xacct_add_tsk() [all …]
|
A D | taskstats.c | 159 memset(stats, 0, sizeof(*stats)); in fill_stats() 210 memcpy(stats, first->signal->stats, sizeof(*stats)); in fill_stats_for_tgid() 212 memset(stats, 0, sizeof(*stats)); in fill_stats_for_tgid() 420 memset(stats, 0, sizeof(*stats)); in cgroupstats_user_cmd() 495 if (!stats) in cmd_attr_pid() 524 if (!stats) in cmd_attr_tgid() 556 stats = smp_load_acquire(&sig->stats); in taskstats_tgid_alloc() 564 stats = sig->stats; in taskstats_tgid_alloc() 618 if (!stats) in taskstats_exit() 631 if (!stats) in taskstats_exit() [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | vnic_main.c | 76 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 …]
|
/linux/drivers/net/wireless/st/cw1200/ |
A D | queue.c | 28 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_lock() local 38 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_unlock() local 92 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_gc() local 146 memset(stats, 0, sizeof(*stats)); in cw1200_queue_stats_init() 170 queue->stats = stats; in cw1200_queue_init() 203 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_clear() local 282 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_put() local 336 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_get() local 374 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_requeue() local 414 struct cw1200_queue_stats *stats = queue->stats; in cw1200_queue_requeue_all() local [all …]
|
/linux/drivers/scsi/fnic/ |
A D | fnic_trace.c | 216 struct fnic_stats *stats) in fnic_get_stats_data() argument 236 stats->stats_timestamps.last_reset_time.tv_nsec, in fnic_get_stats_data() 238 stats->stats_timestamps.last_read_time.tv_nsec, in fnic_get_stats_data() 244 stats->stats_timestamps.last_read_time = val1; in fnic_get_stats_data() 268 (u64)atomic64_read(&stats->io_stats.num_ios), in fnic_get_stats_data() 274 (u64)atomic64_read(&stats->io_stats.sc_null), in fnic_get_stats_data() 308 (u64)atomic64_read(&stats->abts_stats.aborts), in fnic_get_stats_data() 368 &stats->reset_stats.fnic_reset_completions), in fnic_get_stats_data() 430 (u64)stats->misc_stats.last_isr_time, in fnic_get_stats_data() 432 (u64)stats->misc_stats.last_ack_time, in fnic_get_stats_data() [all …]
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs-clt-stats.c | 17 struct rtrs_clt_stats *stats = sess->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() 39 put_cpu_ptr(stats->pcpu_stats); in rtrs_clt_inc_failover_cnt() 82 stats->reconnects.fail_cnt); in rtrs_clt_stats_reconnects_to_str() 151 memset(&stats->reconnects, 0, sizeof(stats->reconnects)); in rtrs_clt_reset_reconnects_stat() 177 put_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_rdma_stats() 184 struct rtrs_clt_stats *stats = sess->stats; in rtrs_clt_update_all_stats() local 190 atomic_inc(&stats->inflight); in rtrs_clt_update_all_stats() 195 stats->pcpu_stats = alloc_percpu(typeof(*stats->pcpu_stats)); in rtrs_clt_init_stats() [all …]
|
/linux/Documentation/trace/postprocess/ |
A D | trace-vmscan-postprocess.pl | 465 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 …]
|
/linux/block/ |
A D | bfq-cgroup.c | 141 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 420 bfqg_stats_add_aux(&parent->stats, &bfqg->stats); in bfqg_stats_xfer_dead() [all …]
|
/linux/arch/mips/sibyte/common/ |
A D | bus_watcher.c | 107 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 …]
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-stats.c | 137 spin_lock_irq(&stats->lock); in rkisp1_stats_vb2_stop_streaming() 167 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() 420 spin_unlock(&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() [all …]
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | resource.c | 157 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 …]
|
/linux/drivers/staging/rtl8192u/ |
A D | r819xU_cmdpkt.c | 89 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 …]
|
/linux/net/wireless/ |
A D | wext-proc.c | 37 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 …]
|
/linux/fs/ocfs2/ |
A D | blockcheck.c | 234 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 …]
|
/linux/tools/perf/util/ |
A D | mem-events.c | 497 stats->__f++; \ in c2c_decode_stats() 498 stats->tot_hitm++; \ in c2c_decode_stats() 503 stats->nr_entries++; in c2c_decode_stats() 512 stats->load++; in c2c_decode_stats() 515 stats->ld_noadrs++; in c2c_decode_stats() 533 stats->lcl_dram++; in c2c_decode_stats() 555 stats->rmt_hit++; in c2c_decode_stats() 561 stats->ld_miss++; in c2c_decode_stats() 565 stats->store++; in c2c_decode_stats() 580 stats->noparse++; in c2c_decode_stats() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_engine_stats.h | 20 if (engine->stats.active) { in intel_engine_context_in() 21 engine->stats.active++; in intel_engine_context_in() 29 engine->stats.start = ktime_get(); in intel_engine_context_in() 30 engine->stats.active++; in intel_engine_context_in() 35 GEM_BUG_ON(!engine->stats.active); in intel_engine_context_in() 42 GEM_BUG_ON(!engine->stats.active); in intel_engine_context_out() 43 if (engine->stats.active > 1) { in intel_engine_context_out() 44 engine->stats.active--; in intel_engine_context_out() 51 engine->stats.active--; in intel_engine_context_out() 52 engine->stats.total = in intel_engine_context_out() [all …]
|
/linux/sound/soc/fsl/ |
A D | fsl_ssi_dbg.c | 18 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 …]
|
/linux/crypto/ |
A D | crypto_user_stat.c | 39 raead.stat_encrypt_cnt = atomic64_read(&alg->stats.aead.encrypt_cnt); in crypto_report_aead() 43 raead.stat_err_cnt = atomic64_read(&alg->stats.aead.err_cnt); in crypto_report_aead() 60 rcipher.stat_err_cnt = atomic64_read(&alg->stats.cipher.err_cnt); in crypto_report_cipher() 76 rcomp.stat_err_cnt = atomic64_read(&alg->stats.compress.err_cnt); in crypto_report_comp() 127 rkpp.stat_err_cnt = atomic64_read(&alg->stats.kpp.err_cnt); in crypto_report_kpp() 140 rhash.stat_hash_cnt = atomic64_read(&alg->stats.hash.hash_cnt); in crypto_report_ahash() 142 rhash.stat_err_cnt = atomic64_read(&alg->stats.hash.err_cnt); in crypto_report_ahash() 155 rhash.stat_hash_cnt = atomic64_read(&alg->stats.hash.hash_cnt); in crypto_report_shash() 157 rhash.stat_err_cnt = atomic64_read(&alg->stats.hash.err_cnt); in crypto_report_shash() 172 rrng.stat_seed_cnt = atomic64_read(&alg->stats.rng.seed_cnt); in crypto_report_rng() [all …]
|
/linux/drivers/net/ |
A D | mhi_net.c | 37 struct mhi_net_stats stats; member 94 u64_stats_inc(&mhi_netdev->stats.tx_dropped); in mhi_ndo_xmit() 101 struct rtnl_link_stats64 *stats) in mhi_ndo_get_stats64() argument 108 stats->rx_packets = u64_stats_read(&mhi_netdev->stats.rx_packets); in mhi_ndo_get_stats64() 109 stats->rx_bytes = u64_stats_read(&mhi_netdev->stats.rx_bytes); in mhi_ndo_get_stats64() 110 stats->rx_errors = u64_stats_read(&mhi_netdev->stats.rx_errors); in mhi_ndo_get_stats64() 115 stats->tx_packets = u64_stats_read(&mhi_netdev->stats.tx_packets); in mhi_ndo_get_stats64() 116 stats->tx_bytes = u64_stats_read(&mhi_netdev->stats.tx_bytes); in mhi_ndo_get_stats64() 117 stats->tx_errors = u64_stats_read(&mhi_netdev->stats.tx_errors); in mhi_ndo_get_stats64() 118 stats->tx_dropped = u64_stats_read(&mhi_netdev->stats.tx_dropped); in mhi_ndo_get_stats64() [all …]
|