Home
last modified time | relevance | path

Searched refs:stats (Results 1 - 25 of 3694) sorted by relevance

12345678910>>...148

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dhw_counters.c116 struct rdma_hw_stats *stats, in bnxt_re_ib_get_hw_stats()
120 struct ctx_hw_stats *bnxt_re_stats = rdev->qplib_ctx.stats.dma; in bnxt_re_ib_get_hw_stats()
123 if (!port || !stats) in bnxt_re_ib_get_hw_stats()
126 stats->value[BNXT_RE_ACTIVE_QP] = atomic_read(&rdev->qp_count); in bnxt_re_ib_get_hw_stats()
127 stats->value[BNXT_RE_ACTIVE_SRQ] = atomic_read(&rdev->srq_count); in bnxt_re_ib_get_hw_stats()
128 stats->value[BNXT_RE_ACTIVE_CQ] = atomic_read(&rdev->cq_count); in bnxt_re_ib_get_hw_stats()
129 stats->value[BNXT_RE_ACTIVE_MR] = atomic_read(&rdev->mr_count); in bnxt_re_ib_get_hw_stats()
130 stats->value[BNXT_RE_ACTIVE_MW] = atomic_read(&rdev->mw_count); in bnxt_re_ib_get_hw_stats()
132 stats->value[BNXT_RE_RECOVERABLE_ERRORS] = in bnxt_re_ib_get_hw_stats()
134 stats in bnxt_re_ib_get_hw_stats()
115 bnxt_re_ib_get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, u8 port, int index) bnxt_re_ib_get_hw_stats() argument
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dcpufreq_stats.c30 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 = get_jiffies_64(); in cpufreq_stats_reset_table()
46 stats in cpufreq_stats_reset_table()
60 struct cpufreq_stats *stats = policy->stats; show_total_trans() local
71 struct cpufreq_stats *stats = policy->stats; show_time_in_state() local
106 struct cpufreq_stats *stats = policy->stats; store_reset() local
126 struct cpufreq_stats *stats = policy->stats; show_trans_table() local
187 freq_table_get_index(struct cpufreq_stats *stats, unsigned int freq) freq_table_get_index() argument
198 struct cpufreq_stats *stats = policy->stats; cpufreq_stats_free_table() local
215 struct cpufreq_stats *stats; cpufreq_stats_create_table() local
270 struct cpufreq_stats *stats = policy->stats; cpufreq_stats_record_transition() local
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dcpufreq_stats.c30 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 in cpufreq_stats_reset_table()
60 struct cpufreq_stats *stats = policy->stats; show_total_trans() local
71 struct cpufreq_stats *stats = policy->stats; show_time_in_state() local
106 struct cpufreq_stats *stats = policy->stats; store_reset() local
126 struct cpufreq_stats *stats = policy->stats; show_trans_table() local
185 freq_table_get_index(struct cpufreq_stats *stats, unsigned int freq) freq_table_get_index() argument
196 struct cpufreq_stats *stats = policy->stats; cpufreq_stats_free_table() local
213 struct cpufreq_stats *stats; cpufreq_stats_create_table() local
268 struct cpufreq_stats *stats = policy->stats; cpufreq_stats_record_transition() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dhw_counters.c156 struct rdma_hw_stats *stats, in bnxt_re_copy_ext_stats()
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 in bnxt_re_copy_ext_stats()
155 bnxt_re_copy_ext_stats(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats, struct bnxt_qplib_ext_stat *s) bnxt_re_copy_ext_stats() argument
182 bnxt_re_get_ext_stat(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats) bnxt_re_get_ext_stat() argument
199 bnxt_re_copy_err_stats(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats, struct bnxt_qplib_roce_stats *err_s) bnxt_re_copy_err_stats() argument
285 bnxt_re_copy_db_pacing_stats(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats) bnxt_re_copy_db_pacing_stats() argument
297 bnxt_re_ib_get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, u32 port, int index) bnxt_re_ib_get_hw_stats() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c308 lan966x_add_cnt(&lan966x->stats[idx++], in lan966x_stats_update()
342 struct ethtool_stats *stats, u64 *data) in lan966x_get_ethtool_stats()
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[id in lan966x_get_eth_mac_stats()
341 lan966x_get_ethtool_stats(struct net_device *dev, struct ethtool_stats *stats, u64 *data) lan966x_get_ethtool_stats() argument
607 lan966x_stats_get(struct net_device *dev, struct rtnl_link_stats64 *stats) lan966x_stats_get() argument
[all...]
/kernel/linux/linux-5.10/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()
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 in brcms_debugfs_macstat_read()
[all...]
/kernel/linux/linux-6.6/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()
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 in brcms_debugfs_macstat_read()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dsnic_debugfs.c31 * stats logging
109 * resets cumulative stats of snic.
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()
144 * and IO Completions stats. Skip incrementing No IO Compls in snic_reset_stats_write()
148 atomic64_read(&stats->io.active)); in snic_reset_stats_write()
149 memset(&stats->abts, 0, sizeof(struct snic_abort_stats)); in snic_reset_stats_write()
150 memset(&stats->reset, 0, sizeof(struct snic_reset_stats)); in snic_reset_stats_write()
151 memset(&stats in snic_reset_stats_write()
182 struct snic_stats *stats = &snic->s_stats; snic_stats_show() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_debugfs.c17 * stats logging
95 * resets cumulative stats of snic.
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()
130 * and IO Completions stats. Skip incrementing No IO Compls 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 in snic_reset_stats_write()
168 struct snic_stats *stats = &snic->s_stats; snic_stats_show() local
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
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 in bacct_add_tsk()
20 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) bacct_add_tsk() argument
91 xacct_add_tsk(struct taskstats *stats, struct task_struct *p) xacct_add_tsk() argument
[all...]
/kernel/linux/linux-6.6/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()
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 in intel_engine_context_out() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
H A Dstats.c5 #include "stats.h"
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 in rtl_process_ui_rssi()
[all...]
/kernel/linux/linux-6.6/drivers/fpga/tests/
H A Dfpga-mgr-test.c44 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 in op_write_init()
115 struct mgr_stats *stats = mgr->priv; op_write() local
139 struct mgr_stats *stats = mgr->priv; op_write_sg() local
171 struct mgr_stats *stats = mgr->priv; op_write_complete() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
H A Dstats.c5 #include "stats.h"
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 in rtl_process_ui_rssi()
[all...]
/kernel/linux/linux-5.10/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl465 my %stats = %$hashref;
467 # Dump per-process stats
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{
[all...]
/kernel/linux/linux-6.6/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl465 my %stats = %$hashref;
467 # Dump per-process stats
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{
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
35 stats->ac_etime = delta; in bacct_add_tsk()
38 stats->ac_btime = clamp_t(time64_t, btime, 0, U32_MAX); in bacct_add_tsk()
39 stats->ac_btime64 = btime; in bacct_add_tsk()
42 stats->ac_exitcode = tsk->exit_code; in bacct_add_tsk()
44 stats->ac_flag |= AFORK; in bacct_add_tsk()
46 stats->ac_flag |= ASU; in bacct_add_tsk()
48 stats->ac_flag |= ACORE; in bacct_add_tsk()
50 stats->ac_flag |= AXSIG; in bacct_add_tsk()
51 stats in bacct_add_tsk()
20 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) bacct_add_tsk() argument
85 xacct_add_tsk(struct taskstats *stats, struct task_struct *p) xacct_add_tsk() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c59 pr_err("%s: No space in stats buff\n", __func__); in ocrdma_add_stat()
79 pr_err("%s: stats mbox allocation failed\n", __func__); in ocrdma_alloc_stats_resources()
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, pcu in ocrdma_resource_stats()
221 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_rx_stats() local
289 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_tx_stats() local
363 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_wqe_stats() local
396 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_db_errstats() local
417 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_rxqp_errstats() local
443 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_txqp_errstats() local
503 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_driver_dbg_stats() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c59 pr_err("%s: No space in stats buff\n", __func__); in ocrdma_add_stat()
79 pr_err("%s: stats mbox allocation failed\n", __func__); in ocrdma_alloc_stats_resources()
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, pcu in ocrdma_resource_stats()
221 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_rx_stats() local
289 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_tx_stats() local
363 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_wqe_stats() local
396 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_db_errstats() local
417 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_rxqp_errstats() local
443 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_txqp_errstats() local
503 char *stats = dev->stats_mem.debugfs_mem, *pcur; ocrdma_driver_dbg_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_trace.c204 * fnic_get_stats_data - Copy fnic stats buffer to a memory file
205 * @fnic_dbgfs_t: pointer to debugfs fnic stats buffer
208 * This routine gathers the fnic stats debugfs data from the fnic_stats struct
216 struct fnic_stats *stats) in fnic_get_stats_data()
230 "Last stats reset time: [%lld:%09ld]\n" in fnic_get_stats_data()
231 "Last stats read time: [%lld:%ld]\n" in fnic_get_stats_data()
235 (s64)stats->stats_timestamps.last_reset_time.tv_sec, in fnic_get_stats_data()
236 stats->stats_timestamps.last_reset_time.tv_nsec, in fnic_get_stats_data()
237 (s64)stats->stats_timestamps.last_read_time.tv_sec, in fnic_get_stats_data()
238 stats in fnic_get_stats_data()
215 fnic_get_stats_data(struct stats_debug_info *debug, struct fnic_stats *stats) fnic_get_stats_data() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/fnic/
H A Dfnic_trace.c190 * fnic_get_stats_data - Copy fnic stats buffer to a memory file
191 * @fnic_dbgfs_t: pointer to debugfs fnic stats buffer
194 * This routine gathers the fnic stats debugfs data from the fnic_stats struct
202 struct fnic_stats *stats) in fnic_get_stats_data()
216 "Last stats reset time: [%lld:%09ld]\n" in fnic_get_stats_data()
217 "Last stats read time: [%lld:%ld]\n" in fnic_get_stats_data()
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 in fnic_get_stats_data()
201 fnic_get_stats_data(struct stats_debug_info *debug, struct fnic_stats *stats) fnic_get_stats_data() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c66 #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \
69 dst64 = &stats->x_grp.unicast; \
70 dst64 <= &stats->x_grp.s_1519_max;) { \
80 struct opa_vnic_stats *stats) in hfi1_vnic_update_stats()
87 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats()
88 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats; in hfi1_vnic_update_stats()
90 stats->netstats.tx_fifo_errors += qnstats->tx_fifo_errors; in hfi1_vnic_update_stats()
91 stats->netstats.tx_carrier_errors += qnstats->tx_carrier_errors; in hfi1_vnic_update_stats()
92 stats->tx_drop_state += qstats->tx_drop_state; in hfi1_vnic_update_stats()
93 stats in hfi1_vnic_update_stats()
79 hfi1_vnic_update_stats(struct hfi1_vnic_vport_info *vinfo, struct opa_vnic_stats *stats) hfi1_vnic_update_stats() argument
169 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; hfi1_vnic_update_tx_counters() local
198 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; hfi1_vnic_update_rx_counters() local
223 hfi1_vnic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) hfi1_vnic_get_stats64() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c24 #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \
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()
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 in hfi1_vnic_update_stats()
37 hfi1_vnic_update_stats(struct hfi1_vnic_vport_info *vinfo, struct opa_vnic_stats *stats) hfi1_vnic_update_stats() argument
127 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; hfi1_vnic_update_tx_counters() local
156 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; hfi1_vnic_update_rx_counters() local
181 hfi1_vnic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) hfi1_vnic_get_stats64() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Dqueue.c28 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_lock() local
32 ieee80211_stop_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_lock()
38 struct cw1200_queue_stats *stats = queue->stats; in __cw1200_queue_unlock() local
43 ieee80211_wake_queue(stats->priv->hw, queue->queue_id); in __cw1200_queue_unlock()
66 static void cw1200_queue_post_gc(struct cw1200_queue_stats *stats, in cw1200_queue_post_gc() argument
73 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc()
92 struct cw1200_queue_stats *stats in __cw1200_queue_gc() local
141 cw1200_queue_stats_init(struct cw1200_queue_stats *stats, size_t map_capacity, cw1200_queue_skb_dtor_t skb_dtor, struct cw1200_common *priv) cw1200_queue_stats_init() argument
161 cw1200_queue_init(struct cw1200_queue *queue, struct cw1200_queue_stats *stats, u8 queue_id, size_t capacity, unsigned long ttl) cw1200_queue_init() argument
203 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_clear() local
235 cw1200_queue_stats_deinit(struct cw1200_queue_stats *stats) cw1200_queue_stats_deinit() argument
282 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_put() local
336 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_get() local
374 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_requeue() local
414 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_requeue_all() local
443 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_remove() local
554 cw1200_queue_stats_is_empty(struct cw1200_queue_stats *stats, u32 link_id_map) cw1200_queue_stats_is_empty() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Dqueue.c29 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 in __cw1200_queue_gc() local
144 cw1200_queue_stats_init(struct cw1200_queue_stats *stats, size_t map_capacity, cw1200_queue_skb_dtor_t skb_dtor, struct cw1200_common *priv) cw1200_queue_stats_init() argument
164 cw1200_queue_init(struct cw1200_queue *queue, struct cw1200_queue_stats *stats, u8 queue_id, size_t capacity, unsigned long ttl) cw1200_queue_init() argument
206 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_clear() local
238 cw1200_queue_stats_deinit(struct cw1200_queue_stats *stats) cw1200_queue_stats_deinit() argument
285 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_put() local
339 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_get() local
377 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_requeue() local
417 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_requeue_all() local
446 struct cw1200_queue_stats *stats = queue->stats; cw1200_queue_remove() local
557 cw1200_queue_stats_is_empty(struct cw1200_queue_stats *stats, u32 link_id_map) cw1200_queue_stats_is_empty() argument
[all...]

Completed in 13 milliseconds

12345678910>>...148