Home
last modified time | relevance | path

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

12345678910>>...74

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dhw_counters.c116 struct rdma_hw_stats *stats, in bnxt_re_ib_get_hw_stats() argument
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->value[BNXT_RE_RX_DROPS] = in bnxt_re_ib_get_hw_stats()
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
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->total_trans = 0; in cpufreq_stats_reset_table()
49 WRITE_ONCE(stats->reset_pending, 0); in cpufreq_stats_reset_table()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
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.txfunfl[i]); in brcms_debugfs_macstat_read()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c104 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Dstats.c80 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 …]
/kernel/linux/linux-5.10/kernel/
Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() argument
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->ac_nice = task_nice(tsk); in bacct_add_tsk()
[all …]
Dtaskstats.c157 struct task_struct *tsk, struct taskstats *stats) in fill_stats() argument
159 memset(stats, 0, sizeof(*stats)); in fill_stats()
167 delayacct_add_tsk(stats, tsk); in fill_stats()
170 stats->version = TASKSTATS_VERSION; in fill_stats()
171 stats->nvcsw = tsk->nvcsw; in fill_stats()
172 stats->nivcsw = tsk->nivcsw; in fill_stats()
173 bacct_add_tsk(user_ns, pid_ns, stats, tsk); in fill_stats()
176 xacct_add_tsk(stats, tsk); in fill_stats()
179 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() argument
186 fill_stats(current_user_ns(), task_active_pid_ns(current), tsk, stats); in fill_stats_for_pid()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dvnic_main.c66 #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \ argument
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() argument
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->tx_dlid_zero += qstats->tx_dlid_zero; in hfi1_vnic_update_stats()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_debugfs.c121 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()
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->misc, 0, sizeof(struct snic_misc_stats)); in snic_reset_stats_write()
182 struct snic_stats *stats = &snic->s_stats; in snic_stats_show() local
193 maxio_tm = (u64) atomic64_read(&stats->io.max_time); in snic_stats_show()
209 (u64) atomic64_read(&stats->io.active), in snic_stats_show()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
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 = queue->stats; in __cw1200_queue_gc() local
101 spin_lock_bh(&stats->lock); in __cw1200_queue_gc()
102 --stats->num_queued; in __cw1200_queue_gc()
103 if (!--stats->link_map_cache[item->txpriv.link_id]) in __cw1200_queue_gc()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic_trace.c216 struct fnic_stats *stats) in fnic_get_stats_data() argument
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->stats_timestamps.last_read_time.tv_nsec, in fnic_get_stats_data()
239 (s64)timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_sec, in fnic_get_stats_data()
240 timespec64_sub(val1, stats->stats_timestamps.last_reset_time).tv_nsec, in fnic_get_stats_data()
241 (s64)timespec64_sub(val1, stats->stats_timestamps.last_read_time).tv_sec, in fnic_get_stats_data()
242 timespec64_sub(val1, 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()
[all …]
/kernel/linux/linux-5.10/Documentation/trace/postprocess/
Dtrace-vmscan-postprocess.pl465 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 …]
/kernel/linux/linux-5.10/arch/mips/sibyte/common/
Dbus_watcher.c102 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 …]
/kernel/linux/linux-5.10/net/wireless/
Dwext-proc.c33 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 …]
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-stats.c25 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()
97 struct rkisp1_stats *stats = vq->drv_priv; in rkisp1_stats_vb2_queue_setup() local
106 INIT_LIST_HEAD(&stats->stat); in rkisp1_stats_vb2_queue_setup()
138 struct rkisp1_stats *stats = vq->drv_priv; in rkisp1_stats_vb2_stop_streaming() local
142 spin_lock_irq(&stats->lock); in rkisp1_stats_vb2_stop_streaming()
143 stats->is_streaming = false; in rkisp1_stats_vb2_stop_streaming()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-clt-stats.c17 struct rtrs_clt_stats *stats = sess->stats; in rtrs_clt_update_wc_stats() local
22 s = this_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()
32 void rtrs_clt_inc_failover_cnt(struct rtrs_clt_stats *stats) in rtrs_clt_inc_failover_cnt() argument
36 s = this_cpu_ptr(stats->pcpu_stats); in rtrs_clt_inc_failover_cnt()
40 int rtrs_clt_stats_migration_cnt_to_str(struct rtrs_clt_stats *stats, in rtrs_clt_stats_migration_cnt_to_str() argument
54 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_cnt_to_str()
61 s = per_cpu_ptr(stats->pcpu_stats, cpu); in rtrs_clt_stats_migration_cnt_to_str()
70 int rtrs_clt_stats_reconnects_to_str(struct rtrs_clt_stats *stats, char *buf, in rtrs_clt_stats_reconnects_to_str() argument
74 stats->reconnects.successful_cnt, in rtrs_clt_stats_reconnects_to_str()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dmem-events.c327 int c2c_decode_stats(struct c2c_stats *stats, struct mem_info *mi) in c2c_decode_stats() argument
344 stats->__f++; \ in c2c_decode_stats()
345 stats->tot_hitm++; \ in c2c_decode_stats()
350 stats->nr_entries++; in c2c_decode_stats()
352 if (lock & P(LOCK, LOCKED)) stats->locks++; in c2c_decode_stats()
356 stats->load++; in c2c_decode_stats()
359 stats->ld_noadrs++; in c2c_decode_stats()
364 if (lvl & P(LVL, UNC)) stats->ld_uncache++; in c2c_decode_stats()
365 if (lvl & P(LVL, IO)) stats->ld_io++; in c2c_decode_stats()
366 if (lvl & P(LVL, LFB)) stats->ld_fbhit++; in c2c_decode_stats()
[all …]
/kernel/linux/linux-5.10/block/
Dbfq-cgroup.c104 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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dresource.c125 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 …]
/kernel/linux/linux-5.10/sound/soc/fsl/
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()
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 …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dblockcheck.c234 static void ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats) in ocfs2_blockcheck_debug_remove() argument
236 if (stats) { in ocfs2_blockcheck_debug_remove()
237 debugfs_remove_recursive(stats->b_debug_dir); in ocfs2_blockcheck_debug_remove()
238 stats->b_debug_dir = NULL; in ocfs2_blockcheck_debug_remove()
242 static void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, in ocfs2_blockcheck_debug_install() argument
248 stats->b_debug_dir = dir; in ocfs2_blockcheck_debug_install()
251 &stats->b_check_count, &blockcheck_fops); in ocfs2_blockcheck_debug_install()
254 &stats->b_failure_count, &blockcheck_fops); in ocfs2_blockcheck_debug_install()
257 &stats->b_recover_count, &blockcheck_fops); in ocfs2_blockcheck_debug_install()
261 static inline void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, in ocfs2_blockcheck_debug_install() argument
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c89 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 …]
/kernel/linux/linux-5.10/crypto/
Dcrypto_user_stat.c39 raead.stat_encrypt_cnt = atomic64_read(&alg->stats.aead.encrypt_cnt); in crypto_report_aead()
40 raead.stat_encrypt_tlen = atomic64_read(&alg->stats.aead.encrypt_tlen); in crypto_report_aead()
41 raead.stat_decrypt_cnt = atomic64_read(&alg->stats.aead.decrypt_cnt); in crypto_report_aead()
42 raead.stat_decrypt_tlen = atomic64_read(&alg->stats.aead.decrypt_tlen); in crypto_report_aead()
43 raead.stat_err_cnt = atomic64_read(&alg->stats.aead.err_cnt); in crypto_report_aead()
56 rcipher.stat_encrypt_cnt = atomic64_read(&alg->stats.cipher.encrypt_cnt); in crypto_report_cipher()
57 rcipher.stat_encrypt_tlen = atomic64_read(&alg->stats.cipher.encrypt_tlen); in crypto_report_cipher()
58 rcipher.stat_decrypt_cnt = atomic64_read(&alg->stats.cipher.decrypt_cnt); in crypto_report_cipher()
59 rcipher.stat_decrypt_tlen = atomic64_read(&alg->stats.cipher.decrypt_tlen); in crypto_report_cipher()
60 rcipher.stat_err_cnt = atomic64_read(&alg->stats.cipher.err_cnt); in crypto_report_cipher()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c31 struct nfp_repr_pcpu_stats *stats; in nfp_repr_inc_tx_stats() local
35 this_cpu_inc(repr->stats->tx_drops); in nfp_repr_inc_tx_stats()
39 stats = this_cpu_ptr(repr->stats); in nfp_repr_inc_tx_stats()
40 u64_stats_update_begin(&stats->syncp); in nfp_repr_inc_tx_stats()
41 stats->tx_packets++; in nfp_repr_inc_tx_stats()
42 stats->tx_bytes += len; in nfp_repr_inc_tx_stats()
43 u64_stats_update_end(&stats->syncp); in nfp_repr_inc_tx_stats()
49 struct nfp_repr_pcpu_stats *stats; in nfp_repr_inc_rx_stats() local
51 stats = this_cpu_ptr(repr->stats); in nfp_repr_inc_rx_stats()
52 u64_stats_update_begin(&stats->syncp); in nfp_repr_inc_rx_stats()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c151 rtlpriv->stats.rx_snr_db[i] = in _rtl92de_query_rxphystatus()
194 if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) { in rtl92d_loop_over_paths()
195 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
200 rtlpriv->stats.rx_rssi_percentage[rfpath]) { in rtl92d_loop_over_paths()
201 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
202 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl92d_loop_over_paths()
206 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
207 rtlpriv->stats.rx_rssi_percentage[rfpath] + 1; in rtl92d_loop_over_paths()
209 rtlpriv->stats.rx_rssi_percentage[rfpath] = in rtl92d_loop_over_paths()
210 ((rtlpriv->stats.rx_rssi_percentage[rfpath] * in rtl92d_loop_over_paths()
[all …]

12345678910>>...74