/linux-6.6.21/drivers/cpufreq/ |
D | cpufreq_stats.c | 30 static void cpufreq_stats_update(struct cpufreq_stats *stats, in cpufreq_stats_update() argument 35 stats->time_in_state[stats->last_index] += cur_time - time; in cpufreq_stats_update() 36 stats->last_time = cur_time; in cpufreq_stats_update() 39 static void cpufreq_stats_reset_table(struct cpufreq_stats *stats) in cpufreq_stats_reset_table() argument 41 unsigned int count = stats->max_state; in cpufreq_stats_reset_table() 43 memset(stats->time_in_state, 0, count * sizeof(u64)); in cpufreq_stats_reset_table() 44 memset(stats->trans_table, 0, count * count * sizeof(int)); in cpufreq_stats_reset_table() 45 stats->last_time = local_clock(); in cpufreq_stats_reset_table() 46 stats->total_trans = 0; in cpufreq_stats_reset_table() 49 WRITE_ONCE(stats->reset_pending, 0); in cpufreq_stats_reset_table() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | hw_counters.c | 156 struct rdma_hw_stats *stats, in bnxt_re_copy_ext_stats() argument 159 stats->value[BNXT_RE_TX_ATOMIC_REQ] = s->tx_atomic_req; in bnxt_re_copy_ext_stats() 160 stats->value[BNXT_RE_TX_READ_REQ] = s->tx_read_req; in bnxt_re_copy_ext_stats() 161 stats->value[BNXT_RE_TX_READ_RES] = s->tx_read_res; in bnxt_re_copy_ext_stats() 162 stats->value[BNXT_RE_TX_WRITE_REQ] = s->tx_write_req; in bnxt_re_copy_ext_stats() 163 stats->value[BNXT_RE_TX_SEND_REQ] = s->tx_send_req; in bnxt_re_copy_ext_stats() 164 stats->value[BNXT_RE_TX_ROCE_PKTS] = s->tx_roce_pkts; in bnxt_re_copy_ext_stats() 165 stats->value[BNXT_RE_TX_ROCE_BYTES] = s->tx_roce_bytes; in bnxt_re_copy_ext_stats() 166 stats->value[BNXT_RE_RX_ATOMIC_REQ] = s->rx_atomic_req; in bnxt_re_copy_ext_stats() 167 stats->value[BNXT_RE_RX_READ_REQ] = s->rx_read_req; in bnxt_re_copy_ext_stats() [all …]
|
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ethtool.c | 308 lan966x_add_cnt(&lan966x->stats[idx++], in lan966x_stats_update() 342 struct ethtool_stats *stats, u64 *data) in lan966x_get_ethtool_stats() argument 353 *data++ = lan966x->stats[port->chip_port * in lan966x_get_ethtool_stats() 371 lan966x->stats[idx + SYS_COUNT_TX_UC] + in lan966x_get_eth_mac_stats() 372 lan966x->stats[idx + SYS_COUNT_TX_MC] + in lan966x_get_eth_mac_stats() 373 lan966x->stats[idx + SYS_COUNT_TX_BC] + in lan966x_get_eth_mac_stats() 374 lan966x->stats[idx + SYS_COUNT_TX_PMAC_UC] + in lan966x_get_eth_mac_stats() 375 lan966x->stats[idx + SYS_COUNT_TX_PMAC_MC] + in lan966x_get_eth_mac_stats() 376 lan966x->stats[idx + SYS_COUNT_TX_PMAC_BC]; in lan966x_get_eth_mac_stats() 378 lan966x->stats[idx + SYS_COUNT_TX_COL]; in lan966x_get_eth_mac_stats() [all …]
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
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() 111 seq_printf(s, "txctsfrm: %d\n", stats.txctsfrm); in brcms_debugfs_macstat_read() 112 seq_printf(s, "txackfrm: %d\n", stats.txackfrm); in brcms_debugfs_macstat_read() 113 seq_printf(s, "txdnlfrm: %d\n", stats.txdnlfrm); in brcms_debugfs_macstat_read() 114 seq_printf(s, "txbcnfrm: %d\n", stats.txbcnfrm); 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() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 104 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_resource_stats() local 109 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM)); in ocrdma_resource_stats() 111 pcur = stats; in ocrdma_resource_stats() 112 pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds", in ocrdma_resource_stats() 114 pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds", in ocrdma_resource_stats() 116 pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps", in ocrdma_resource_stats() 118 pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps", in ocrdma_resource_stats() 120 pcur += ocrdma_add_stat(stats, pcur, "active_ud_dpp_qps", in ocrdma_resource_stats() 122 pcur += ocrdma_add_stat(stats, pcur, "active_rc_non_dpp_qps", in ocrdma_resource_stats() 124 pcur += ocrdma_add_stat(stats, pcur, "active_uc_non_dpp_qps", in ocrdma_resource_stats() [all …]
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/ |
D | stats.c | 80 rtlpriv->stats.pwdb_all_cnt += pstatus->rx_pwdb_all; in rtl_process_ui_rssi() 81 rtlpriv->stats.rssi_calculate_cnt++; in rtl_process_ui_rssi() 83 if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) { in rtl_process_ui_rssi() 84 rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX; in rtl_process_ui_rssi() 85 last_rssi = rtlpriv->stats.ui_rssi.elements[ in rtl_process_ui_rssi() 86 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi() 87 rtlpriv->stats.ui_rssi.total_val -= last_rssi; in rtl_process_ui_rssi() 89 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength; in rtl_process_ui_rssi() 90 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi() 92 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in rtl_process_ui_rssi() [all …]
|
/linux-6.6.21/kernel/ |
D | tsacct.c | 22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() argument 37 stats->ac_tgetime = delta; in bacct_add_tsk() 40 stats->ac_etime = delta; in bacct_add_tsk() 43 stats->ac_btime = clamp_t(time64_t, btime, 0, U32_MAX); in bacct_add_tsk() 44 stats->ac_btime64 = btime; in bacct_add_tsk() 47 stats->ac_exitcode = tsk->exit_code; 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() [all …]
|
D | taskstats.c | 157 static void exe_add_tsk(struct taskstats *stats, struct task_struct *tsk) in exe_add_tsk() argument 164 stats->ac_exe_dev = in exe_add_tsk() 166 stats->ac_exe_inode = exe_file->f_inode->i_ino; in exe_add_tsk() 169 stats->ac_exe_dev = 0; in exe_add_tsk() 170 stats->ac_exe_inode = 0; in exe_add_tsk() 176 struct task_struct *tsk, struct taskstats *stats) in fill_stats() argument 178 memset(stats, 0, sizeof(*stats)); in fill_stats() 186 delayacct_add_tsk(stats, tsk); in fill_stats() 189 stats->version = TASKSTATS_VERSION; in fill_stats() 190 stats->nvcsw = tsk->nvcsw; in fill_stats() [all …]
|
/linux-6.6.21/drivers/scsi/snic/ |
D | snic_debugfs.c | 107 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() 135 memset(&stats->abts, 0, sizeof(struct snic_abort_stats)); in snic_reset_stats_write() 136 memset(&stats->reset, 0, sizeof(struct snic_reset_stats)); in snic_reset_stats_write() 137 memset(&stats->misc, 0, sizeof(struct snic_misc_stats)); in snic_reset_stats_write() 168 struct snic_stats *stats = &snic->s_stats; in snic_stats_show() local 179 maxio_tm = (u64) atomic64_read(&stats->io.max_time); in snic_stats_show() 195 (u64) atomic64_read(&stats->io.active), in snic_stats_show() [all …]
|
/linux-6.6.21/drivers/fpga/tests/ |
D | fpga-mgr-test.c | 44 struct mgr_stats stats; member 77 struct mgr_stats *stats = mgr->priv; in op_parse_header() local 80 stats->op_parse_header_state = mgr->state; in op_parse_header() 81 stats->op_parse_header_seq = stats->seq_num++; in op_parse_header() 87 stats->header_match = true; in op_parse_header() 90 stats->header_match = false; in op_parse_header() 101 struct mgr_stats *stats = mgr->priv; in op_write_init() local 103 stats->op_write_init_state = mgr->state; in op_write_init() 104 stats->op_write_init_seq = stats->seq_num++; in op_write_init() 115 struct mgr_stats *stats = mgr->priv; in op_write() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_engine_stats.h | 18 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() 28 write_seqcount_begin(&stats->lock); in intel_engine_context_in() 30 stats->start = ktime_get(); in intel_engine_context_in() 31 stats->active++; in intel_engine_context_in() 33 write_seqcount_end(&stats->lock); 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 44 GEM_BUG_ON(!stats->active); in intel_engine_context_out() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | vnic_main.c | 24 #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \ argument 27 dst64 = &stats->x_grp.unicast; \ 28 dst64 <= &stats->x_grp.s_1519_max;) { \ 38 struct opa_vnic_stats *stats) in hfi1_vnic_update_stats() argument 45 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats() 46 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats() 48 stats->netstats.tx_fifo_errors += qnstats->tx_fifo_errors; in hfi1_vnic_update_stats() 49 stats->netstats.tx_carrier_errors += qnstats->tx_carrier_errors; in hfi1_vnic_update_stats() 50 stats->tx_drop_state += qstats->tx_drop_state; in hfi1_vnic_update_stats() 51 stats->tx_dlid_zero += qstats->tx_dlid_zero; in hfi1_vnic_update_stats() [all …]
|
/linux-6.6.21/drivers/net/wireless/st/cw1200/ |
D | queue.c | 29 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_lock() local 33 ieee80211_stop_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_lock() 39 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_unlock() local 44 ieee80211_wake_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_unlock() 67 static void cw1200_queue_post_gc(struct cw1200_queue_stats *stats, in cw1200_queue_post_gc() argument 74 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc() 93 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_gc() local 104 spin_lock_bh(&stats->lock); in __cw1200_queue_gc() 105 --stats->num_queued; in __cw1200_queue_gc() 106 if (!--stats->link_map_cache[iter->txpriv.link_id]) in __cw1200_queue_gc() [all …]
|
/linux-6.6.21/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt-stats.c | 17 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() 27 s = per_cpu_ptr(stats->pcpu_stats, con->cpu); in rtrs_clt_update_wc_stats() 30 put_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_wc_stats() 33 void rtrs_clt_inc_failover_cnt(struct rtrs_clt_stats *stats) in rtrs_clt_inc_failover_cnt() argument 35 this_cpu_inc(stats->pcpu_stats->rdma.failover_cnt); in rtrs_clt_inc_failover_cnt() 38 int rtrs_clt_stats_migration_from_cnt_to_str(struct rtrs_clt_stats *stats, char *buf) in rtrs_clt_stats_migration_from_cnt_to_str() argument 47 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_from_cnt_to_str() 57 int rtrs_clt_stats_migration_to_cnt_to_str(struct rtrs_clt_stats *stats, char *buf) in rtrs_clt_stats_migration_to_cnt_to_str() argument 66 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_to_cnt_to_str() [all …]
|
/linux-6.6.21/drivers/scsi/fnic/ |
D | fnic_trace.c | 202 struct fnic_stats *stats) in fnic_get_stats_data() argument 221 (s64)stats->stats_timestamps.last_reset_time.tv_sec, in fnic_get_stats_data() 222 stats->stats_timestamps.last_reset_time.tv_nsec, in fnic_get_stats_data() 223 (s64)stats->stats_timestamps.last_read_time.tv_sec, in fnic_get_stats_data() 224 stats->stats_timestamps.last_read_time.tv_nsec, in fnic_get_stats_data() 225 (s64)timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_sec, in fnic_get_stats_data() 226 timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_nsec, in fnic_get_stats_data() 227 (s64)timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_sec, in fnic_get_stats_data() 228 timespec64_sub(val1, 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() [all …]
|
/linux-6.6.21/Documentation/trace/postprocess/ |
D | trace-vmscan-postprocess.pl | 465 my %stats = %$hashref; 483 foreach $process_pid (keys %stats) { 485 if (!$stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[0] && 486 !$stats{$process_pid}->{HIGH_KSWAPD_LATENCY}[0]) { 492 while (defined $stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index] || 493 defined $stats{$process_pid}->{HIGH_KSWAPD_LATENCY}[$index]) { 495 if ($stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index]) { 496 printf("%s ", $stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index]) if !$opt_ignorepid; 497 my ($dummy, $latency) = split(/-/, $stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index]); 500 printf("%s ", $stats{$process_pid}->{HIGH_KSWAPD_LATENCY}[$index]) if !$opt_ignorepid; [all …]
|
/linux-6.6.21/arch/mips/sibyte/common/ |
D | bus_watcher.c | 102 struct bw_stats_struct *stats = m->private; in bw_proc_show() local 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() 112 seq_printf(m, "IO-err %8ld\n", stats->bus_error); in bw_proc_show() 115 (unsigned int)(G_SCD_BERR_TID(stats->status) & 0x3f), in bw_proc_show() 116 (int)(G_SCD_BERR_TID(stats->status) >> 6), 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() [all …]
|
/linux-6.6.21/net/wireless/ |
D | wext-proc.c | 33 struct iw_statistics *stats = get_wireless_stats(dev); in wireless_seq_printf_stats() local 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() 52 stats->qual.updated & IW_QUAL_QUAL_UPDATED in wireless_seq_printf_stats() 54 ((__s32) stats->qual.level) - in wireless_seq_printf_stats() 55 ((stats->qual.updated & IW_QUAL_DBM) ? 0x100 : 0), in wireless_seq_printf_stats() 56 stats->qual.updated & IW_QUAL_LEVEL_UPDATED in wireless_seq_printf_stats() [all …]
|
/linux-6.6.21/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-stats.c | 25 struct rkisp1_stats *stats = video_get_drvdata(video); in rkisp1_stats_enum_fmt_meta_cap() local 30 f->pixelformat = stats->vdev_fmt.fmt.meta.dataformat; in rkisp1_stats_enum_fmt_meta_cap() 38 struct rkisp1_stats *stats = video_get_drvdata(video); in rkisp1_stats_g_fmt_meta_cap() local 45 meta->dataformat = stats->vdev_fmt.fmt.meta.dataformat; in rkisp1_stats_g_fmt_meta_cap() 46 meta->buffersize = stats->vdev_fmt.fmt.meta.buffersize; in rkisp1_stats_g_fmt_meta_cap() 133 struct rkisp1_stats *stats = vq->drv_priv; in rkisp1_stats_vb2_stop_streaming() local 137 spin_lock_irq(&stats->lock); in rkisp1_stats_vb2_stop_streaming() 139 if (list_empty(&stats->stat)) in rkisp1_stats_vb2_stop_streaming() 141 buf = list_first_entry(&stats->stat, in rkisp1_stats_vb2_stop_streaming() 146 spin_unlock_irq(&stats->lock); in rkisp1_stats_vb2_stop_streaming() [all …]
|
/linux-6.6.21/block/ |
D | bfq-cgroup.c | 104 static void bfqg_stats_mark_##name(struct bfqg_stats *stats) \ 106 stats->flags |= (1 << BFQG_stats_##name); \ 108 static void bfqg_stats_clear_##name(struct bfqg_stats *stats) \ 110 stats->flags &= ~(1 << BFQG_stats_##name); \ 112 static int bfqg_stats_##name(struct bfqg_stats *stats) \ 114 return (stats->flags & (1 << BFQG_stats_##name)) != 0; \ 123 static void bfqg_stats_update_group_wait_time(struct bfqg_stats *stats) in BFQG_FLAG_FNS() 127 if (!bfqg_stats_waiting(stats)) in BFQG_FLAG_FNS() 131 if (now > stats->start_group_wait_time) in BFQG_FLAG_FNS() 132 bfq_stat_add(&stats->group_wait_time, in BFQG_FLAG_FNS() [all …]
|
/linux-6.6.21/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 89 priv->stats.txfeedbackok++; in cmpk_count_txstatistic() 90 priv->stats.txoktotal++; in cmpk_count_txstatistic() 91 priv->stats.txokbytestotal += pstx_fb->pkt_length; in cmpk_count_txstatistic() 92 priv->stats.txokinperiod++; in cmpk_count_txstatistic() 96 priv->stats.txmulticast++; in cmpk_count_txstatistic() 97 priv->stats.txbytesmulticast += pstx_fb->pkt_length; in cmpk_count_txstatistic() 99 priv->stats.txbroadcast++; in cmpk_count_txstatistic() 100 priv->stats.txbytesbroadcast += pstx_fb->pkt_length; in cmpk_count_txstatistic() 102 priv->stats.txunicast++; in cmpk_count_txstatistic() 103 priv->stats.txbytesunicast += pstx_fb->pkt_length; in cmpk_count_txstatistic() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 125 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid() 126 rdev->stats.qid.cur += rdev->qpmask + 1; in c4iw_get_cqid() 127 mutex_unlock(&rdev->stats.lock); in c4iw_get_cqid() 156 mutex_lock(&rdev->stats.lock); in c4iw_get_cqid() 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() 159 mutex_unlock(&rdev->stats.lock); in c4iw_get_cqid() 194 mutex_lock(&rdev->stats.lock); in c4iw_get_qpid() 195 rdev->stats.qid.fail++; in c4iw_get_qpid() 196 mutex_unlock(&rdev->stats.lock); in c4iw_get_qpid() [all …]
|
/linux-6.6.21/sound/soc/fsl/ |
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() 27 dbg->stats.cmddu++; 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() 42 dbg->stats.tde0++; in fsl_ssi_dbg_isr() 45 dbg->stats.roe1++; in fsl_ssi_dbg_isr() [all …]
|
/linux-6.6.21/fs/ocfs2/ |
D | blockcheck.c | 232 static void ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats) in ocfs2_blockcheck_debug_remove() argument 234 if (stats) { in ocfs2_blockcheck_debug_remove() 235 debugfs_remove_recursive(stats->b_debug_dir); in ocfs2_blockcheck_debug_remove() 236 stats->b_debug_dir = NULL; in ocfs2_blockcheck_debug_remove() 240 static void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, in ocfs2_blockcheck_debug_install() argument 246 stats->b_debug_dir = dir; in ocfs2_blockcheck_debug_install() 249 &stats->b_check_count, &blockcheck_fops); in ocfs2_blockcheck_debug_install() 252 &stats->b_failure_count, &blockcheck_fops); in ocfs2_blockcheck_debug_install() 255 &stats->b_recover_count, &blockcheck_fops); in ocfs2_blockcheck_debug_install() 259 static inline void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, in ocfs2_blockcheck_debug_install() argument [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | mem-events.c | 532 int c2c_decode_stats(struct c2c_stats *stats, struct mem_info *mi) in c2c_decode_stats() argument 555 stats->__f++; \ in c2c_decode_stats() 556 stats->tot_hitm++; \ in c2c_decode_stats() 561 stats->__f++; \ in c2c_decode_stats() 562 stats->tot_peer++; \ in c2c_decode_stats() 567 stats->nr_entries++; in c2c_decode_stats() 569 if (lock & P(LOCK, LOCKED)) stats->locks++; in c2c_decode_stats() 571 if (blk & P(BLK, DATA)) stats->blk_data++; in c2c_decode_stats() 572 if (blk & P(BLK, ADDR)) stats->blk_addr++; in c2c_decode_stats() 576 stats->load++; in c2c_decode_stats() [all …]
|