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

1234567891011>>

/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_engine_stats.h18 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; local
21 if (stats->active) {
22 stats->active++;
28 write_seqcount_begin(&stats->lock);
30 stats->start = ktime_get();
31 stats->active++;
33 write_seqcount_end(&stats->lock);
36 GEM_BUG_ON(!stats->active);
41 struct intel_engine_execlists_stats *stats local
[all...]
/linux-master/drivers/cpufreq/
H A Dcpufreq_stats.c30 static void cpufreq_stats_update(struct cpufreq_stats *stats, argument
35 stats->time_in_state[stats->last_index] += cur_time - time;
36 stats->last_time = cur_time;
39 static void cpufreq_stats_reset_table(struct cpufreq_stats *stats) argument
41 unsigned int count = stats->max_state;
43 memset(stats->time_in_state, 0, count * sizeof(u64));
44 memset(stats->trans_table, 0, count * count * sizeof(int));
45 stats->last_time = local_clock();
46 stats
60 struct cpufreq_stats *stats = policy->stats; local
71 struct cpufreq_stats *stats = policy->stats; local
106 struct cpufreq_stats *stats = policy->stats; local
126 struct cpufreq_stats *stats = policy->stats; local
185 freq_table_get_index(struct cpufreq_stats *stats, unsigned int freq) argument
196 struct cpufreq_stats *stats = policy->stats; local
213 struct cpufreq_stats *stats; local
268 struct cpufreq_stats *stats = policy->stats; local
[all...]
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dhw_counters.c156 struct rdma_hw_stats *stats,
159 stats->value[BNXT_RE_TX_ATOMIC_REQ] = s->tx_atomic_req;
160 stats->value[BNXT_RE_TX_READ_REQ] = s->tx_read_req;
161 stats->value[BNXT_RE_TX_READ_RES] = s->tx_read_res;
162 stats->value[BNXT_RE_TX_WRITE_REQ] = s->tx_write_req;
163 stats->value[BNXT_RE_TX_SEND_REQ] = s->tx_send_req;
164 stats->value[BNXT_RE_TX_ROCE_PKTS] = s->tx_roce_pkts;
165 stats->value[BNXT_RE_TX_ROCE_BYTES] = s->tx_roce_bytes;
166 stats->value[BNXT_RE_RX_ATOMIC_REQ] = s->rx_atomic_req;
167 stats
155 bnxt_re_copy_ext_stats(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats, struct bnxt_qplib_ext_stat *s) argument
182 bnxt_re_get_ext_stat(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats) argument
199 bnxt_re_copy_err_stats(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats, struct bnxt_qplib_roce_stats *err_s) argument
285 bnxt_re_copy_db_pacing_stats(struct bnxt_re_dev *rdev, struct rdma_hw_stats *stats) argument
297 bnxt_re_ib_get_hw_stats(struct ib_device *ibdev, struct rdma_hw_stats *stats, u32 port, int index) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Dstats.c5 #include "stats.h"
80 rtlpriv->stats.pwdb_all_cnt += pstatus->rx_pwdb_all;
81 rtlpriv->stats.rssi_calculate_cnt++;
83 if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) {
84 rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX;
85 last_rssi = rtlpriv->stats.ui_rssi.elements[
86 rtlpriv->stats.ui_rssi.index];
87 rtlpriv->stats.ui_rssi.total_val -= last_rssi;
89 rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength;
90 rtlpriv->stats
[all...]
/linux-master/fs/bcachefs/
H A Dtime_stats.h94 struct bch2_time_stats stats; member in struct:bch2_time_stats_quantiles
98 static inline struct quantiles *time_stats_to_quantiles(struct bch2_time_stats *stats) argument
100 return stats->have_quantiles
101 ? &container_of(stats, struct bch2_time_stats_quantiles, stats)->quantiles
106 void __bch2_time_stats_update(struct bch2_time_stats *stats, u64, u64);
111 * @stats - bch2_time_stats to update
116 static inline void bch2_time_stats_update(struct bch2_time_stats *stats, u64 start) argument
118 __bch2_time_stats_update(stats, start, local_clock());
124 * @stats
130 track_event_change(struct bch2_time_stats *stats, bool v) argument
[all...]
H A Dtime_stats.c69 static inline void time_stats_update_one(struct bch2_time_stats *stats, argument
73 bool initted = stats->last_event != 0;
76 struct quantiles *quantiles = time_stats_to_quantiles(stats);
79 mean_and_variance_update(&stats->duration_stats, duration);
80 mean_and_variance_weighted_update(&stats->duration_stats_weighted,
82 stats->max_duration = max(stats->max_duration, duration);
83 stats->min_duration = min(stats->min_duration, duration);
84 stats
102 __bch2_time_stats_clear_buffer(struct bch2_time_stats *stats, struct time_stat_buffer *b) argument
112 time_stats_clear_buffer(struct bch2_time_stats *stats, struct time_stat_buffer *b) argument
122 __bch2_time_stats_update(struct bch2_time_stats *stats, u64 start, u64 end) argument
154 bch2_time_stats_exit(struct bch2_time_stats *stats) argument
159 bch2_time_stats_init(struct bch2_time_stats *stats) argument
[all...]
/linux-master/net/wireless/
H A Dwext-proc.c32 /* Get stats from the driver */
33 struct iw_statistics *stats = get_wireless_stats(dev); local
36 /* show device if it's wireless regardless of current stats */
37 if (!stats) {
40 stats = &nullstats;
44 stats = &nullstats;
48 if (stats) {
51 dev->name, stats->status, stats->qual.qual,
52 stats
[all...]
/linux-master/sound/soc/fsl/
H A Dfsl_ssi_dbg.c18 dbg->stats.rfrc++;
21 dbg->stats.tfrc++;
24 dbg->stats.cmdau++;
27 dbg->stats.cmddu++;
30 dbg->stats.rxt++;
33 dbg->stats.rdr1++;
36 dbg->stats.rdr0++;
39 dbg->stats.tde1++;
42 dbg->stats.tde0++;
45 dbg->stats
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dmessage-stats.c9 #include "message-stats.h"
81 struct block_allocator_statistics *stats,
87 write_u64("slabCount : ", stats->slab_count, ", ", buf, maxlen);
89 write_u64("slabsOpened : ", stats->slabs_opened, ", ", buf, maxlen);
91 write_u64("slabsReopened : ", stats->slabs_reopened, ", ", buf, maxlen);
95 static void write_commit_statistics(char *prefix, struct commit_statistics *stats, argument
100 write_u64("started : ", stats->started, ", ", buf, maxlen);
102 write_u64("written : ", stats->written, ", ", buf, maxlen);
104 write_u64("committed : ", stats->committed, ", ", buf, maxlen);
109 struct recovery_journal_statistics *stats,
80 write_block_allocator_statistics(char *prefix, struct block_allocator_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
108 write_recovery_journal_statistics(char *prefix, struct recovery_journal_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
126 write_packer_statistics(char *prefix, struct packer_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
142 write_slab_journal_statistics(char *prefix, struct slab_journal_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
160 write_slab_summary_statistics(char *prefix, struct slab_summary_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
170 write_ref_counts_statistics(char *prefix, struct ref_counts_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
179 write_block_map_statistics(char *prefix, struct block_map_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
226 write_hash_lock_statistics(char *prefix, struct hash_lock_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
245 write_error_statistics(char *prefix, struct error_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
261 write_bio_stats(char *prefix, struct bio_stats *stats, char *suffix, char **buf, unsigned int *maxlen) argument
280 write_memory_usage(char *prefix, struct memory_usage *stats, char *suffix, char **buf, unsigned int *maxlen) argument
291 write_index_statistics(char *prefix, struct index_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
314 write_vdo_statistics(char *prefix, struct vdo_statistics *stats, char *suffix, char **buf, unsigned int *maxlen) argument
419 struct vdo_statistics *stats; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_fdinfo.c62 struct amdgpu_mem_stats stats; local
67 memset(&stats, 0, sizeof(stats));
73 amdgpu_vm_get_memory(vm, &stats);
80 * For text output format description please see drm-usage-stats.rst!
85 drm_printf(p, "drm-memory-vram:\t%llu KiB\n", stats.vram/1024UL);
86 drm_printf(p, "drm-memory-gtt: \t%llu KiB\n", stats.gtt/1024UL);
87 drm_printf(p, "drm-memory-cpu: \t%llu KiB\n", stats.cpu/1024UL);
89 stats.visible_vram/1024UL);
91 stats
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddebug.c102 struct macstat stats; local
106 stats = *(drvr->wlc->core->macstat_snapshot);
109 seq_printf(s, "txallfrm: %d\n", stats.txallfrm);
110 seq_printf(s, "txrtsfrm: %d\n", stats.txrtsfrm);
111 seq_printf(s, "txctsfrm: %d\n", stats.txctsfrm);
112 seq_printf(s, "txackfrm: %d\n", stats.txackfrm);
113 seq_printf(s, "txdnlfrm: %d\n", stats.txdnlfrm);
114 seq_printf(s, "txbcnfrm: %d\n", stats.txbcnfrm);
116 for (i = 0; i < ARRAY_SIZE(stats.txfunfl); i++)
117 seq_printf(s, " %d", stats
[all...]
/linux-master/drivers/scsi/snic/
H A Dsnic_debugfs.c17 * stats logging
95 * resets cumulative stats of snic.
107 struct snic_stats *stats = &snic->s_stats; local
108 u64 *io_stats_p = (u64 *) &stats->io;
109 u64 *fw_stats_p = (u64 *) &stats->fw;
130 * and IO Completions stats. Skip incrementing No IO Compls
134 atomic64_read(&stats->io.active));
135 memset(&stats->abts, 0, sizeof(struct snic_abort_stats));
136 memset(&stats->reset, 0, sizeof(struct snic_reset_stats));
137 memset(&stats
168 struct snic_stats *stats = &snic->s_stats; local
[all...]
/linux-master/kernel/
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk)
37 stats->ac_tgetime = delta;
40 stats->ac_etime = delta;
43 stats->ac_btime = clamp_t(time64_t, btime, 0, U32_MAX);
44 stats->ac_btime64 = btime;
47 stats->ac_exitcode = tsk->exit_code;
49 stats->ac_flag |= AFORK;
51 stats->ac_flag |= ASU;
53 stats->ac_flag |= ACORE;
55 stats
20 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) argument
91 xacct_add_tsk(struct taskstats *stats, struct task_struct *p) argument
[all...]
/linux-master/drivers/fpga/tests/
H A Dfpga-mgr-test.c44 struct mgr_stats stats; member in struct:mgr_ctx
77 struct mgr_stats *stats = mgr->priv; local
80 stats->op_parse_header_state = mgr->state;
81 stats->op_parse_header_seq = stats->seq_num++;
87 stats->header_match = true;
90 stats->header_match = false;
101 struct mgr_stats *stats = mgr->priv; local
103 stats->op_write_init_state = mgr->state;
104 stats
115 struct mgr_stats *stats = mgr->priv; local
139 struct mgr_stats *stats = mgr->priv; local
171 struct mgr_stats *stats = mgr->priv; local
[all...]
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c59 pr_err("%s: No space in stats buff\n", __func__);
79 pr_err("%s: stats mbox allocation failed\n", __func__);
104 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
109 memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM));
111 pcur = stats;
112 pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds",
114 pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds",
116 pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps",
118 pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps",
120 pcur += ocrdma_add_stat(stats, pcu
221 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
289 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
363 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
396 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
417 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
443 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
503 char *stats = dev->stats_mem.debugfs_mem, *pcur; local
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c308 lan966x_add_cnt(&lan966x->stats[idx++],
342 struct ethtool_stats *stats, u64 *data)
353 *data++ = lan966x->stats[port->chip_port *
371 lan966x->stats[idx + SYS_COUNT_TX_UC] +
372 lan966x->stats[idx + SYS_COUNT_TX_MC] +
373 lan966x->stats[idx + SYS_COUNT_TX_BC] +
374 lan966x->stats[idx + SYS_COUNT_TX_PMAC_UC] +
375 lan966x->stats[idx + SYS_COUNT_TX_PMAC_MC] +
376 lan966x->stats[idx + SYS_COUNT_TX_PMAC_BC];
378 lan966x->stats[id
341 lan966x_get_ethtool_stats(struct net_device *dev, struct ethtool_stats *stats, u64 *data) argument
607 lan966x_stats_get(struct net_device *dev, struct rtnl_link_stats64 *stats) argument
[all...]
/linux-master/include/linux/
H A Dtsacct_kern.h16 struct taskstats *stats, struct task_struct *tsk);
20 struct taskstats *stats, struct task_struct *tsk)
25 extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p);
30 static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) argument
18 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) argument
/linux-master/drivers/crypto/nx/
H A Dnx_debugfs.c41 root, &drv->stats.aes_ops.counter);
43 root, &drv->stats.sha256_ops.counter);
45 root, &drv->stats.sha512_ops.counter);
47 root, &drv->stats.aes_bytes.counter);
49 root, &drv->stats.sha256_bytes.counter);
51 root, &drv->stats.sha512_bytes.counter);
53 root, &drv->stats.errors.counter);
55 root, &drv->stats.last_error.counter);
57 root, &drv->stats.last_error_pid.counter);
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c17 struct rtrs_clt_stats *stats = clt_path->stats; local
22 s = get_cpu_ptr(stats->pcpu_stats);
27 s = per_cpu_ptr(stats->pcpu_stats, con->cpu);
30 put_cpu_ptr(stats->pcpu_stats);
33 void rtrs_clt_inc_failover_cnt(struct rtrs_clt_stats *stats) argument
35 this_cpu_inc(stats->pcpu_stats->rdma.failover_cnt);
38 int rtrs_clt_stats_migration_from_cnt_to_str(struct rtrs_clt_stats *stats, char *buf) argument
47 s = per_cpu_ptr(stats->pcpu_stats, cpu);
57 int rtrs_clt_stats_migration_to_cnt_to_str(struct rtrs_clt_stats *stats, cha argument
75 rtrs_clt_stats_reconnects_to_str(struct rtrs_clt_stats *stats, char *buf) argument
81 rtrs_clt_stats_rdma_to_str(struct rtrs_clt_stats *stats, char *page) argument
110 rtrs_clt_reset_rdma_stats(struct rtrs_clt_stats *stats, bool enable) argument
126 rtrs_clt_reset_cpu_migr_stats(struct rtrs_clt_stats *stats, bool enable) argument
142 rtrs_clt_reset_reconnects_stat(struct rtrs_clt_stats *stats, bool enable) argument
165 rtrs_clt_update_rdma_stats(struct rtrs_clt_stats *stats, size_t size, int d) argument
176 struct rtrs_clt_stats *stats = clt_path->stats; local
185 rtrs_clt_init_stats(struct rtrs_clt_stats *stats) argument
[all...]
/linux-master/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)
217 "Last stats reset time: [%lld:%09ld]\n"
218 "Last stats read time: [%lld:%ld]\n"
222 (s64)stats->stats_timestamps.last_reset_time.tv_sec,
223 stats->stats_timestamps.last_reset_time.tv_nsec,
224 (s64)stats->stats_timestamps.last_read_time.tv_sec,
225 stats
201 fnic_get_stats_data(struct stats_debug_info *debug, struct fnic_stats *stats) argument
[all...]
/linux-master/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)
45 struct opa_vnic_stats *qstats = &vinfo->stats[i];
46 struct rtnl_link_stats64 *qnstats = &vinfo->stats[i].netstats;
48 stats->netstats.tx_fifo_errors += qnstats->tx_fifo_errors;
49 stats->netstats.tx_carrier_errors += qnstats->tx_carrier_errors;
50 stats->tx_drop_state += qstats->tx_drop_state;
51 stats
37 hfi1_vnic_update_stats(struct hfi1_vnic_vport_info *vinfo, struct opa_vnic_stats *stats) argument
127 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; local
156 struct opa_vnic_stats *stats = &vinfo->stats[q_idx]; local
181 hfi1_vnic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
[all...]
/linux-master/drivers/net/wireless/st/cw1200/
H A Dqueue.c29 struct cw1200_queue_stats *stats = queue->stats; local
33 ieee80211_stop_queue(stats->priv->hw, queue->queue_id);
39 struct cw1200_queue_stats *stats = queue->stats; local
44 ieee80211_wake_queue(stats->priv->hw, queue->queue_id);
67 static void cw1200_queue_post_gc(struct cw1200_queue_stats *stats, argument
74 stats->skb_dtor(stats->priv, item->skb, &item->txpriv);
93 struct cw1200_queue_stats *stats 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) argument
164 cw1200_queue_init(struct cw1200_queue *queue, struct cw1200_queue_stats *stats, u8 queue_id, size_t capacity, unsigned long ttl) argument
206 struct cw1200_queue_stats *stats = queue->stats; local
238 cw1200_queue_stats_deinit(struct cw1200_queue_stats *stats) argument
285 struct cw1200_queue_stats *stats = queue->stats; local
339 struct cw1200_queue_stats *stats = queue->stats; local
377 struct cw1200_queue_stats *stats = queue->stats; local
417 struct cw1200_queue_stats *stats = queue->stats; local
446 struct cw1200_queue_stats *stats = queue->stats; local
557 cw1200_queue_stats_is_empty(struct cw1200_queue_stats *stats, u32 link_id_map) argument
[all...]
/linux-master/fs/ocfs2/
H A Dblockcheck.c232 static void ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats) argument
234 if (stats) {
235 debugfs_remove_recursive(stats->b_debug_dir);
236 stats->b_debug_dir = NULL;
240 static void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, argument
246 stats->b_debug_dir = dir;
249 &stats->b_check_count, &blockcheck_fops);
252 &stats->b_failure_count, &blockcheck_fops);
255 &stats->b_recover_count, &blockcheck_fops);
259 static inline void ocfs2_blockcheck_debug_install(struct ocfs2_blockcheck_stats *stats, argument
264 ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats) argument
270 ocfs2_blockcheck_stats_debugfs_install(struct ocfs2_blockcheck_stats *stats, struct dentry *parent) argument
276 ocfs2_blockcheck_stats_debugfs_remove(struct ocfs2_blockcheck_stats *stats) argument
281 ocfs2_blockcheck_inc_check(struct ocfs2_blockcheck_stats *stats) argument
297 ocfs2_blockcheck_inc_failure(struct ocfs2_blockcheck_stats *stats) argument
313 ocfs2_blockcheck_inc_recover(struct ocfs2_blockcheck_stats *stats) argument
378 ocfs2_block_check_validate(void *data, size_t blocksize, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats) argument
485 ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats) argument
[all...]
/linux-master/tools/workqueue/
H A Dwq_monitor.py74 self.stats = [0] * PWQ_NR_STATS
77 self.stats[i] += int(pwq.stats[i])
84 'started' : self.stats[PWQ_STAT_STARTED],
85 'completed' : self.stats[PWQ_STAT_COMPLETED],
86 'cpu_time' : self.stats[PWQ_STAT_CPU_TIME],
87 'cpu_intensive' : self.stats[PWQ_STAT_CPU_INTENSIVE],
88 'cm_wakeup' : self.stats[PWQ_STAT_CM_WAKEUP],
89 'repatriated' : self.stats[PWQ_STAT_REPATRIATED],
90 'mayday' : self.stats[PWQ_STAT_MAYDA
[all...]
/linux-master/arch/mips/sibyte/common/
H A Dbus_watcher.c102 struct bw_stats_struct *stats = m->private; local
107 stats->l2_cor_d, stats->l2_bad_d);
109 stats->l2_cor_t, stats->l2_bad_t);
111 stats->mem_cor_d, stats->mem_bad_d);
112 seq_printf(m, "IO-err %8ld\n", stats->bus_error);
115 (unsigned int)(G_SCD_BERR_TID(stats->status) & 0x3f),
116 (int)(G_SCD_BERR_TID(stats
132 create_proc_decoder(struct bw_stats_struct *stats) argument
154 struct bw_stats_struct *stats = data; local
[all...]

Completed in 808 milliseconds

1234567891011>>