| /linux-4.1.27/drivers/cpufreq/ | 
| D | cpufreq_stats.c | 33 static int cpufreq_stats_update(struct cpufreq_stats *stats)  in cpufreq_stats_update()  argument 38 	stats->time_in_state[stats->last_index] += cur_time - stats->last_time;  in cpufreq_stats_update() 39 	stats->last_time = cur_time;  in cpufreq_stats_update() 46 	return sprintf(buf, "%d\n", policy->stats->total_trans);  in show_total_trans() 51 	struct cpufreq_stats *stats = policy->stats;  in show_time_in_state()  local 55 	cpufreq_stats_update(stats);  in show_time_in_state() 56 	for (i = 0; i < stats->state_num; i++) {  in show_time_in_state() 57 		len += sprintf(buf + len, "%u %llu\n", stats->freq_table[i],  in show_time_in_state() 59 			jiffies_64_to_clock_t(stats->time_in_state[i]));  in show_time_in_state() 67 	struct cpufreq_stats *stats = policy->stats;  in show_trans_table()  local [all …] 
 | 
| /linux-4.1.27/tools/perf/util/ | 
| D | stat.c | 5 void update_stats(struct stats *stats, u64 val)  in update_stats()  argument 9 	stats->n++;  in update_stats() 10 	delta = val - stats->mean;  in update_stats() 11 	stats->mean += delta / stats->n;  in update_stats() 12 	stats->M2 += delta*(val - stats->mean);  in update_stats() 14 	if (val > stats->max)  in update_stats() 15 		stats->max = val;  in update_stats() 17 	if (val < stats->min)  in update_stats() 18 		stats->min = val;  in update_stats() 21 double avg_stats(struct stats *stats)  in avg_stats()  argument [all …] 
 | 
| D | stat.h | 6 struct stats  struct 12 void update_stats(struct stats *stats, u64 val);  argument 13 double avg_stats(struct stats *stats); 14 double stddev_stats(struct stats *stats); 17 static inline void init_stats(struct stats *stats)  in init_stats()  argument 19 	stats->n    = 0.0;  in init_stats() 20 	stats->mean = 0.0;  in init_stats() 21 	stats->M2   = 0.0;  in init_stats() 22 	stats->min  = (u64) -1;  in init_stats() 23 	stats->max  = 0;  in init_stats()
  | 
| /linux-4.1.27/drivers/infiniband/hw/ocrdma/ | 
| D | ocrdma_stats.c | 91 	char *stats = dev->stats_mem.debugfs_mem, *pcur;  in ocrdma_resource_stats()  local 96 	memset(stats, 0, (OCRDMA_MAX_DBGFS_MEM));  in ocrdma_resource_stats() 98 	pcur = stats;  in ocrdma_resource_stats() 99 	pcur += ocrdma_add_stat(stats, pcur, "active_dpp_pds",  in ocrdma_resource_stats() 101 	pcur += ocrdma_add_stat(stats, pcur, "active_non_dpp_pds",  in ocrdma_resource_stats() 103 	pcur += ocrdma_add_stat(stats, pcur, "active_rc_dpp_qps",  in ocrdma_resource_stats() 105 	pcur += ocrdma_add_stat(stats, pcur, "active_uc_dpp_qps",  in ocrdma_resource_stats() 107 	pcur += ocrdma_add_stat(stats, pcur, "active_ud_dpp_qps",  in ocrdma_resource_stats() 109 	pcur += ocrdma_add_stat(stats, pcur, "active_rc_non_dpp_qps",  in ocrdma_resource_stats() 111 	pcur += ocrdma_add_stat(stats, pcur, "active_uc_non_dpp_qps",  in ocrdma_resource_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/rtlwifi/ | 
| D | stats.c | 101 	rtlpriv->stats.pwdb_all_cnt += pstatus->rx_pwdb_all;  in rtl_process_ui_rssi() 102 	rtlpriv->stats.rssi_calculate_cnt++;  in rtl_process_ui_rssi() 104 	if (rtlpriv->stats.ui_rssi.total_num++ >= PHY_RSSI_SLID_WIN_MAX) {  in rtl_process_ui_rssi() 105 		rtlpriv->stats.ui_rssi.total_num = PHY_RSSI_SLID_WIN_MAX;  in rtl_process_ui_rssi() 106 		last_rssi = rtlpriv->stats.ui_rssi.elements[  in rtl_process_ui_rssi() 107 			rtlpriv->stats.ui_rssi.index];  in rtl_process_ui_rssi() 108 		rtlpriv->stats.ui_rssi.total_val -= last_rssi;  in rtl_process_ui_rssi() 110 	rtlpriv->stats.ui_rssi.total_val += pstatus->signalstrength;  in rtl_process_ui_rssi() 111 	rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] =  in rtl_process_ui_rssi() 113 	if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX)  in rtl_process_ui_rssi() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ | 
| D | debug.c | 112 	struct macstat stats;  in brcms_debugfs_macstat_read()  local 116 	stats = *(drvr->wlc->core->macstat_snapshot);  in brcms_debugfs_macstat_read() 119 	seq_printf(s, "txallfrm: %d\n", stats.txallfrm);  in brcms_debugfs_macstat_read() 120 	seq_printf(s, "txrtsfrm: %d\n", stats.txrtsfrm);  in brcms_debugfs_macstat_read() 121 	seq_printf(s, "txctsfrm: %d\n", stats.txctsfrm);  in brcms_debugfs_macstat_read() 122 	seq_printf(s, "txackfrm: %d\n", stats.txackfrm);  in brcms_debugfs_macstat_read() 123 	seq_printf(s, "txdnlfrm: %d\n", stats.txdnlfrm);  in brcms_debugfs_macstat_read() 124 	seq_printf(s, "txbcnfrm: %d\n", stats.txbcnfrm);  in brcms_debugfs_macstat_read() 126 	for (i = 0; i < ARRAY_SIZE(stats.txfunfl); i++)  in brcms_debugfs_macstat_read() 127 		seq_printf(s, " %d", stats.txfunfl[i]);  in brcms_debugfs_macstat_read() [all …] 
 | 
| /linux-4.1.27/fs/ocfs2/ | 
| D | blockcheck.c | 250 static void ocfs2_blockcheck_debug_remove(struct ocfs2_blockcheck_stats *stats)  in ocfs2_blockcheck_debug_remove()  argument 252 	if (stats) {  in ocfs2_blockcheck_debug_remove() 253 		debugfs_remove(stats->b_debug_check);  in ocfs2_blockcheck_debug_remove() 254 		stats->b_debug_check = NULL;  in ocfs2_blockcheck_debug_remove() 255 		debugfs_remove(stats->b_debug_failure);  in ocfs2_blockcheck_debug_remove() 256 		stats->b_debug_failure = NULL;  in ocfs2_blockcheck_debug_remove() 257 		debugfs_remove(stats->b_debug_recover);  in ocfs2_blockcheck_debug_remove() 258 		stats->b_debug_recover = NULL;  in ocfs2_blockcheck_debug_remove() 259 		debugfs_remove(stats->b_debug_dir);  in ocfs2_blockcheck_debug_remove() 260 		stats->b_debug_dir = NULL;  in ocfs2_blockcheck_debug_remove() [all …] 
 | 
| D | blockcheck.h | 59 			       struct ocfs2_blockcheck_stats *stats); 64 				   struct ocfs2_blockcheck_stats *stats); 67 int ocfs2_blockcheck_stats_debugfs_install(struct ocfs2_blockcheck_stats *stats, 69 void ocfs2_blockcheck_stats_debugfs_remove(struct ocfs2_blockcheck_stats *stats);
  | 
| /linux-4.1.27/kernel/ | 
| D | tsacct.c | 31 		   struct taskstats *stats, struct task_struct *tsk)  in bacct_add_tsk()  argument 43 	stats->ac_etime = delta;  in bacct_add_tsk() 46 	stats->ac_btime = get_seconds() - delta;  in bacct_add_tsk() 48 		stats->ac_exitcode = tsk->exit_code;  in bacct_add_tsk() 50 			stats->ac_flag |= AFORK;  in bacct_add_tsk() 53 		stats->ac_flag |= ASU;  in bacct_add_tsk() 55 		stats->ac_flag |= ACORE;  in bacct_add_tsk() 57 		stats->ac_flag |= AXSIG;  in bacct_add_tsk() 58 	stats->ac_nice	 = task_nice(tsk);  in bacct_add_tsk() 59 	stats->ac_sched	 = tsk->policy;  in bacct_add_tsk() [all …] 
 | 
| D | taskstats.c | 171 		       struct task_struct *tsk, struct taskstats *stats)  in fill_stats()  argument 173 	memset(stats, 0, sizeof(*stats));  in fill_stats() 181 	delayacct_add_tsk(stats, tsk);  in fill_stats() 184 	stats->version = TASKSTATS_VERSION;  in fill_stats() 185 	stats->nvcsw = tsk->nvcsw;  in fill_stats() 186 	stats->nivcsw = tsk->nivcsw;  in fill_stats() 187 	bacct_add_tsk(user_ns, pid_ns, stats, tsk);  in fill_stats() 190 	xacct_add_tsk(stats, tsk);  in fill_stats() 193 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats)  in fill_stats_for_pid()  argument 204 	fill_stats(current_user_ns(), task_active_pid_ns(current), tsk, stats);  in fill_stats_for_pid() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/cw1200/ | 
| D | queue.c | 31 	struct cw1200_queue_stats *stats = queue->stats;  in __cw1200_queue_lock()  local 35 		ieee80211_stop_queue(stats->priv->hw, queue->queue_id);  in __cw1200_queue_lock() 41 	struct cw1200_queue_stats *stats = queue->stats;  in __cw1200_queue_unlock()  local 46 		ieee80211_wake_queue(stats->priv->hw, queue->queue_id);  in __cw1200_queue_unlock() 69 static void cw1200_queue_post_gc(struct cw1200_queue_stats *stats,  in cw1200_queue_post_gc()  argument 76 		stats->skb_dtor(stats->priv, item->skb, &item->txpriv);  in cw1200_queue_post_gc() 96 	struct cw1200_queue_stats *stats = queue->stats;  in __cw1200_queue_gc()  local 105 		spin_lock_bh(&stats->lock);  in __cw1200_queue_gc() 106 		--stats->num_queued;  in __cw1200_queue_gc() 107 		if (!--stats->link_map_cache[item->txpriv.link_id])  in __cw1200_queue_gc() [all …] 
 | 
| D | queue.h | 30 	struct cw1200_queue_stats *stats;  member 67 int cw1200_queue_stats_init(struct cw1200_queue_stats *stats, 72 		      struct cw1200_queue_stats *stats, 77 void cw1200_queue_stats_deinit(struct cw1200_queue_stats *stats); 103 bool cw1200_queue_stats_is_empty(struct cw1200_queue_stats *stats,
  | 
| /linux-4.1.27/Documentation/trace/postprocess/ | 
| D | trace-vmscan-postprocess.pl | 464 	my %stats = %$hashref; 482 	foreach $process_pid (keys %stats) { 484 		if (!$stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[0] && 485 				!$stats{$process_pid}->{HIGH_KSWAPD_LATENCY}[0]) { 491 		while (defined $stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index] || 492 			defined $stats{$process_pid}->{HIGH_KSWAPD_LATENCY}[$index]) { 494 			if ($stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index]) { 495 				printf("%s ", $stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index]) if !$opt_ignorepid; 496 				my ($dummy, $latency) = split(/-/, $stats{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$index]); 499 				printf("%s ", $stats{$process_pid}->{HIGH_KSWAPD_LATENCY}[$index]) if !$opt_ignorepid; [all …] 
 | 
| D | trace-pagealloc-postprocess.pl | 300 	my %stats = %$hashref; 324 	foreach $process_pid (keys %stats) { 326 		if ($stats{$process_pid}->{STATE_PCPU_PAGES_DRAINED}) { 327 			$stats{$process_pid}->{HIGH_PCPU_DRAINS}++; 328 			$stats{$process_pid}->{STATE_PCPU_PAGES_DRAINED} = 0; 330 		if ($stats{$process_pid}->{STATE_PCPU_PAGES_REFILLED}) { 331 			$stats{$process_pid}->{HIGH_PCPU_REFILLS}++; 332 			$stats{$process_pid}->{STATE_PCPU_PAGES_REFILLED} = 0; 337 			$stats{$process_pid}->{MM_PAGE_ALLOC}, 338 			$stats{$process_pid}->{MM_PAGE_ALLOC_ZONE_LOCKED}, [all …] 
 | 
| /linux-4.1.27/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-4.1.27/arch/mips/sibyte/common/ | 
| D | bus_watcher.c | 118 	struct bw_stats_struct *stats = m->private;  in bw_proc_show()  local 123 		   stats->l2_cor_d, stats->l2_bad_d);  in bw_proc_show() 125 		   stats->l2_cor_t, stats->l2_bad_t);  in bw_proc_show() 127 		   stats->mem_cor_d, stats->mem_bad_d);  in bw_proc_show() 128 	seq_printf(m, "IO-err   %8ld\n", stats->bus_error);  in bw_proc_show() 131 		   (unsigned int)(G_SCD_BERR_TID(stats->status) & 0x3f),  in bw_proc_show() 132 		   (int)(G_SCD_BERR_TID(stats->status) >> 6),  in bw_proc_show() 133 		   (int)G_SCD_BERR_RID(stats->status),  in bw_proc_show() 134 		   (int)G_SCD_BERR_DCODE(stats->status));  in bw_proc_show() 137 	if (stats->status & M_SCD_BERR_MULTERRS)  in bw_proc_show() [all …] 
 | 
| /linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ | 
| D | lprocfs_counters.c | 47 void lprocfs_counter_add(struct lprocfs_stats *stats, int idx, long amount)  in lprocfs_counter_add()  argument 54 	if (stats == NULL)  in lprocfs_counter_add() 57 	LASSERTF(0 <= idx && idx < stats->ls_num,  in lprocfs_counter_add() 58 		 "idx %d, ls_num %hu\n", idx, stats->ls_num);  in lprocfs_counter_add() 62 	smp_id = lprocfs_stats_lock(stats, LPROCFS_GET_SMP_ID, &flags);  in lprocfs_counter_add() 66 	header = &stats->ls_cnt_header[idx];  in lprocfs_counter_add() 67 	percpu_cntr = lprocfs_stats_counter_get(stats, smp_id, idx);  in lprocfs_counter_add() 82 		    (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE) != 0)  in lprocfs_counter_add() 94 	lprocfs_stats_unlock(stats, LPROCFS_GET_SMP_ID, &flags);  in lprocfs_counter_add() 98 void lprocfs_counter_sub(struct lprocfs_stats *stats, int idx, long amount)  in lprocfs_counter_sub()  argument [all …] 
 | 
| D | lprocfs_status.c | 606 void lprocfs_stats_collect(struct lprocfs_stats *stats, int idx,  in lprocfs_stats_collect()  argument 616 	if (stats == NULL) {  in lprocfs_stats_collect() 624 	num_entry = lprocfs_stats_lock(stats, LPROCFS_GET_NUM_CPU, &flags);  in lprocfs_stats_collect() 627 		if (stats->ls_percpu[i] == NULL)  in lprocfs_stats_collect() 629 		percpu_cntr = lprocfs_stats_counter_get(stats, i, idx);  in lprocfs_stats_collect() 640 	lprocfs_stats_unlock(stats, LPROCFS_GET_NUM_CPU, &flags);  in lprocfs_stats_collect() 1031 int lprocfs_stats_alloc_one(struct lprocfs_stats *stats, unsigned int cpuid)  in lprocfs_stats_alloc_one()  argument 1039 	LASSERT(stats->ls_percpu[cpuid] == NULL);  in lprocfs_stats_alloc_one() 1040 	LASSERT((stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) == 0);  in lprocfs_stats_alloc_one() 1042 	percpusize = lprocfs_stats_counter_size(stats);  in lprocfs_stats_alloc_one() [all …] 
 | 
| /linux-4.1.27/drivers/staging/rtl8192u/ | 
| D | r819xU_cmdpkt.c | 104 		priv->stats.txfeedbackok++;  in cmpk_count_txstatistic() 105 		priv->stats.txoktotal++;  in cmpk_count_txstatistic() 106 		priv->stats.txokbytestotal += pstx_fb->pkt_length;  in cmpk_count_txstatistic() 107 		priv->stats.txokinperiod++;  in cmpk_count_txstatistic() 111 			priv->stats.txmulticast++;  in cmpk_count_txstatistic() 112 			priv->stats.txbytesmulticast += pstx_fb->pkt_length;  in cmpk_count_txstatistic() 114 			priv->stats.txbroadcast++;  in cmpk_count_txstatistic() 115 			priv->stats.txbytesbroadcast += pstx_fb->pkt_length;  in cmpk_count_txstatistic() 117 			priv->stats.txunicast++;  in cmpk_count_txstatistic() 118 			priv->stats.txbytesunicast += pstx_fb->pkt_length;  in cmpk_count_txstatistic() [all …] 
 | 
| D | r8192U_core.c | 510 		   priv->stats.txviokint,  in proc_get_stats_tx() 511 		   priv->stats.txvierr,  in proc_get_stats_tx() 512 		   priv->stats.txvookint,  in proc_get_stats_tx() 513 		   priv->stats.txvoerr,  in proc_get_stats_tx() 514 		   priv->stats.txbeokint,  in proc_get_stats_tx() 515 		   priv->stats.txbeerr,  in proc_get_stats_tx() 516 		   priv->stats.txbkokint,  in proc_get_stats_tx() 517 		   priv->stats.txbkerr,  in proc_get_stats_tx() 518 		   priv->stats.txmanageokint,  in proc_get_stats_tx() 519 		   priv->stats.txmanageerr,  in proc_get_stats_tx() [all …] 
 | 
| /linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ | 
| D | r8192E_cmdpkt.c | 109 		priv->stats.txfeedbackok++;  in cmpk_count_txstatistic() 110 		priv->stats.txoktotal++;  in cmpk_count_txstatistic() 111 		priv->stats.txokbytestotal += pstx_fb->pkt_length;  in cmpk_count_txstatistic() 112 		priv->stats.txokinperiod++;  in cmpk_count_txstatistic() 115 			priv->stats.txmulticast++;  in cmpk_count_txstatistic() 116 			priv->stats.txbytesmulticast += pstx_fb->pkt_length;  in cmpk_count_txstatistic() 118 			priv->stats.txbroadcast++;  in cmpk_count_txstatistic() 119 			priv->stats.txbytesbroadcast += pstx_fb->pkt_length;  in cmpk_count_txstatistic() 121 			priv->stats.txunicast++;  in cmpk_count_txstatistic() 122 			priv->stats.txbytesunicast += pstx_fb->pkt_length;  in cmpk_count_txstatistic() [all …] 
 | 
| D | r8192E_dev.c | 1501 	priv->stats.numqry_phystatus++;  in rtl8192_query_rxphystatus() 1533 		priv->stats.numqry_phystatusCCK++;  in rtl8192_query_rxphystatus() 1608 		priv->stats.numqry_phystatusHT++;  in rtl8192_query_rxphystatus() 1619 			priv->stats.rxSNRdB[i] = (long)rx_snrX;  in rtl8192_query_rxphystatus() 1671 			priv->stats.received_bwtype[1+prxsc->rxsc]++;  in rtl8192_query_rxphystatus() 1673 			priv->stats.received_bwtype[0]++;  in rtl8192_query_rxphystatus() 1716 		last_rssi = priv->stats.slide_signal_strength[slide_rssi_index];  in rtl8192_process_phyinfo() 1717 		priv->stats.slide_rssi_total -= last_rssi;  in rtl8192_process_phyinfo() 1719 	priv->stats.slide_rssi_total += prev_st->SignalStrength;  in rtl8192_process_phyinfo() 1721 	priv->stats.slide_signal_strength[slide_rssi_index++] =  in rtl8192_process_phyinfo() [all …] 
 | 
| /linux-4.1.27/sound/soc/fsl/ | 
| D | fsl_ssi_dbg.c | 22 		dbg->stats.rfrc++;  in fsl_ssi_dbg_isr() 25 		dbg->stats.tfrc++;  in fsl_ssi_dbg_isr() 28 		dbg->stats.cmdau++;  in fsl_ssi_dbg_isr() 31 		dbg->stats.cmddu++;  in fsl_ssi_dbg_isr() 34 		dbg->stats.rxt++;  in fsl_ssi_dbg_isr() 37 		dbg->stats.rdr1++;  in fsl_ssi_dbg_isr() 40 		dbg->stats.rdr0++;  in fsl_ssi_dbg_isr() 43 		dbg->stats.tde1++;  in fsl_ssi_dbg_isr() 46 		dbg->stats.tde0++;  in fsl_ssi_dbg_isr() 49 		dbg->stats.roe1++;  in fsl_ssi_dbg_isr() [all …] 
 | 
| /linux-4.1.27/drivers/infiniband/hw/cxgb4/ | 
| D | resource.c | 114 		mutex_lock(&rdev->stats.lock);  in c4iw_get_cqid() 115 		rdev->stats.qid.cur += rdev->qpmask + 1;  in c4iw_get_cqid() 116 		mutex_unlock(&rdev->stats.lock);  in c4iw_get_cqid() 145 	mutex_lock(&rdev->stats.lock);  in c4iw_get_cqid() 146 	if (rdev->stats.qid.cur > rdev->stats.qid.max)  in c4iw_get_cqid() 147 		rdev->stats.qid.max = rdev->stats.qid.cur;  in c4iw_get_cqid() 148 	mutex_unlock(&rdev->stats.lock);  in c4iw_get_cqid() 183 			mutex_lock(&rdev->stats.lock);  in c4iw_get_qpid() 184 			rdev->stats.qid.fail++;  in c4iw_get_qpid() 185 			mutex_unlock(&rdev->stats.lock);  in c4iw_get_qpid() [all …] 
 | 
| D | device.c | 464 			dev->rdev.stats.pd.total, dev->rdev.stats.pd.cur,  in stats_show() 465 			dev->rdev.stats.pd.max, dev->rdev.stats.pd.fail);  in stats_show() 467 			dev->rdev.stats.qid.total, dev->rdev.stats.qid.cur,  in stats_show() 468 			dev->rdev.stats.qid.max, dev->rdev.stats.qid.fail);  in stats_show() 470 			dev->rdev.stats.stag.total, dev->rdev.stats.stag.cur,  in stats_show() 471 			dev->rdev.stats.stag.max, dev->rdev.stats.stag.fail);  in stats_show() 473 			dev->rdev.stats.pbl.total, dev->rdev.stats.pbl.cur,  in stats_show() 474 			dev->rdev.stats.pbl.max, dev->rdev.stats.pbl.fail);  in stats_show() 476 			dev->rdev.stats.rqt.total, dev->rdev.stats.rqt.cur,  in stats_show() 477 			dev->rdev.stats.rqt.max, dev->rdev.stats.rqt.fail);  in stats_show() [all …] 
 | 
| D | provider.c | 240 	mutex_lock(&rhp->rdev.stats.lock);  in c4iw_deallocate_pd() 241 	rhp->rdev.stats.pd.cur--;  in c4iw_deallocate_pd() 242 	mutex_unlock(&rhp->rdev.stats.lock);  in c4iw_deallocate_pd() 273 	mutex_lock(&rhp->rdev.stats.lock);  in c4iw_allocate_pd() 274 	rhp->rdev.stats.pd.cur++;  in c4iw_allocate_pd() 275 	if (rhp->rdev.stats.pd.cur > rhp->rdev.stats.pd.max)  in c4iw_allocate_pd() 276 		rhp->rdev.stats.pd.max = rhp->rdev.stats.pd.cur;  in c4iw_allocate_pd() 277 	mutex_unlock(&rhp->rdev.stats.lock);  in c4iw_allocate_pd() 441 			union rdma_protocol_stats *stats)  in c4iw_get_mib()  argument 447 	memset(stats, 0, sizeof *stats);  in c4iw_get_mib() [all …] 
 | 
| /linux-4.1.27/drivers/scsi/fnic/ | 
| D | fnic_trace.c | 215 			struct fnic_stats *stats)  in fnic_get_stats_data()  argument 232 		  (u64)atomic64_read(&stats->io_stats.active_ios),  in fnic_get_stats_data() 233 		  (u64)atomic64_read(&stats->io_stats.max_active_ios),  in fnic_get_stats_data() 234 		  (u64)atomic64_read(&stats->io_stats.num_ios),  in fnic_get_stats_data() 235 		  (u64)atomic64_read(&stats->io_stats.io_completions),  in fnic_get_stats_data() 236 		  (u64)atomic64_read(&stats->io_stats.io_failures),  in fnic_get_stats_data() 237 		  (u64)atomic64_read(&stats->io_stats.io_not_found),  in fnic_get_stats_data() 238 		  (u64)atomic64_read(&stats->io_stats.alloc_failures),  in fnic_get_stats_data() 239 		  (u64)atomic64_read(&stats->io_stats.ioreq_null),  in fnic_get_stats_data() 240 		  (u64)atomic64_read(&stats->io_stats.sc_null));  in fnic_get_stats_data() [all …] 
 | 
| D | fnic_main.c | 193 	struct fc_host_statistics *stats = &lp->host_stats;  in fnic_get_stats()  local 198 		return stats;  in fnic_get_stats() 202 	ret = vnic_dev_stats_dump(fnic->vdev, &fnic->stats);  in fnic_get_stats() 209 		return stats;  in fnic_get_stats() 211 	vs = fnic->stats;  in fnic_get_stats() 212 	stats->tx_frames = vs->tx.tx_unicast_frames_ok;  in fnic_get_stats() 213 	stats->tx_words  = vs->tx.tx_unicast_bytes_ok / 4;  in fnic_get_stats() 214 	stats->rx_frames = vs->rx.rx_unicast_frames_ok;  in fnic_get_stats() 215 	stats->rx_words  = vs->rx.rx_unicast_bytes_ok / 4;  in fnic_get_stats() 216 	stats->error_frames = vs->tx.tx_errors + vs->rx.rx_errors;  in fnic_get_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ | 
| D | trx.c | 228 			rtlpriv->stats.rx_snr_db[i] =  in _rtl92de_query_rxphystatus() 271 		if (rtlpriv->stats.rx_rssi_percentage[rfpath] == 0) {  in rtl92d_loop_over_paths() 272 			rtlpriv->stats.rx_rssi_percentage[rfpath] =  in rtl92d_loop_over_paths() 277 		    rtlpriv->stats.rx_rssi_percentage[rfpath]) {  in rtl92d_loop_over_paths() 278 			rtlpriv->stats.rx_rssi_percentage[rfpath] =  in rtl92d_loop_over_paths() 279 			    ((rtlpriv->stats.rx_rssi_percentage[rfpath] *  in rtl92d_loop_over_paths() 283 			rtlpriv->stats.rx_rssi_percentage[rfpath] =  in rtl92d_loop_over_paths() 284 			    rtlpriv->stats.rx_rssi_percentage[rfpath] + 1;  in rtl92d_loop_over_paths() 286 			rtlpriv->stats.rx_rssi_percentage[rfpath] =  in rtl92d_loop_over_paths() 287 			    ((rtlpriv->stats.rx_rssi_percentage[rfpath] *  in rtl92d_loop_over_paths() [all …] 
 | 
| /linux-4.1.27/drivers/misc/ | 
| D | vmw_balloon.c | 207 	struct vmballoon_stats stats;  member 228 	STATS_INC(b->stats.start);  in vmballoon_send_start() 235 	STATS_INC(b->stats.start_fail);  in vmballoon_send_start() 266 	STATS_INC(b->stats.guest_type);  in vmballoon_send_guest_id() 272 	STATS_INC(b->stats.guest_type_fail);  in vmballoon_send_guest_id() 300 	STATS_INC(b->stats.target);  in vmballoon_send_get_target() 309 	STATS_INC(b->stats.target_fail);  in vmballoon_send_get_target() 328 	STATS_INC(b->stats.lock);  in vmballoon_send_lock_page() 335 	STATS_INC(b->stats.lock_fail);  in vmballoon_send_lock_page() 352 	STATS_INC(b->stats.unlock);  in vmballoon_send_unlock_page() [all …] 
 | 
| /linux-4.1.27/tools/perf/tests/ | 
| D | hists_filter.c | 149 				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);  in test__hists_filter() 153 				hists->stats.total_period == 1000);  in test__hists_filter() 155 				hists->stats.nr_events[PERF_RECORD_SAMPLE] ==  in test__hists_filter() 156 				hists->stats.nr_non_filtered_samples);  in test__hists_filter() 160 				hists->stats.total_period ==  in test__hists_filter() 161 				hists->stats.total_non_filtered_period);  in test__hists_filter() 174 				hists->stats.nr_events[PERF_RECORD_SAMPLE] == 10);  in test__hists_filter() 178 				hists->stats.total_period == 1000);  in test__hists_filter() 182 				hists->stats.nr_non_filtered_samples == 4);  in test__hists_filter() 186 				hists->stats.total_non_filtered_period == 400);  in test__hists_filter() [all …] 
 | 
| /linux-4.1.27/drivers/net/fddi/skfp/ | 
| D | skfddi.c | 687 …memcpy(bp->stats.smt_station_id, &bp->cmd_rsp_virt->smt_mib_get.smt_station_id, sizeof(bp->cmd_rsp…  in skfp_ctl_get_stats() 688 	bp->stats.smt_op_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_op_version_id;  in skfp_ctl_get_stats() 689 	bp->stats.smt_hi_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_hi_version_id;  in skfp_ctl_get_stats() 690 	bp->stats.smt_lo_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_lo_version_id;  in skfp_ctl_get_stats() 691 …memcpy(bp->stats.smt_user_data, &bp->cmd_rsp_virt->smt_mib_get.smt_user_data, sizeof(bp->cmd_rsp_v…  in skfp_ctl_get_stats() 692 	bp->stats.smt_mib_version_id = bp->cmd_rsp_virt->smt_mib_get.smt_mib_version_id;  in skfp_ctl_get_stats() 693 	bp->stats.smt_mac_cts = bp->cmd_rsp_virt->smt_mib_get.smt_mac_ct;  in skfp_ctl_get_stats() 694 	bp->stats.smt_non_master_cts = bp->cmd_rsp_virt->smt_mib_get.smt_non_master_ct;  in skfp_ctl_get_stats() 695 	bp->stats.smt_master_cts = bp->cmd_rsp_virt->smt_mib_get.smt_master_ct;  in skfp_ctl_get_stats() 696 	bp->stats.smt_available_paths = bp->cmd_rsp_virt->smt_mib_get.smt_available_paths;  in skfp_ctl_get_stats() [all …] 
 | 
| /linux-4.1.27/drivers/staging/lustre/lustre/include/ | 
| D | lprocfs_status.h | 383 extern int lprocfs_stats_alloc_one(struct lprocfs_stats *stats, 389 static inline int lprocfs_stats_lock(struct lprocfs_stats *stats, int opc,  in lprocfs_stats_lock()  argument 399 		if (stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) {  in lprocfs_stats_lock() 400 			if (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE)  in lprocfs_stats_lock() 401 				spin_lock_irqsave(&stats->ls_lock, *flags);  in lprocfs_stats_lock() 403 				spin_lock(&stats->ls_lock);  in lprocfs_stats_lock() 408 			if (unlikely(stats->ls_percpu[cpuid] == NULL)) {  in lprocfs_stats_lock() 409 				rc = lprocfs_stats_alloc_one(stats, cpuid);  in lprocfs_stats_lock() 419 		if (stats->ls_flags & LPROCFS_STATS_FLAG_NOPERCPU) {  in lprocfs_stats_lock() 420 			if (stats->ls_flags & LPROCFS_STATS_FLAG_IRQ_SAFE)  in lprocfs_stats_lock() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/ath/ath6kl/ | 
| D | main.c | 702 	struct target_stats *stats = &vif->target_stats;  in ath6kl_update_target_stats()  local 712 	stats->tx_pkt += le32_to_cpu(tgt_stats->stats.tx.pkt);  in ath6kl_update_target_stats() 713 	stats->tx_byte += le32_to_cpu(tgt_stats->stats.tx.byte);  in ath6kl_update_target_stats() 714 	stats->tx_ucast_pkt += le32_to_cpu(tgt_stats->stats.tx.ucast_pkt);  in ath6kl_update_target_stats() 715 	stats->tx_ucast_byte += le32_to_cpu(tgt_stats->stats.tx.ucast_byte);  in ath6kl_update_target_stats() 716 	stats->tx_mcast_pkt += le32_to_cpu(tgt_stats->stats.tx.mcast_pkt);  in ath6kl_update_target_stats() 717 	stats->tx_mcast_byte += le32_to_cpu(tgt_stats->stats.tx.mcast_byte);  in ath6kl_update_target_stats() 718 	stats->tx_bcast_pkt  += le32_to_cpu(tgt_stats->stats.tx.bcast_pkt);  in ath6kl_update_target_stats() 719 	stats->tx_bcast_byte += le32_to_cpu(tgt_stats->stats.tx.bcast_byte);  in ath6kl_update_target_stats() 720 	stats->tx_rts_success_cnt +=  in ath6kl_update_target_stats() [all …] 
 | 
| /linux-4.1.27/net/irda/ | 
| D | wrapper.c | 209 	   struct net_device_stats *stats,  in async_bump()  argument 228 		stats->rx_dropped++;  in async_bump() 265 	stats->rx_packets++;  in async_bump() 266 	stats->rx_bytes += rx_buff->len;  in async_bump() 281 		 struct net_device_stats *stats,  in async_unwrap_bof()  argument 291 		stats->rx_errors++;  in async_unwrap_bof() 292 		stats->rx_missed_errors++;  in async_unwrap_bof() 321 		 struct net_device_stats *stats,  in async_unwrap_eof()  argument 331 		stats->rx_errors++;  in async_unwrap_eof() 332 		stats->rx_missed_errors++;  in async_unwrap_eof() [all …] 
 | 
| /linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ | 
| D | ebb.c | 76 	count = ebb_state.stats.pmc_count[PMC_INDEX(pmc)];  in ebb_check_count() 78 	lower = ebb_state.stats.ebb_count * (sample_period - fudge);  in ebb_check_count() 86 	upper = ebb_state.stats.ebb_count * (sample_period + fudge);  in ebb_check_count() 107 		ebb_state.stats.spurious++;  in standard_ebb_callee() 111 	ebb_state.stats.ebb_count++;  in standard_ebb_callee() 112 	trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count);  in standard_ebb_callee() 124 		ebb_state.stats.no_overflow++;  in standard_ebb_callee() 162 	memset(&ebb_state.stats, 0, sizeof(ebb_state.stats));  in clear_ebb_stats() 178 		ebb_state.stats.ebb_count, ebb_state.stats.spurious,  in dump_summary_ebb_state() 179 		ebb_state.stats.negative, ebb_state.stats.no_overflow,  in dump_summary_ebb_state() [all …] 
 | 
| D | back_to_back_ebbs_test.c | 33 		ebb_state.stats.spurious++;  in ebb_callee() 37 	ebb_state.stats.ebb_count++;  in ebb_callee() 38 	trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count);  in ebb_callee() 44 	if (ebb_state.stats.ebb_count == NUMBER_OF_EBBS)  in ebb_callee() 86 	while (ebb_state.stats.ebb_count < NUMBER_OF_EBBS)  in back_to_back_ebbs() 98 	FAIL_IF(ebb_state.stats.ebb_count != NUMBER_OF_EBBS);  in back_to_back_ebbs()
  | 
| D | cycles_with_freeze_test.c | 32 		ebb_state.stats.spurious++;  in ebb_callee() 36 	ebb_state.stats.ebb_count++;  in ebb_callee() 37 	trace_log_counter(ebb_state.trace, ebb_state.stats.ebb_count);  in ebb_callee() 77 	while ((ebb_state.stats.ebb_count < 20 && !fc_cleared) ||  in cycles_with_freeze() 78 		ebb_state.stats.ebb_count < 1)  in cycles_with_freeze() 108 	FAIL_IF(ebb_state.stats.ebb_count == 0);  in cycles_with_freeze()
  | 
| D | pmc56_overflow_test.c | 25 		ebb_state.stats.spurious++;  in ebb_callee() 29 	ebb_state.stats.ebb_count++;  in ebb_callee() 71 	while (ebb_state.stats.ebb_count < 10)  in pmc56_overflow() 85 	FAIL_IF(ebb_state.stats.ebb_count == 0 || pmc56_overflowed != 0);  in pmc56_overflow()
  | 
| D | pmae_handling_test.c | 37 		ebb_state.stats.spurious++;  in syscall_ebb_callee() 41 	ebb_state.stats.ebb_count++;  in syscall_ebb_callee() 77 	while (ebb_state.stats.ebb_count < 20 && !mmcr0_mismatch)  in test_body() 92 	FAIL_IF(ebb_state.stats.ebb_count == 0);  in test_body()
  | 
| /linux-4.1.27/net/tipc/ | 
| D | netlink_compat.c | 414 				struct nlattr *prop[], struct nlattr *stats[])  in __fill_bc_link_stat()  argument 421 			 nla_get_u32(stats[TIPC_NLA_STATS_RX_INFO]),  in __fill_bc_link_stat() 422 			 nla_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTS]),  in __fill_bc_link_stat() 423 			 nla_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTED]),  in __fill_bc_link_stat() 424 			 nla_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLES]),  in __fill_bc_link_stat() 425 			 nla_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLED]));  in __fill_bc_link_stat() 429 			 nla_get_u32(stats[TIPC_NLA_STATS_TX_INFO]),  in __fill_bc_link_stat() 430 			 nla_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTS]),  in __fill_bc_link_stat() 431 			 nla_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTED]),  in __fill_bc_link_stat() 432 			 nla_get_u32(stats[TIPC_NLA_STATS_TX_BUNDLES]),  in __fill_bc_link_stat() [all …] 
 | 
| D | bcast.c | 310 		tn->bcl->stats.sent_nacks++;  in tipc_bclink_update_link_state() 373 				bcl->stats.queue_sz_counts++;  in tipc_bclink_xmit() 374 				bcl->stats.accu_queue_sz += len;  in tipc_bclink_xmit() 408 	tn->bcl->stats.recv_info++;  in bclink_accept_pkt() 417 		tn->bcl->stats.sent_acks++;  in bclink_accept_pkt() 458 			bcl->stats.recv_nacks++;  in tipc_bclink_rcv() 493 			bcl->stats.recv_bundles++;  in tipc_bclink_rcv() 494 			bcl->stats.recv_bundled += msg_msgcnt(msg);  in tipc_bclink_rcv() 512 			bcl->stats.recv_fragments++;  in tipc_bclink_rcv() 514 				bcl->stats.recv_fragmented++;  in tipc_bclink_rcv() [all …] 
 | 
| /linux-4.1.27/net/core/ | 
| D | net-procfs.c | 80 	const struct rtnl_link_stats64 *stats = dev_get_stats(dev, &temp);  in dev_seq_printf_stats()  local 84 		   dev->name, stats->rx_bytes, stats->rx_packets,  in dev_seq_printf_stats() 85 		   stats->rx_errors,  in dev_seq_printf_stats() 86 		   stats->rx_dropped + stats->rx_missed_errors,  in dev_seq_printf_stats() 87 		   stats->rx_fifo_errors,  in dev_seq_printf_stats() 88 		   stats->rx_length_errors + stats->rx_over_errors +  in dev_seq_printf_stats() 89 		    stats->rx_crc_errors + stats->rx_frame_errors,  in dev_seq_printf_stats() 90 		   stats->rx_compressed, stats->multicast,  in dev_seq_printf_stats() 91 		   stats->tx_bytes, stats->tx_packets,  in dev_seq_printf_stats() 92 		   stats->tx_errors, stats->tx_dropped,  in dev_seq_printf_stats() [all …] 
 | 
| /linux-4.1.27/arch/s390/appldata/ | 
| D | appldata_net_sum.c | 86 		const struct rtnl_link_stats64 *stats;  in appldata_get_net_sum_data()  local 89 		stats = dev_get_stats(dev, &temp);  in appldata_get_net_sum_data() 90 		rx_packets += stats->rx_packets;  in appldata_get_net_sum_data() 91 		tx_packets += stats->tx_packets;  in appldata_get_net_sum_data() 92 		rx_bytes   += stats->rx_bytes;  in appldata_get_net_sum_data() 93 		tx_bytes   += stats->tx_bytes;  in appldata_get_net_sum_data() 94 		rx_errors  += stats->rx_errors;  in appldata_get_net_sum_data() 95 		tx_errors  += stats->tx_errors;  in appldata_get_net_sum_data() 96 		rx_dropped += stats->rx_dropped;  in appldata_get_net_sum_data() 97 		tx_dropped += stats->tx_dropped;  in appldata_get_net_sum_data() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/arc/ | 
| D | emac_main.c | 156 	struct net_device_stats *stats = &ndev->stats;  in arc_emac_tx_clean()  local 170 			stats->tx_errors++;  in arc_emac_tx_clean() 171 			stats->tx_dropped++;  in arc_emac_tx_clean() 174 				stats->tx_carrier_errors++;  in arc_emac_tx_clean() 177 				stats->collisions++;  in arc_emac_tx_clean() 180 				stats->tx_fifo_errors++;  in arc_emac_tx_clean() 182 			stats->tx_packets++;  in arc_emac_tx_clean() 183 			stats->tx_bytes += skb->len;  in arc_emac_tx_clean() 223 		struct net_device_stats *stats = &ndev->stats;  in arc_emac_rx()  local 248 			stats->rx_errors++;  in arc_emac_rx() [all …] 
 | 
| /linux-4.1.27/fs/cachefiles/ | 
| D | bind.c | 88 	struct kstatfs stats;  in cachefiles_daemon_add_cache()  local 146 	ret = vfs_statfs(&path, &stats);  in cachefiles_daemon_add_cache() 151 	if (stats.f_bsize <= 0)  in cachefiles_daemon_add_cache() 155 	if (stats.f_bsize > PAGE_SIZE)  in cachefiles_daemon_add_cache() 158 	cache->bsize = stats.f_bsize;  in cachefiles_daemon_add_cache() 160 	if (stats.f_bsize < PAGE_SIZE)  in cachefiles_daemon_add_cache() 161 		cache->bshift = PAGE_SHIFT - ilog2(stats.f_bsize);  in cachefiles_daemon_add_cache() 167 	       (unsigned long long) stats.f_blocks,  in cachefiles_daemon_add_cache() 168 	       (unsigned long long) stats.f_bavail);  in cachefiles_daemon_add_cache() 171 	do_div(stats.f_files, 100);  in cachefiles_daemon_add_cache() [all …] 
 | 
| D | daemon.c | 677 	struct kstatfs stats;  in cachefiles_has_space()  local 694 	memset(&stats, 0, sizeof(stats));  in cachefiles_has_space() 696 	ret = vfs_statfs(&path, &stats);  in cachefiles_has_space() 704 	stats.f_bavail >>= cache->bshift;  in cachefiles_has_space() 711 	if (stats.f_ffree > fnr)  in cachefiles_has_space() 712 		stats.f_ffree -= fnr;  in cachefiles_has_space() 714 		stats.f_ffree = 0;  in cachefiles_has_space() 716 	if (stats.f_bavail > bnr)  in cachefiles_has_space() 717 		stats.f_bavail -= bnr;  in cachefiles_has_space() 719 		stats.f_bavail = 0;  in cachefiles_has_space() [all …] 
 | 
| /linux-4.1.27/drivers/net/can/ | 
| D | vcan.c | 72 	struct net_device_stats *stats = &dev->stats;  in vcan_rx()  local 74 	stats->rx_packets++;  in vcan_rx() 75 	stats->rx_bytes += cfd->len;  in vcan_rx() 87 	struct net_device_stats *stats = &dev->stats;  in vcan_tx()  local 93 	stats->tx_packets++;  in vcan_tx() 94 	stats->tx_bytes += cfd->len;  in vcan_tx() 107 			stats->rx_packets++;  in vcan_tx() 108 			stats->rx_bytes += cfd->len;  in vcan_tx()
  | 
| D | xilinx_can.c | 391 	struct net_device_stats *stats = &ndev->stats;  in xcan_start_xmit()  local 453 		stats->tx_bytes += cf->can_dlc;  in xcan_start_xmit() 476 	struct net_device_stats *stats = &ndev->stats;  in xcan_rx()  local 483 		stats->rx_dropped++;  in xcan_rx() 524 	stats->rx_bytes += cf->can_dlc;  in xcan_rx() 525 	stats->rx_packets++;  in xcan_rx() 543 	struct net_device_stats *stats = &ndev->stats;  in xcan_err_interrupt()  local 600 		stats->rx_over_errors++;  in xcan_err_interrupt() 601 		stats->rx_errors++;  in xcan_err_interrupt() 618 			stats->tx_errors++;  in xcan_err_interrupt() [all …] 
 | 
| D | at91_can.c | 477 	struct net_device_stats *stats = &dev->stats;  in at91_start_xmit()  local 509 	stats->tx_bytes += cf->can_dlc;  in at91_start_xmit() 566 	struct net_device_stats *stats = &dev->stats;  in at91_rx_overflow_err()  local 571 	stats->rx_over_errors++;  in at91_rx_overflow_err() 572 	stats->rx_errors++;  in at91_rx_overflow_err() 582 	stats->rx_packets++;  in at91_rx_overflow_err() 583 	stats->rx_bytes += cf->can_dlc;  in at91_rx_overflow_err() 634 	struct net_device_stats *stats = &dev->stats;  in at91_read_msg()  local 640 		stats->rx_dropped++;  in at91_read_msg() 647 	stats->rx_packets++;  in at91_read_msg() [all …] 
 | 
| /linux-4.1.27/drivers/net/fddi/ | 
| D | defxx.c | 2079 	bp->stats.gen.rx_packets = bp->rcv_total_frames;  in dfx_ctl_get_stats() 2080 	bp->stats.gen.tx_packets = bp->xmt_total_frames;  in dfx_ctl_get_stats() 2081 	bp->stats.gen.rx_bytes   = bp->rcv_total_bytes;  in dfx_ctl_get_stats() 2082 	bp->stats.gen.tx_bytes   = bp->xmt_total_bytes;  in dfx_ctl_get_stats() 2083 	bp->stats.gen.rx_errors  = bp->rcv_crc_errors +  in dfx_ctl_get_stats() 2086 	bp->stats.gen.tx_errors  = bp->xmt_length_errors;  in dfx_ctl_get_stats() 2087 	bp->stats.gen.rx_dropped = bp->rcv_discards;  in dfx_ctl_get_stats() 2088 	bp->stats.gen.tx_dropped = bp->xmt_discards;  in dfx_ctl_get_stats() 2089 	bp->stats.gen.multicast  = bp->rcv_multicast_frames;  in dfx_ctl_get_stats() 2090 	bp->stats.gen.collisions = 0;		/* always zero (0) for FDDI */  in dfx_ctl_get_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ | 
| D | en_port.c | 155 	struct net_device_stats *stats = &priv->stats;  in mlx4_en_DUMP_ETH_STATS()  local 174 	stats->rx_packets = 0;  in mlx4_en_DUMP_ETH_STATS() 175 	stats->rx_bytes = 0;  in mlx4_en_DUMP_ETH_STATS() 180 		stats->rx_packets += priv->rx_ring[i]->packets;  in mlx4_en_DUMP_ETH_STATS() 181 		stats->rx_bytes += priv->rx_ring[i]->bytes;  in mlx4_en_DUMP_ETH_STATS() 186 	stats->tx_packets = 0;  in mlx4_en_DUMP_ETH_STATS() 187 	stats->tx_bytes = 0;  in mlx4_en_DUMP_ETH_STATS() 197 		stats->tx_packets += ring->packets;  in mlx4_en_DUMP_ETH_STATS() 198 		stats->tx_bytes += ring->bytes;  in mlx4_en_DUMP_ETH_STATS() 207 	stats->rx_errors = be64_to_cpu(mlx4_en_stats->PCS) +  in mlx4_en_DUMP_ETH_STATS() [all …] 
 | 
| /linux-4.1.27/drivers/media/dvb-frontends/ | 
| D | tc90522.c | 208 	struct dtv_fe_stats *stats;  in tc90522s_get_frontend()  local 248 	stats = &c->strength;  in tc90522s_get_frontend() 249 	stats->len = 0;  in tc90522s_get_frontend() 257 	stats = &c->cnr;  in tc90522s_get_frontend() 258 	stats->len = 1;  in tc90522s_get_frontend() 259 	stats->stat[0].scale = FE_SCALE_NOT_AVAILABLE;  in tc90522s_get_frontend() 284 		stats->stat[0].svalue = cn >> 3;  in tc90522s_get_frontend() 285 		stats->stat[0].scale = FE_SCALE_DECIBEL;  in tc90522s_get_frontend() 289 	stats = &c->post_bit_error;  in tc90522s_get_frontend() 290 	memset(stats, 0, sizeof(*stats));  in tc90522s_get_frontend() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ | 
| D | trx.c | 305 			   struct rtl_stats *stats,  in rtl92cu_rx_query_desc()  argument 313 	stats->length = (u16) GET_RX_DESC_PKT_LEN(pdesc);  in rtl92cu_rx_query_desc() 314 	stats->rx_drvinfo_size = (u8)GET_RX_DESC_DRVINFO_SIZE(pdesc) *  in rtl92cu_rx_query_desc() 316 	stats->rx_bufshift = (u8) (GET_RX_DESC_SHIFT(pdesc) & 0x03);  in rtl92cu_rx_query_desc() 317 	stats->icv = (u16) GET_RX_DESC_ICV(pdesc);  in rtl92cu_rx_query_desc() 318 	stats->crc = (u16) GET_RX_DESC_CRC32(pdesc);  in rtl92cu_rx_query_desc() 319 	stats->hwerror = (stats->crc | stats->icv);  in rtl92cu_rx_query_desc() 320 	stats->decrypted = !GET_RX_DESC_SWDEC(pdesc);  in rtl92cu_rx_query_desc() 321 	stats->rate = (u8) GET_RX_DESC_RX_MCS(pdesc);  in rtl92cu_rx_query_desc() 322 	stats->shortpreamble = (u16) GET_RX_DESC_SPLCP(pdesc);  in rtl92cu_rx_query_desc() [all …] 
 | 
| /linux-4.1.27/drivers/crypto/nx/ | 
| D | nx_debugfs.c | 54 				   dfs->dfs_root, (u32 *)&drv->stats.aes_ops);  in nx_debugfs_init() 59 				   (u32 *)&drv->stats.sha256_ops);  in nx_debugfs_init() 64 				   (u32 *)&drv->stats.sha512_ops);  in nx_debugfs_init() 69 				   (u64 *)&drv->stats.aes_bytes);  in nx_debugfs_init() 74 				   (u64 *)&drv->stats.sha256_bytes);  in nx_debugfs_init() 79 				   (u64 *)&drv->stats.sha512_bytes);  in nx_debugfs_init() 83 				   dfs->dfs_root, (u32 *)&drv->stats.errors);  in nx_debugfs_init() 88 				   (u32 *)&drv->stats.last_error);  in nx_debugfs_init() 93 				   (u32 *)&drv->stats.last_error_pid);  in nx_debugfs_init()
  | 
| /linux-4.1.27/drivers/net/ethernet/sun/ | 
| D | sunqe.c | 264 		dev->stats.tx_errors++;  in qe_is_bolixed() 269 		dev->stats.tx_errors++;  in qe_is_bolixed() 270 		dev->stats.tx_carrier_errors++;  in qe_is_bolixed() 275 		dev->stats.tx_errors++;  in qe_is_bolixed() 281 		dev->stats.tx_errors++;  in qe_is_bolixed() 282 		dev->stats.collisions++;  in qe_is_bolixed() 288 		dev->stats.tx_errors++;  in qe_is_bolixed() 301 		dev->stats.tx_errors += 256;  in qe_is_bolixed() 302 		dev->stats.collisions += 256;  in qe_is_bolixed() 307 		dev->stats.tx_errors++;  in qe_is_bolixed() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ | 
| D | debugfs.c | 148 	struct mlx5_cmd_stats *stats;  in average_read()  local 156 	stats = filp->private_data;  in average_read() 157 	spin_lock_irq(&stats->lock);  in average_read() 158 	if (stats->n)  in average_read() 159 		field = div64_u64(stats->sum, stats->n);  in average_read() 160 	spin_unlock_irq(&stats->lock);  in average_read() 175 	struct mlx5_cmd_stats *stats;  in average_write()  local 177 	stats = filp->private_data;  in average_write() 178 	spin_lock_irq(&stats->lock);  in average_write() 179 	stats->sum = 0;  in average_write() [all …] 
 | 
| /linux-4.1.27/include/linux/ | 
| D | uwb.h | 765 struct stats {  struct 772 void stats_init(struct stats *stats)  in stats_init()  argument 774 	atomic_set(&stats->samples, 0);  in stats_init() 779 void stats_add_sample(struct stats *stats, s8 sample)  in stats_add_sample()  argument 783 	unsigned samples = atomic_read(&stats->samples);  in stats_add_sample() 789 		min = stats->min;  in stats_add_sample() 790 		max = stats->max;  in stats_add_sample() 791 		sigma = stats->sigma;  in stats_add_sample() 800 	stats->min = min;	/* commit */  in stats_add_sample() 801 	stats->max = max;  in stats_add_sample() [all …] 
 | 
| D | tsacct_kern.h | 15 			  struct taskstats *stats, struct task_struct *tsk); 19 				 struct taskstats *stats, struct task_struct *tsk)  in bacct_add_tsk()  argument 24 extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p); 29 static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p)  in xacct_add_tsk()  argument
  | 
| /linux-4.1.27/net/openvswitch/ | 
| D | vport.c | 291 void ovs_vport_get_stats(struct vport *vport, struct ovs_vport_stats *stats)  in ovs_vport_get_stats()  argument 295 	memset(stats, 0, sizeof(*stats));  in ovs_vport_get_stats() 306 	stats->rx_errors  = atomic_long_read(&vport->err_stats.rx_errors);  in ovs_vport_get_stats() 307 	stats->tx_errors  = atomic_long_read(&vport->err_stats.tx_errors);  in ovs_vport_get_stats() 308 	stats->tx_dropped = atomic_long_read(&vport->err_stats.tx_dropped);  in ovs_vport_get_stats() 309 	stats->rx_dropped = atomic_long_read(&vport->err_stats.rx_dropped);  in ovs_vport_get_stats() 323 		stats->rx_bytes		+= local_stats.rx_bytes;  in ovs_vport_get_stats() 324 		stats->rx_packets	+= local_stats.rx_packets;  in ovs_vport_get_stats() 325 		stats->tx_bytes		+= local_stats.tx_bytes;  in ovs_vport_get_stats() 326 		stats->tx_packets	+= local_stats.tx_packets;  in ovs_vport_get_stats() [all …] 
 | 
| D | flow.c | 71 	struct flow_stats *stats;  in ovs_flow_stats_update()  local 75 	stats = rcu_dereference(flow->stats[node]);  in ovs_flow_stats_update() 78 	if (likely(stats)) {  in ovs_flow_stats_update() 79 		spin_lock(&stats->lock);  in ovs_flow_stats_update() 84 		stats = rcu_dereference(flow->stats[0]); /* Pre-allocated. */  in ovs_flow_stats_update() 85 		spin_lock(&stats->lock);  in ovs_flow_stats_update() 97 			    && likely(!rcu_access_pointer(flow->stats[node]))) {  in ovs_flow_stats_update() 115 					rcu_assign_pointer(flow->stats[node],  in ovs_flow_stats_update() 124 	stats->used = jiffies;  in ovs_flow_stats_update() 125 	stats->packet_count++;  in ovs_flow_stats_update() [all …] 
 | 
| D | vport-internal_dev.c | 48 							struct rtnl_link_stats64 *stats)  in internal_dev_get_stats()  argument 57 	stats->rx_packets	= vport_stats.tx_packets;  in internal_dev_get_stats() 58 	stats->tx_packets	= vport_stats.rx_packets;  in internal_dev_get_stats() 59 	stats->rx_bytes		= vport_stats.tx_bytes;  in internal_dev_get_stats() 60 	stats->tx_bytes		= vport_stats.rx_bytes;  in internal_dev_get_stats() 61 	stats->rx_errors	= vport_stats.tx_errors;  in internal_dev_get_stats() 62 	stats->tx_errors	= vport_stats.rx_errors;  in internal_dev_get_stats() 63 	stats->rx_dropped	= vport_stats.tx_dropped;  in internal_dev_get_stats() 64 	stats->tx_dropped	= vport_stats.rx_dropped;  in internal_dev_get_stats() 66 	return stats;  in internal_dev_get_stats()
  | 
| /linux-4.1.27/drivers/net/ethernet/intel/ixgb/ | 
| D | ixgb_main.c | 1606 	return &netdev->stats;  in ixgb_get_stats() 1675 		adapter->stats.mprcl += (multi & 0xFFFFFFFF);  in ixgb_update_stats() 1676 		adapter->stats.mprch += (multi >> 32);  in ixgb_update_stats() 1677 		adapter->stats.bprcl += bcast_l;  in ixgb_update_stats() 1678 		adapter->stats.bprch += bcast_h;  in ixgb_update_stats() 1680 		adapter->stats.mprcl += IXGB_READ_REG(&adapter->hw, MPRCL);  in ixgb_update_stats() 1681 		adapter->stats.mprch += IXGB_READ_REG(&adapter->hw, MPRCH);  in ixgb_update_stats() 1682 		adapter->stats.bprcl += IXGB_READ_REG(&adapter->hw, BPRCL);  in ixgb_update_stats() 1683 		adapter->stats.bprch += IXGB_READ_REG(&adapter->hw, BPRCH);  in ixgb_update_stats() 1685 	adapter->stats.tprl += IXGB_READ_REG(&adapter->hw, TPRL);  in ixgb_update_stats() [all …] 
 | 
| D | ixgb_ethtool.c | 54 	{"rx_packets", IXGB_NETDEV_STAT(stats.rx_packets)}, 55 	{"tx_packets", IXGB_NETDEV_STAT(stats.tx_packets)}, 56 	{"rx_bytes", IXGB_NETDEV_STAT(stats.rx_bytes)}, 57 	{"tx_bytes", IXGB_NETDEV_STAT(stats.tx_bytes)}, 58 	{"rx_errors", IXGB_NETDEV_STAT(stats.rx_errors)}, 59 	{"tx_errors", IXGB_NETDEV_STAT(stats.tx_errors)}, 60 	{"rx_dropped", IXGB_NETDEV_STAT(stats.rx_dropped)}, 61 	{"tx_dropped", IXGB_NETDEV_STAT(stats.tx_dropped)}, 62 	{"multicast", IXGB_NETDEV_STAT(stats.multicast)}, 63 	{"collisions", IXGB_NETDEV_STAT(stats.collisions)}, [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ | 
| D | trx.c | 181 			rtlpriv->stats.rx_snr_db[i] =  in _rtl92se_query_rxphystatus() 260 bool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,  in rtl92se_rx_query_desc()  argument 268 	stats->length = (u16)GET_RX_STATUS_DESC_PKT_LEN(pdesc);  in rtl92se_rx_query_desc() 269 	stats->rx_drvinfo_size = (u8)GET_RX_STATUS_DESC_DRVINFO_SIZE(pdesc) * 8;  in rtl92se_rx_query_desc() 270 	stats->rx_bufshift = (u8)(GET_RX_STATUS_DESC_SHIFT(pdesc) & 0x03);  in rtl92se_rx_query_desc() 271 	stats->icv = (u16)GET_RX_STATUS_DESC_ICV(pdesc);  in rtl92se_rx_query_desc() 272 	stats->crc = (u16)GET_RX_STATUS_DESC_CRC32(pdesc);  in rtl92se_rx_query_desc() 273 	stats->hwerror = (u16)(stats->crc | stats->icv);  in rtl92se_rx_query_desc() 274 	stats->decrypted = !GET_RX_STATUS_DESC_SWDEC(pdesc);  in rtl92se_rx_query_desc() 276 	stats->rate = (u8)GET_RX_STATUS_DESC_RX_MCS(pdesc);  in rtl92se_rx_query_desc() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/ath/ath9k/ | 
| D | debug.c | 32 		sc->debug.stats.istats.sync_cause_all++;  in ath9k_debug_sync_cause() 34 		sc->debug.stats.istats.sync_rtc_irq++;  in ath9k_debug_sync_cause() 36 		sc->debug.stats.istats.sync_mac_irq++;  in ath9k_debug_sync_cause() 38 		sc->debug.stats.istats.eeprom_illegal_access++;  in ath9k_debug_sync_cause() 40 		sc->debug.stats.istats.apb_timeout++;  in ath9k_debug_sync_cause() 42 		sc->debug.stats.istats.pci_mode_conflict++;  in ath9k_debug_sync_cause() 44 		sc->debug.stats.istats.host1_fatal++;  in ath9k_debug_sync_cause() 46 		sc->debug.stats.istats.host1_perr++;  in ath9k_debug_sync_cause() 48 		sc->debug.stats.istats.trcv_fifo_perr++;  in ath9k_debug_sync_cause() 50 		sc->debug.stats.istats.radm_cpl_ep++;  in ath9k_debug_sync_cause() [all …] 
 | 
| D | debug.h | 28 #define TX_STAT_INC(q, c) sc->debug.stats.txstats[q].c++ 29 #define RX_STAT_INC(c) (sc->debug.stats.rxstats.c++) 30 #define RESET_STAT_INC(sc, type) sc->debug.stats.reset[type]++ 31 #define ANT_STAT_INC(i, c) sc->debug.stats.ant_stats[i].c++ 32 #define ANT_LNA_INC(i, c) sc->debug.stats.ant_stats[i].lna_recv_cnt[c]++; 196 #define TXSTATS sc->debug.stats.txstats 246 	struct ath_stats stats;  member 261 			struct ethtool_stats *stats, u64 *data);
  | 
| /linux-4.1.27/drivers/net/ | 
| D | nlmon.c | 18 	struct pcpu_lstats *stats = this_cpu_ptr(dev->lstats);  in nlmon_xmit()  local 20 	u64_stats_update_begin(&stats->syncp);  in nlmon_xmit() 21 	stats->bytes += len;  in nlmon_xmit() 22 	stats->packets++;  in nlmon_xmit() 23 	u64_stats_update_end(&stats->syncp);  in nlmon_xmit() 80 nlmon_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)  in nlmon_get_stats64()  argument 102 	stats->rx_packets = packets;  in nlmon_get_stats64() 103 	stats->tx_packets = 0;  in nlmon_get_stats64() 105 	stats->rx_bytes = bytes;  in nlmon_get_stats64() 106 	stats->tx_bytes = 0;  in nlmon_get_stats64() [all …] 
 | 
| D | ntb_netdev.c | 114 		ndev->stats.rx_errors++;  in ntb_netdev_rx_handler() 115 		ndev->stats.rx_dropped++;  in ntb_netdev_rx_handler() 117 		ndev->stats.rx_packets++;  in ntb_netdev_rx_handler() 118 		ndev->stats.rx_bytes += len;  in ntb_netdev_rx_handler() 123 		ndev->stats.rx_errors++;  in ntb_netdev_rx_handler() 124 		ndev->stats.rx_frame_errors++;  in ntb_netdev_rx_handler() 131 		ndev->stats.rx_errors++;  in ntb_netdev_rx_handler() 132 		ndev->stats.rx_fifo_errors++;  in ntb_netdev_rx_handler() 147 		ndev->stats.tx_packets++;  in ntb_netdev_tx_handler() 148 		ndev->stats.tx_bytes += skb->len;  in ntb_netdev_tx_handler() [all …] 
 | 
| D | ifb.c | 97 			_dev->stats.tx_dropped++;  in ri_tasklet() 133 					     struct rtnl_link_stats64 *stats)  in ifb_stats64()  argument 140 		stats->rx_packets = dp->rx_packets;  in ifb_stats64() 141 		stats->rx_bytes = dp->rx_bytes;  in ifb_stats64() 147 		stats->tx_packets = dp->tx_packets;  in ifb_stats64() 148 		stats->tx_bytes = dp->tx_bytes;  in ifb_stats64() 152 	stats->rx_dropped = dev->stats.rx_dropped;  in ifb_stats64() 153 	stats->tx_dropped = dev->stats.tx_dropped;  in ifb_stats64() 155 	return stats;  in ifb_stats64() 205 		dev->stats.rx_dropped++;  in ifb_xmit()
  | 
| D | loopback.c | 101 						      struct rtnl_link_stats64 *stats)  in loopback_get_stats64()  argument 121 	stats->rx_packets = packets;  in loopback_get_stats64() 122 	stats->tx_packets = packets;  in loopback_get_stats64() 123 	stats->rx_bytes   = bytes;  in loopback_get_stats64() 124 	stats->tx_bytes   = bytes;  in loopback_get_stats64() 125 	return stats;  in loopback_get_stats64()
  | 
| D | sb1000.c | 752 	struct net_device_stats *stats = &dev->stats;  in sb1000_rx()  local 795 	stats->rx_frame_errors++;  in sb1000_rx() 820 			stats->rx_length_errors++;  in sb1000_rx() 830 			stats->rx_length_errors++;  in sb1000_rx() 841 			stats->rx_dropped++;  in sb1000_rx() 859 			stats->rx_length_errors++;  in sb1000_rx() 876 	stats->rx_bytes+=dlen;  in sb1000_rx() 877 	stats->rx_packets++;  in sb1000_rx() 887 	stats->rx_frame_errors++;  in sb1000_rx() 892 	stats->rx_errors++;  in sb1000_rx() [all …] 
 | 
| D | veth.c | 91 		struct ethtool_stats *stats, u64 *data)  in veth_get_ethtool_stats()  argument 122 		struct pcpu_vstats *stats = this_cpu_ptr(dev->vstats);  in veth_xmit()  local 124 		u64_stats_update_begin(&stats->syncp);  in veth_xmit() 125 		stats->bytes += length;  in veth_xmit() 126 		stats->packets++;  in veth_xmit() 127 		u64_stats_update_end(&stats->syncp);  in veth_xmit() 148 		struct pcpu_vstats *stats = per_cpu_ptr(dev->vstats, cpu);  in veth_stats_one()  local 153 			start = u64_stats_fetch_begin_irq(&stats->syncp);  in veth_stats_one() 154 			packets = stats->packets;  in veth_stats_one() 155 			bytes = stats->bytes;  in veth_stats_one() [all …] 
 | 
| D | virtio_net.c | 130 	struct virtnet_stats __percpu *stats;  member 339 	dev->stats.rx_dropped++;  in receive_big() 372 			dev->stats.rx_length_errors++;  in receive_mergeable() 420 			dev->stats.rx_length_errors++;  in receive_mergeable() 427 	dev->stats.rx_dropped++;  in receive_mergeable() 436 	struct virtnet_stats *stats = this_cpu_ptr(vi->stats);  in receive_buf()  local 442 		dev->stats.rx_length_errors++;  in receive_buf() 467 	u64_stats_update_begin(&stats->rx_syncp);  in receive_buf() 468 	stats->rx_bytes += skb->len;  in receive_buf() 469 	stats->rx_packets++;  in receive_buf() [all …] 
 | 
| /linux-4.1.27/drivers/md/ | 
| D | dm-stats.c | 187 void dm_stats_init(struct dm_stats *stats)  in dm_stats_init()  argument 192 	mutex_init(&stats->mutex);  in dm_stats_init() 193 	INIT_LIST_HEAD(&stats->list);  in dm_stats_init() 194 	stats->last = alloc_percpu(struct dm_stats_last_position);  in dm_stats_init() 196 		last = per_cpu_ptr(stats->last, cpu);  in dm_stats_init() 202 void dm_stats_cleanup(struct dm_stats *stats)  in dm_stats_cleanup()  argument 208 	while (!list_empty(&stats->list)) {  in dm_stats_cleanup() 209 		s = container_of(stats->list.next, struct dm_stat, list_entry);  in dm_stats_cleanup() 226 	free_percpu(stats->last);  in dm_stats_cleanup() 229 static int dm_stats_create(struct dm_stats *stats, sector_t start, sector_t end,  in dm_stats_create()  argument [all …] 
 | 
| /linux-4.1.27/drivers/md/bcache/ | 
| D | stats.c | 135 static void scale_stats(struct cache_stats *stats, unsigned long rescale_at)  in scale_stats()  argument 137 	if (++stats->rescale == rescale_at) {  in scale_stats() 138 		stats->rescale = 0;  in scale_stats() 139 		scale_stat(&stats->cache_hits);  in scale_stats() 140 		scale_stat(&stats->cache_misses);  in scale_stats() 141 		scale_stat(&stats->cache_bypass_hits);  in scale_stats() 142 		scale_stat(&stats->cache_bypass_misses);  in scale_stats() 143 		scale_stat(&stats->cache_readaheads);  in scale_stats() 144 		scale_stat(&stats->cache_miss_collisions);  in scale_stats() 145 		scale_stat(&stats->sectors_bypassed);  in scale_stats() [all …] 
 | 
| D | util.c | 169 void bch_time_stats_update(struct time_stats *stats, uint64_t start_time)  in bch_time_stats_update()  argument 173 	spin_lock(&stats->lock);  in bch_time_stats_update() 178 	last		= time_after64(now, stats->last)  in bch_time_stats_update() 179 		? now - stats->last : 0;  in bch_time_stats_update() 181 	stats->max_duration = max(stats->max_duration, duration);  in bch_time_stats_update() 183 	if (stats->last) {  in bch_time_stats_update() 184 		ewma_add(stats->average_duration, duration, 8, 8);  in bch_time_stats_update() 186 		if (stats->average_frequency)  in bch_time_stats_update() 187 			ewma_add(stats->average_frequency, last, 8, 8);  in bch_time_stats_update() 189 			stats->average_frequency  = last << 8;  in bch_time_stats_update() [all …] 
 | 
| /linux-4.1.27/drivers/media/usb/uvc/ | 
| D | uvc_video.c | 718 	if (stream->stats.stream.nb_frames == 0 &&  in uvc_video_stats_decode() 719 	    stream->stats.frame.nb_packets == 0)  in uvc_video_stats_decode() 720 		ktime_get_ts(&stream->stats.stream.start_ts);  in uvc_video_stats_decode() 743 		stream->stats.frame.nb_invalid++;  in uvc_video_stats_decode() 757 	if (has_pts && stream->stats.frame.nb_pts) {  in uvc_video_stats_decode() 758 		if (stream->stats.frame.pts != pts) {  in uvc_video_stats_decode() 759 			stream->stats.frame.nb_pts_diffs++;  in uvc_video_stats_decode() 760 			stream->stats.frame.last_pts_diff =  in uvc_video_stats_decode() 761 				stream->stats.frame.nb_packets;  in uvc_video_stats_decode() 766 		stream->stats.frame.nb_pts++;  in uvc_video_stats_decode() [all …] 
 | 
| /linux-4.1.27/drivers/cpuidle/governors/ | 
| D | ladder.c | 37 	} stats;  member 56 	ldev->states[old_idx].stats.promotion_count = 0;  in ladder_do_selection() 57 	ldev->states[old_idx].stats.demotion_count = 0;  in ladder_do_selection() 90 		last_state->stats.promotion_count++;  in ladder_select_state() 91 		last_state->stats.demotion_count = 0;  in ladder_select_state() 92 		if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) {  in ladder_select_state() 115 		last_state->stats.demotion_count++;  in ladder_select_state() 116 		last_state->stats.promotion_count = 0;  in ladder_select_state() 117 		if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) {  in ladder_select_state() 146 		lstate->stats.promotion_count = 0;  in ladder_enable_device() [all …] 
 | 
| /linux-4.1.27/net/netrom/ | 
| D | nr_dev.c | 45 	struct net_device_stats *stats = &dev->stats;  in nr_rx_ip()  local 48 		stats->rx_dropped++;  in nr_rx_ip() 52 	stats->rx_packets++;  in nr_rx_ip() 53 	stats->rx_bytes += skb->len;  in nr_rx_ip() 144 	struct net_device_stats *stats = &dev->stats;  in nr_xmit()  local 149 		stats->tx_errors++;  in nr_xmit() 153 	stats->tx_packets++;  in nr_xmit() 154 	stats->tx_bytes += len;  in nr_xmit()
  | 
| /linux-4.1.27/kernel/locking/ | 
| D | lockdep_proc.c | 367 	struct lock_class_stats stats;  member 372 	struct lock_stat_data stats[MAX_LOCKDEP_KEYS];  member 383 	nl = dl->stats.read_waittime.nr + dl->stats.write_waittime.nr;  in lock_stat_cmp() 384 	nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr;  in lock_stat_cmp() 430 	struct lock_class_stats *stats;  in seq_stats()  local 437 	stats = &data->stats;  in seq_stats() 474 	if (stats->write_holdtime.nr) {  in seq_stats() 475 		if (stats->read_holdtime.nr)  in seq_stats() 480 		seq_printf(m, "%14lu ", stats->bounces[bounce_contended_write]);  in seq_stats() 481 		seq_lock_time(m, &stats->write_waittime);  in seq_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/mwifiex/ | 
| D | debugfs.c | 128 	p += sprintf(p, "num_tx_bytes = %lu\n", priv->stats.tx_bytes);  in mwifiex_info_read() 129 	p += sprintf(p, "num_rx_bytes = %lu\n", priv->stats.rx_bytes);  in mwifiex_info_read() 130 	p += sprintf(p, "num_tx_pkts = %lu\n", priv->stats.tx_packets);  in mwifiex_info_read() 131 	p += sprintf(p, "num_rx_pkts = %lu\n", priv->stats.rx_packets);  in mwifiex_info_read() 132 	p += sprintf(p, "num_tx_pkts_dropped = %lu\n", priv->stats.tx_dropped);  in mwifiex_info_read() 133 	p += sprintf(p, "num_rx_pkts_dropped = %lu\n", priv->stats.rx_dropped);  in mwifiex_info_read() 134 	p += sprintf(p, "num_tx_pkts_err = %lu\n", priv->stats.tx_errors);  in mwifiex_info_read() 135 	p += sprintf(p, "num_rx_pkts_err = %lu\n", priv->stats.rx_errors);  in mwifiex_info_read() 207 	struct mwifiex_ds_get_stats stats;  in mwifiex_getlog_read()  local 212 	memset(&stats, 0, sizeof(stats));  in mwifiex_getlog_read() [all …] 
 | 
| /linux-4.1.27/net/ipv4/ | 
| D | ip_tunnel_core.c | 188 	tot->multicast = dev->stats.multicast;  in ip_tunnel_get_stats64() 190 	tot->rx_crc_errors = dev->stats.rx_crc_errors;  in ip_tunnel_get_stats64() 191 	tot->rx_fifo_errors = dev->stats.rx_fifo_errors;  in ip_tunnel_get_stats64() 192 	tot->rx_length_errors = dev->stats.rx_length_errors;  in ip_tunnel_get_stats64() 193 	tot->rx_frame_errors = dev->stats.rx_frame_errors;  in ip_tunnel_get_stats64() 194 	tot->rx_errors = dev->stats.rx_errors;  in ip_tunnel_get_stats64() 196 	tot->tx_fifo_errors = dev->stats.tx_fifo_errors;  in ip_tunnel_get_stats64() 197 	tot->tx_carrier_errors = dev->stats.tx_carrier_errors;  in ip_tunnel_get_stats64() 198 	tot->tx_dropped = dev->stats.tx_dropped;  in ip_tunnel_get_stats64() 199 	tot->tx_aborted_errors = dev->stats.tx_aborted_errors;  in ip_tunnel_get_stats64() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/8390/ | 
| D | lib8390.c | 261 	dev->stats.tx_errors++;  in __ei_tx_timeout() 273 	if (!isr && !dev->stats.tx_packets) {  in __ei_tx_timeout() 370 		dev->stats.tx_errors++;  in __ei_start_xmit() 408 	dev->stats.tx_bytes += send_length;  in __ei_start_xmit() 478 			dev->stats.rx_frame_errors += ei_inb_p(e8390_base + EN0_COUNTER0);  in __ei_interrupt() 479 			dev->stats.rx_crc_errors   += ei_inb_p(e8390_base + EN0_COUNTER1);  in __ei_interrupt() 480 			dev->stats.rx_missed_errors += ei_inb_p(e8390_base + EN0_COUNTER2);  in __ei_interrupt() 559 		dev->stats.tx_errors++;  in ei_tx_err() 561 			dev->stats.tx_carrier_errors++;  in ei_tx_err() 563 			dev->stats.tx_heartbeat_errors++;  in ei_tx_err() [all …] 
 | 
| D | axnet_cs.c | 915 	dev->stats.tx_errors++;  in axnet_tx_timeout() 927 	if (!isr && !dev->stats.tx_packets)   in axnet_tx_timeout() 1022 		dev->stats.tx_errors++;  in axnet_start_xmit() 1070 	dev->stats.tx_bytes += send_length;  in axnet_start_xmit() 1164 			dev->stats.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0);  in ax_interrupt() 1165 			dev->stats.rx_crc_errors   += inb_p(e8390_base + EN0_COUNTER1);  in ax_interrupt() 1166 			dev->stats.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2);  in ax_interrupt() 1235 		dev->stats.tx_errors++;  in ei_tx_err() 1236 		if (txsr & ENTSR_CRS) dev->stats.tx_carrier_errors++;  in ei_tx_err() 1237 		if (txsr & ENTSR_CDH) dev->stats.tx_heartbeat_errors++;  in ei_tx_err() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ | 
| D | trx.c | 242 			rtlpriv->stats.rx_snr_db[i] =  in _rtl92ce_query_rxphystatus() 339 			   struct rtl_stats *stats,  in rtl92ce_rx_query_desc()  argument 347 	stats->length = (u16) GET_RX_DESC_PKT_LEN(pdesc);  in rtl92ce_rx_query_desc() 348 	stats->rx_drvinfo_size = (u8) GET_RX_DESC_DRV_INFO_SIZE(pdesc) *  in rtl92ce_rx_query_desc() 350 	stats->rx_bufshift = (u8) (GET_RX_DESC_SHIFT(pdesc) & 0x03);  in rtl92ce_rx_query_desc() 351 	stats->icv = (u16) GET_RX_DESC_ICV(pdesc);  in rtl92ce_rx_query_desc() 352 	stats->crc = (u16) GET_RX_DESC_CRC32(pdesc);  in rtl92ce_rx_query_desc() 353 	stats->hwerror = (stats->crc | stats->icv);  in rtl92ce_rx_query_desc() 354 	stats->decrypted = !GET_RX_DESC_SWDEC(pdesc);  in rtl92ce_rx_query_desc() 355 	stats->rate = (u8) GET_RX_DESC_RXMCS(pdesc);  in rtl92ce_rx_query_desc() [all …] 
 | 
| /linux-4.1.27/drivers/net/team/ | 
| D | team_mode_loadbalance.c | 39 	struct lb_stats stats;  member 57 	} stats;  member 380 	lb_priv->ex->stats.info[hash].opt_inst_info = info;  in lb_hash_stats_init() 389 	ctx->data.bin_val.ptr = &lb_priv->ex->stats.info[hash].stats;  in lb_hash_stats_get() 409 	ctx->data.bin_val.ptr = &lb_port_priv->stats_info.stats;  in lb_port_stats_get() 416 	memcpy(&s_info->last_stats, &s_info->stats, sizeof(struct lb_stats));  in __lb_stats_info_refresh_prepare() 417 	memset(&s_info->stats, 0, sizeof(struct lb_stats));  in __lb_stats_info_refresh_prepare() 423 	if (memcmp(&s_info->last_stats, &s_info->stats,  in __lb_stats_info_refresh_check() 451 	struct lb_stats *stats;  in lb_stats_refresh()  local 459 				  stats.refresh_dw.work);  in lb_stats_refresh() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/atheros/alx/ | 
| D | hw.c | 1057 	hw->stats.rx_ok          += alx_read_mem32(hw, ALX_MIB_RX_OK);  in alx_update_hw_stats() 1058 	hw->stats.rx_bcast       += alx_read_mem32(hw, ALX_MIB_RX_BCAST);  in alx_update_hw_stats() 1059 	hw->stats.rx_mcast       += alx_read_mem32(hw, ALX_MIB_RX_MCAST);  in alx_update_hw_stats() 1060 	hw->stats.rx_pause       += alx_read_mem32(hw, ALX_MIB_RX_PAUSE);  in alx_update_hw_stats() 1061 	hw->stats.rx_ctrl        += alx_read_mem32(hw, ALX_MIB_RX_CTRL);  in alx_update_hw_stats() 1062 	hw->stats.rx_fcs_err     += alx_read_mem32(hw, ALX_MIB_RX_FCS_ERR);  in alx_update_hw_stats() 1063 	hw->stats.rx_len_err     += alx_read_mem32(hw, ALX_MIB_RX_LEN_ERR);  in alx_update_hw_stats() 1064 	hw->stats.rx_byte_cnt    += alx_read_mem32(hw, ALX_MIB_RX_BYTE_CNT);  in alx_update_hw_stats() 1065 	hw->stats.rx_runt        += alx_read_mem32(hw, ALX_MIB_RX_RUNT);  in alx_update_hw_stats() 1066 	hw->stats.rx_frag        += alx_read_mem32(hw, ALX_MIB_RX_FRAG);  in alx_update_hw_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/sfc/ | 
| D | siena.c | 504 	u64 *stats = nic_data->stats;  in siena_try_update_nic_stats()  local 515 			     stats, efx->stats_buffer.addr, false);  in siena_try_update_nic_stats() 523 				     &stats[SIENA_STAT_rx_nodesc_drop_cnt]);  in siena_try_update_nic_stats() 524 	efx_update_diff_stat(&stats[SIENA_STAT_tx_good_bytes],  in siena_try_update_nic_stats() 525 			     stats[SIENA_STAT_tx_bytes] -  in siena_try_update_nic_stats() 526 			     stats[SIENA_STAT_tx_bad_bytes]);  in siena_try_update_nic_stats() 527 	stats[SIENA_STAT_tx_collision] =  in siena_try_update_nic_stats() 528 		stats[SIENA_STAT_tx_single_collision] +  in siena_try_update_nic_stats() 529 		stats[SIENA_STAT_tx_multiple_collision] +  in siena_try_update_nic_stats() 530 		stats[SIENA_STAT_tx_excessive_collision] +  in siena_try_update_nic_stats() [all …] 
 | 
| /linux-4.1.27/include/net/ | 
| D | codel.h | 185 static void codel_stats_init(struct codel_stats *stats)  in codel_stats_init()  argument 187 	stats->maxpacket = 0;  in codel_stats_init() 224 			      struct codel_stats *stats,  in codel_should_drop()  argument 237 	if (unlikely(qdisc_pkt_len(skb) > stats->maxpacket))  in codel_should_drop() 238 		stats->maxpacket = qdisc_pkt_len(skb);  in codel_should_drop() 264 				     struct codel_stats *stats, 276 	drop = codel_should_drop(skb, sch, vars, params, stats, now); 297 					stats->ecn_mark++; 305 				stats->drop_count++; 308 						       vars, params, stats, now)) { [all …] 
 | 
| D | ip6_tunnel.h | 79 	struct net_device_stats *stats = &dev->stats;  in ip6tunnel_xmit()  local 93 		stats->tx_errors++;  in ip6tunnel_xmit() 94 		stats->tx_aborted_errors++;  in ip6tunnel_xmit()
  | 
| /linux-4.1.27/drivers/net/ethernet/dec/tulip/ | 
| D | interrupt.c | 186 						dev->stats.rx_length_errors++;  in tulip_poll() 193 					dev->stats.rx_errors++; /* end of a packet.*/  in tulip_poll() 196 						dev->stats.rx_length_errors++;  in tulip_poll() 199 						dev->stats.rx_frame_errors++;  in tulip_poll() 201 						dev->stats.rx_crc_errors++;  in tulip_poll() 203 						dev->stats.rx_fifo_errors++;  in tulip_poll() 253 				dev->stats.rx_packets++;  in tulip_poll() 254 				dev->stats.rx_bytes += pkt_len;  in tulip_poll() 413 					dev->stats.rx_length_errors++;  in tulip_rx() 420 				dev->stats.rx_errors++; /* end of a packet.*/  in tulip_rx() [all …] 
 | 
| /linux-4.1.27/drivers/net/arcnet/ | 
| D | rfc1201.c | 124 		dev->stats.rx_errors++;  in type_trans() 125 		dev->stats.rx_crc_errors++;  in type_trans() 175 			dev->stats.rx_errors++;  in rx() 176 			dev->stats.rx_missed_errors++;  in rx() 184 			dev->stats.rx_dropped++;  in rx() 216 					dev->stats.rx_crc_errors++;  in rx() 225 				dev->stats.rx_errors++;  in rx() 226 				dev->stats.rx_crc_errors++;  in rx() 260 			dev->stats.rx_errors++;  in rx() 261 			dev->stats.rx_missed_errors++;  in rx() [all …] 
 | 
| /linux-4.1.27/drivers/net/ppp/ | 
| D | ppp_deflate.c | 34     struct compstat stats;  member 57 static void	z_comp_stats(void *state, struct compstat *stats); 250 		state->stats.comp_bytes += olen;  in z_compress() 251 		state->stats.comp_packets++;  in z_compress() 253 		state->stats.inc_bytes += isize;  in z_compress() 254 		state->stats.inc_packets++;  in z_compress() 257 	state->stats.unc_bytes += isize;  in z_compress() 258 	state->stats.unc_packets++;  in z_compress() 269 static void z_comp_stats(void *arg, struct compstat *stats)  in z_comp_stats()  argument 273 	*stats = state->stats;  in z_comp_stats() [all …] 
 | 
| D | ppp_mppe.c | 113 	struct compstat stats;  member 434 	state->stats.unc_bytes += isize;  in mppe_compress() 435 	state->stats.unc_packets++;  in mppe_compress() 436 	state->stats.comp_bytes += osize;  in mppe_compress() 437 	state->stats.comp_packets++;  in mppe_compress() 446 static void mppe_comp_stats(void *arg, struct compstat *stats)  in mppe_comp_stats()  argument 450 	*stats = state->stats;  in mppe_comp_stats() 637 	state->stats.unc_bytes += osize;  in mppe_decompress() 638 	state->stats.unc_packets++;  in mppe_decompress() 639 	state->stats.comp_bytes += isize;  in mppe_decompress() [all …] 
 | 
| /linux-4.1.27/Documentation/cpu-freq/ | 
| D | cpufreq-stats.txt | 15 3. Configuring cpufreq-stats 20 cpufreq-stats is a driver that provides CPU frequency statistics for each CPU. 23 in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU. 32 cpufreq stats provides following statistics (explained in detail below). 37 All the statistics will be from the time the stats driver has been inserted  38 to the time when a read of a particular statistic is done. Obviously, stats  40 the stats driver insertion. 43 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l 60 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat time_in_state  75 <mysystem>:/sys/devices/system/cpu/cpu0/cpufreq/stats # cat total_trans [all …] 
 | 
| /linux-4.1.27/fs/jbd2/ | 
| D | commit.c | 372 	struct transaction_stats_s stats;  in jbd2_journal_commit_transaction()  local 443 	stats.run.rs_wait = commit_transaction->t_max_wait;  in jbd2_journal_commit_transaction() 444 	stats.run.rs_request_delay = 0;  in jbd2_journal_commit_transaction() 445 	stats.run.rs_locked = jiffies;  in jbd2_journal_commit_transaction() 447 		stats.run.rs_request_delay =  in jbd2_journal_commit_transaction() 449 				       stats.run.rs_locked);  in jbd2_journal_commit_transaction() 450 	stats.run.rs_running = jbd2_time_diff(commit_transaction->t_start,  in jbd2_journal_commit_transaction() 451 					      stats.run.rs_locked);  in jbd2_journal_commit_transaction() 536 	stats.run.rs_flushing = jiffies;  in jbd2_journal_commit_transaction() 537 	stats.run.rs_locked = jbd2_time_diff(stats.run.rs_locked,  in jbd2_journal_commit_transaction() [all …] 
 | 
| /linux-4.1.27/fs/cifs/ | 
| D | smb1ops.c | 625 	atomic_set(&tcon->stats.cifs_stats.num_writes, 0);  in cifs_clear_stats() 626 	atomic_set(&tcon->stats.cifs_stats.num_reads, 0);  in cifs_clear_stats() 627 	atomic_set(&tcon->stats.cifs_stats.num_flushes, 0);  in cifs_clear_stats() 628 	atomic_set(&tcon->stats.cifs_stats.num_oplock_brks, 0);  in cifs_clear_stats() 629 	atomic_set(&tcon->stats.cifs_stats.num_opens, 0);  in cifs_clear_stats() 630 	atomic_set(&tcon->stats.cifs_stats.num_posixopens, 0);  in cifs_clear_stats() 631 	atomic_set(&tcon->stats.cifs_stats.num_posixmkdirs, 0);  in cifs_clear_stats() 632 	atomic_set(&tcon->stats.cifs_stats.num_closes, 0);  in cifs_clear_stats() 633 	atomic_set(&tcon->stats.cifs_stats.num_deletes, 0);  in cifs_clear_stats() 634 	atomic_set(&tcon->stats.cifs_stats.num_mkdirs, 0);  in cifs_clear_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/amd/xgbe/ | 
| D | xgbe-dev.c | 2235 	struct xgbe_mmc_stats *stats = &pdata->mmc_stats;  in xgbe_tx_mmc_int()  local 2239 		stats->txoctetcount_gb +=  in xgbe_tx_mmc_int() 2243 		stats->txframecount_gb +=  in xgbe_tx_mmc_int() 2247 		stats->txbroadcastframes_g +=  in xgbe_tx_mmc_int() 2251 		stats->txmulticastframes_g +=  in xgbe_tx_mmc_int() 2255 		stats->tx64octets_gb +=  in xgbe_tx_mmc_int() 2259 		stats->tx65to127octets_gb +=  in xgbe_tx_mmc_int() 2263 		stats->tx128to255octets_gb +=  in xgbe_tx_mmc_int() 2267 		stats->tx256to511octets_gb +=  in xgbe_tx_mmc_int() 2271 		stats->tx512to1023octets_gb +=  in xgbe_tx_mmc_int() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/intel/igb/ | 
| D | igb_ethtool.c | 53 	IGB_STAT("rx_packets", stats.gprc), 54 	IGB_STAT("tx_packets", stats.gptc), 55 	IGB_STAT("rx_bytes", stats.gorc), 56 	IGB_STAT("tx_bytes", stats.gotc), 57 	IGB_STAT("rx_broadcast", stats.bprc), 58 	IGB_STAT("tx_broadcast", stats.bptc), 59 	IGB_STAT("rx_multicast", stats.mprc), 60 	IGB_STAT("tx_multicast", stats.mptc), 61 	IGB_STAT("multicast", stats.mprc), 62 	IGB_STAT("collisions", stats.colc), [all …] 
 | 
| D | e1000_mbx.c | 268 		hw->mbx.stats.reqs++;  in igb_check_for_msg_pf() 287 		hw->mbx.stats.acks++;  in igb_check_for_ack_pf() 308 		hw->mbx.stats.rsts++;  in igb_check_for_rst_pf() 369 	hw->mbx.stats.msgs_tx++;  in igb_write_mbx_pf() 406 	hw->mbx.stats.msgs_rx++;  in igb_read_mbx_pf() 435 	mbx->stats.msgs_tx = 0;  in igb_init_mbx_params_pf() 436 	mbx->stats.msgs_rx = 0;  in igb_init_mbx_params_pf() 437 	mbx->stats.reqs = 0;  in igb_init_mbx_params_pf() 438 	mbx->stats.acks = 0;  in igb_init_mbx_params_pf() 439 	mbx->stats.rsts = 0;  in igb_init_mbx_params_pf()
  | 
| /linux-4.1.27/net/sunrpc/ | 
| D | stats.c | 119 	struct rpc_iostats *stats;  in rpc_alloc_iostats()  local 122 	stats = kcalloc(clnt->cl_maxproc, sizeof(*stats), GFP_KERNEL);  in rpc_alloc_iostats() 123 	if (stats) {  in rpc_alloc_iostats() 125 			spin_lock_init(&stats[i].om_lock);  in rpc_alloc_iostats() 127 	return stats;  in rpc_alloc_iostats() 136 void rpc_free_iostats(struct rpc_iostats *stats)  in rpc_free_iostats()  argument 138 	kfree(stats);  in rpc_free_iostats() 185 void rpc_count_iostats(const struct rpc_task *task, struct rpc_iostats *stats)  in rpc_count_iostats()  argument 188 				  &stats[task->tk_msg.rpc_proc->p_statidx]);  in rpc_count_iostats() 205 	struct rpc_iostats *stats = clnt->cl_metrics;  in rpc_print_iostats()  local [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/cirrus/ | 
| D | mac89x0.c | 441 			dev->stats.tx_packets++;  in net_interrupt() 444 				dev->stats.tx_errors++;  in net_interrupt() 446 				dev->stats.tx_carrier_errors++;  in net_interrupt() 448 				dev->stats.tx_heartbeat_errors++;  in net_interrupt() 450 				dev->stats.tx_window_errors++;  in net_interrupt() 452 				dev->stats.tx_aborted_errors++;  in net_interrupt() 471 			dev->stats.rx_missed_errors += (status >> 6);  in net_interrupt() 474 			dev->stats.collisions += (status >> 6);  in net_interrupt() 490 		dev->stats.rx_errors++;  in net_rx() 492 				dev->stats.rx_length_errors++;  in net_rx() [all …] 
 | 
| /linux-4.1.27/net/netfilter/ipvs/ | 
| D | ip_vs_est.c | 61 				 struct ip_vs_cpu_stats __percpu *stats)  in ip_vs_read_cpu_stats()  argument 67 		struct ip_vs_cpu_stats *s = per_cpu_ptr(stats, i);  in ip_vs_read_cpu_stats() 143 void ip_vs_start_estimator(struct net *net, struct ip_vs_stats *stats)  in ip_vs_start_estimator()  argument 146 	struct ip_vs_estimator *est = &stats->est;  in ip_vs_start_estimator() 155 void ip_vs_stop_estimator(struct net *net, struct ip_vs_stats *stats)  in ip_vs_stop_estimator()  argument 158 	struct ip_vs_estimator *est = &stats->est;  in ip_vs_stop_estimator() 165 void ip_vs_zero_estimator(struct ip_vs_stats *stats)  in ip_vs_zero_estimator()  argument 167 	struct ip_vs_estimator *est = &stats->est;  in ip_vs_zero_estimator() 168 	struct ip_vs_kstats *k = &stats->kstats;  in ip_vs_zero_estimator() 184 void ip_vs_read_estimator(struct ip_vs_kstats *dst, struct ip_vs_stats *stats)  in ip_vs_read_estimator()  argument [all …] 
 | 
| /linux-4.1.27/drivers/atm/ | 
| D | idt77105.c | 34 	struct idt77105_stats stats;    /* link diagnostics */  member 87 	struct idt77105_stats *stats;  in idt77105_stats_timer_func()  local 93 		stats = &walk->stats;  in idt77105_stats_timer_func() 94                 stats->symbol_errors += get_counter(dev, IDT77105_CTRSEL_SEC);  in idt77105_stats_timer_func() 95                 stats->tx_cells += get_counter(dev, IDT77105_CTRSEL_TCC);  in idt77105_stats_timer_func() 96                 stats->rx_cells += get_counter(dev, IDT77105_CTRSEL_RCC);  in idt77105_stats_timer_func() 97                 stats->rx_hec_errors += get_counter(dev, IDT77105_CTRSEL_RHEC);  in idt77105_stats_timer_func() 144 	struct idt77105_stats stats;  in fetch_stats()  local 147 	memcpy(&stats, &PRIV(dev)->stats, sizeof(struct idt77105_stats));  in fetch_stats() 149 		memset(&PRIV(dev)->stats, 0, sizeof(struct idt77105_stats));  in fetch_stats() [all …] 
 | 
| D | fore200e.c | 359 	kfree(fore200e->stats);  in fore200e_shutdown() 935 		    atomic_inc(&vcc->stats->tx_err);  in fore200e_tx_irq() 937 		    atomic_inc(&vcc->stats->tx);  in fore200e_tx_irq() 1086 	atomic_inc(&vcc->stats->rx_drop);  in fore200e_push_rpd() 1129 	atomic_inc(&vcc->stats->rx_drop);  in fore200e_push_rpd() 1136     atomic_inc(&vcc->stats->rx);  in fore200e_push_rpd() 1214 		atomic_inc(&vcc->stats->rx_err);  in fore200e_rx_irq() 1659 	    atomic_inc(&vcc->stats->tx_err);  in fore200e_send() 1751     if (fore200e->stats == NULL) {  in fore200e_getstats() 1752 	fore200e->stats = kzalloc(sizeof(struct stats), GFP_KERNEL | GFP_DMA);  in fore200e_getstats() [all …] 
 | 
| D | lanai.c | 232 	struct lanai_vcc_stats stats;  member 273 	struct lanai_dev_stats stats;  member 1124 			++lanai->stats.pcierr_##stat; \  in pcistatus_check() 1298 	atomic_inc(&lvcc->tx.atmvcc->stats->tx);  in lanai_send_one_aal5() 1408 		lvcc->stats.x.aal5.rx_badlen++;  in vcc_rx_aal5() 1413 		lvcc->stats.rx_nomem++;  in vcc_rx_aal5() 1421 	atomic_inc(&lvcc->rx.atmvcc->stats->rx);  in vcc_rx_aal5() 1575 	lanai->stats.card_reset++;  in lanai_reset() 1632 			lanai->stats.service_notx++;  in handle_service() 1634 			lanai->stats.service_norx++;  in handle_service() [all …] 
 | 
| /linux-4.1.27/tools/power/cpupower/utils/ | 
| D | cpufreq-info.c | 257 	struct cpufreq_stats *stats;  in debug_output_one()  local 357 	stats = cpufreq_get_stats(cpu, &total_time);  in debug_output_one() 358 	if (stats) {  in debug_output_one() 360 		while (stats) {  in debug_output_one() 361 			print_speed(stats->frequency);  in debug_output_one() 362 			printf(":%.2f%%", (100.0 * stats->time_in_state) / total_time);  in debug_output_one() 363 			stats = stats->next;  in debug_output_one() 364 			if (stats)  in debug_output_one() 367 		cpufreq_put_stats(stats);  in debug_output_one() 503 	struct cpufreq_stats *stats = cpufreq_get_stats(cpu, &total_time);  in get_freq_stats()  local [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/toshiba/ | 
| D | spider_net_ethtool.c | 143 		struct ethtool_stats *stats, u64 *data)  in spider_net_get_ethtool_stats()  argument 147 	data[0] = netdev->stats.tx_packets;  in spider_net_get_ethtool_stats() 148 	data[1] = netdev->stats.tx_bytes;  in spider_net_get_ethtool_stats() 149 	data[2] = netdev->stats.rx_packets;  in spider_net_get_ethtool_stats() 150 	data[3] = netdev->stats.rx_bytes;  in spider_net_get_ethtool_stats() 151 	data[4] = netdev->stats.tx_errors;  in spider_net_get_ethtool_stats() 152 	data[5] = netdev->stats.tx_dropped;  in spider_net_get_ethtool_stats() 153 	data[6] = netdev->stats.rx_dropped;  in spider_net_get_ethtool_stats()
  | 
| /linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ | 
| D | mbx.c | 180 		hw->mbx.stats.reqs++;  in ixgbevf_check_for_msg_vf() 198 		hw->mbx.stats.acks++;  in ixgbevf_check_for_ack_vf() 217 		hw->mbx.stats.rsts++;  in ixgbevf_check_for_rst_vf() 270 	hw->mbx.stats.msgs_tx++;  in ixgbevf_write_mbx_vf() 305 	hw->mbx.stats.msgs_rx++;  in ixgbevf_read_mbx_vf() 329 	mbx->stats.msgs_tx = 0;  in ixgbevf_init_mbx_params_vf() 330 	mbx->stats.msgs_rx = 0;  in ixgbevf_init_mbx_params_vf() 331 	mbx->stats.reqs = 0;  in ixgbevf_init_mbx_params_vf() 332 	mbx->stats.acks = 0;  in ixgbevf_init_mbx_params_vf() 333 	mbx->stats.rsts = 0;  in ixgbevf_init_mbx_params_vf()
  | 
| D | ethtool.c | 70 	{"rx_packets", IXGBEVF_STAT(stats.vfgprc, stats.base_vfgprc, 71 				    stats.saved_reset_vfgprc)}, 72 	{"tx_packets", IXGBEVF_STAT(stats.vfgptc, stats.base_vfgptc, 73 				    stats.saved_reset_vfgptc)}, 74 	{"rx_bytes", IXGBEVF_STAT(stats.vfgorc, stats.base_vfgorc, 75 				  stats.saved_reset_vfgorc)}, 76 	{"tx_bytes", IXGBEVF_STAT(stats.vfgotc, stats.base_vfgotc, 77 				  stats.saved_reset_vfgotc)}, 81 	{"multicast", IXGBEVF_STAT(stats.vfmprc, stats.base_vfmprc, 82 				   stats.saved_reset_vfmprc)}, [all …] 
 | 
| D | ixgbevf_main.c | 220 	return ring->stats.packets;  in ixgbevf_get_tx_completed() 382 	tx_ring->stats.bytes += total_bytes;  in ixgbevf_clean_tx_irq() 383 	tx_ring->stats.packets += total_packets;  in ixgbevf_clean_tx_irq() 989 	rx_ring->stats.packets += total_rx_packets;  in ixgbevf_clean_rx_irq() 990 	rx_ring->stats.bytes += total_rx_bytes;  in ixgbevf_clean_rx_irq() 1094 			ring->stats.cleaned += found;  in ixgbevf_busy_poll_recv() 1096 			ring->stats.misses++;  in ixgbevf_busy_poll_recv() 1995 	if (adapter->stats.vfgprc || adapter->stats.vfgptc) {  in ixgbevf_save_reset_stats() 1996 		adapter->stats.saved_reset_vfgprc += adapter->stats.vfgprc -  in ixgbevf_save_reset_stats() 1997 			adapter->stats.base_vfgprc;  in ixgbevf_save_reset_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/intel/igbvf/ | 
| D | mbx.c | 185 		hw->mbx.stats.reqs++;  in e1000_check_for_msg_vf() 203 		hw->mbx.stats.acks++;  in e1000_check_for_ack_vf() 222 		hw->mbx.stats.rsts++;  in e1000_check_for_rst_vf() 275 	hw->mbx.stats.msgs_tx++;  in e1000_write_mbx_vf() 310 	hw->mbx.stats.msgs_rx++;  in e1000_read_mbx_vf() 342 	mbx->stats.msgs_tx = 0;  in e1000_init_mbx_params_vf() 343 	mbx->stats.msgs_rx = 0;  in e1000_init_mbx_params_vf() 344 	mbx->stats.reqs = 0;  in e1000_init_mbx_params_vf() 345 	mbx->stats.acks = 0;  in e1000_init_mbx_params_vf() 346 	mbx->stats.rsts = 0;  in e1000_init_mbx_params_vf()
  | 
| D | ethtool.c | 51 	{ "rx_packets", IGBVF_STAT(stats.gprc, stats.base_gprc) }, 52 	{ "tx_packets", IGBVF_STAT(stats.gptc, stats.base_gptc) }, 53 	{ "rx_bytes", IGBVF_STAT(stats.gorc, stats.base_gorc) }, 54 	{ "tx_bytes", IGBVF_STAT(stats.gotc, stats.base_gotc) }, 55 	{ "multicast", IGBVF_STAT(stats.mprc, stats.base_mprc) }, 56 	{ "lbrx_bytes", IGBVF_STAT(stats.gorlbc, stats.base_gorlbc) }, 57 	{ "lbrx_packets", IGBVF_STAT(stats.gprlbc, stats.base_gprlbc) }, 59 	{ "rx_long_byte_count", IGBVF_STAT(stats.gorc, stats.base_gorc) }, 396 				    struct ethtool_stats *stats,  in igbvf_get_ethtool_stats()  argument
  | 
| /linux-4.1.27/include/trace/events/ | 
| D | jbd2.h | 235 		 struct transaction_run_stats_s *stats), 237 	TP_ARGS(dev, tid, stats), 256 		__entry->wait		= stats->rs_wait; 257 		__entry->request_delay	= stats->rs_request_delay; 258 		__entry->running	= stats->rs_running; 259 		__entry->locked		= stats->rs_locked; 260 		__entry->flushing	= stats->rs_flushing; 261 		__entry->logging	= stats->rs_logging; 262 		__entry->handle_count	= stats->rs_handle_count; 263 		__entry->blocks		= stats->rs_blocks; [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/natsemi/ | 
| D | sonic.c | 176 	lp->stats.tx_errors++;  in sonic_tx_timeout() 310 					lp->stats.tx_packets++;  in sonic_interrupt() 311 					lp->stats.tx_bytes += sonic_tda_get(dev, entry, SONIC_TD_PKTSIZE);  in sonic_interrupt() 313 					lp->stats.tx_errors++;  in sonic_interrupt() 315 						lp->stats.tx_aborted_errors++;  in sonic_interrupt() 317 						lp->stats.tx_carrier_errors++;  in sonic_interrupt() 319 						lp->stats.tx_window_errors++;  in sonic_interrupt() 321 						lp->stats.tx_fifo_errors++;  in sonic_interrupt() 351 			lp->stats.rx_fifo_errors++;  in sonic_interrupt() 357 			lp->stats.rx_dropped++;  in sonic_interrupt() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ | 
| D | rx.c | 185 					struct ieee80211_rx_status *stats,  in iwl_mvm_set_mac80211_rx_flag()  argument 205 		stats->flag |= RX_FLAG_DECRYPTED;  in iwl_mvm_set_mac80211_rx_flag() 221 		stats->flag |= RX_FLAG_DECRYPTED;  in iwl_mvm_set_mac80211_rx_flag() 230 		stats->flag |= RX_FLAG_DECRYPTED;  in iwl_mvm_set_mac80211_rx_flag() 574 		struct iwl_notif_statistics_v10 *stats = (void *)&pkt->data;  in iwl_mvm_handle_rx_statistics()  local 579 		temperature = le32_to_cpu(stats->general.radio_temperature);  in iwl_mvm_handle_rx_statistics() 580 		data.mac_id = stats->rx.general.mac_id;  in iwl_mvm_handle_rx_statistics() 582 			stats->general.beacon_filter_average_energy;  in iwl_mvm_handle_rx_statistics() 584 		iwl_mvm_update_rx_statistics(mvm, &stats->rx);  in iwl_mvm_handle_rx_statistics() 586 		mvm->radio_stats.rx_time = le64_to_cpu(stats->general.rx_time);  in iwl_mvm_handle_rx_statistics() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/ti/wlcore/ | 
| D | debugfs.h | 77 	struct struct_type *stats = wl->stats.fw_stats;			\ 82 				    stats->sub.name);			\ 97 	struct struct_type *stats = wl->stats.fw_stats;			\ 105 			       buf, i, stats->sub.name[i]);		\ 117 	DEBUGFS_ADD(sub## _ ##name, stats)
  | 
| /linux-4.1.27/block/ | 
| D | cfq-iosched.c | 292 	struct cfqg_stats stats;	/* stats for this cfqg */  member 469 static inline void cfqg_stats_mark_##name(struct cfqg_stats *stats)	\ 471 	stats->flags |= (1 << CFQG_stats_##name);			\ 473 static inline void cfqg_stats_clear_##name(struct cfqg_stats *stats)	\ 475 	stats->flags &= ~(1 << CFQG_stats_##name);			\ 477 static inline int cfqg_stats_##name(struct cfqg_stats *stats)		\ 479 	return (stats->flags & (1 << CFQG_stats_##name)) != 0;		\ 488 static void cfqg_stats_update_group_wait_time(struct cfqg_stats *stats)  in CFQG_FLAG_FNS() 492 	if (!cfqg_stats_waiting(stats))  in CFQG_FLAG_FNS() 496 	if (time_after64(now, stats->start_group_wait_time))  in CFQG_FLAG_FNS() [all …] 
 | 
| /linux-4.1.27/drivers/net/caif/ | 
| D | caif_virtio.c | 125 	struct cfv_stats stats;  member 144 	++cfv->stats.tx_kicks;  in cfv_release_cb() 204 			++cfv->stats.tx_flow_on;  in cfv_release_used_buf() 300 			++cfv->ndev->stats.rx_dropped;  in cfv_rx_poll() 302 			++cfv->ndev->stats.rx_packets;  in cfv_rx_poll() 303 			cfv->ndev->stats.rx_bytes += skb_len;  in cfv_rx_poll() 310 	++cfv->stats.rx_napi_resched;  in cfv_rx_poll() 316 		++cfv->stats.rx_napi_complete;  in cfv_rx_poll() 328 		++cfv->stats.rx_nomem;  in cfv_rx_poll() 338 		cfv->ndev->stats.rx_dropped = riov->used - riov->i;  in cfv_rx_poll() [all …] 
 | 
| /linux-4.1.27/drivers/scsi/bnx2i/ | 
| D | bnx2i_init.c | 384 	struct iscsi_stats_info *stats;  in bnx2i_get_stats()  local 389 	stats = (struct iscsi_stats_info *)hba->cnic->stats_addr;  in bnx2i_get_stats() 391 	if (!stats)  in bnx2i_get_stats() 394 	strlcpy(stats->version, DRV_MODULE_VERSION, sizeof(stats->version));  in bnx2i_get_stats() 395 	memcpy(stats->mac_add1 + 2, hba->cnic->mac_addr, ETH_ALEN);  in bnx2i_get_stats() 397 	stats->max_frame_size = hba->netdev->mtu;  in bnx2i_get_stats() 398 	stats->txq_size = hba->max_sqes;  in bnx2i_get_stats() 399 	stats->rxq_size = hba->max_cqes;  in bnx2i_get_stats() 401 	stats->txq_avg_depth = 0;  in bnx2i_get_stats() 402 	stats->rxq_avg_depth = 0;  in bnx2i_get_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/neterion/ | 
| D | s2io.c | 887 	struct stat_block *stats;  in free_shared_mem()  local 897 	stats = mac_control->stats_info;  in free_shared_mem() 898 	swstats = &stats->sw_stat;  in free_shared_mem() 2373 	struct stat_block *stats = mac_control->stats_info;  in free_tx_buffers()  local 2374 	struct swStat *swstats = &stats->sw_stat;  in free_tx_buffers() 2674 	struct stat_block *stats = mac_control->stats_info;  in free_rxd_blk()  local 2675 	struct swStat *swstats = &stats->sw_stat;  in free_rxd_blk() 3015 	struct stat_block *stats = nic->mac_control.stats_info;  in tx_intr_handler()  local 3016 	struct swStat *swstats = &stats->sw_stat;  in tx_intr_handler() 3248 	struct stat_block *stats = sp->mac_control.stats_info;  in s2io_updt_xpak_counter()  local [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ | 
| D | qlcnic_ethtool.c | 30 	{"xmit_on", QLC_SIZEOF(stats.xmit_on), QLC_OFF(stats.xmit_on)}, 31 	{"xmit_off", QLC_SIZEOF(stats.xmit_off), QLC_OFF(stats.xmit_off)}, 32 	{"xmit_called", QLC_SIZEOF(stats.xmitcalled), 33 	 QLC_OFF(stats.xmitcalled)}, 34 	{"xmit_finished", QLC_SIZEOF(stats.xmitfinished), 35 	 QLC_OFF(stats.xmitfinished)}, 36 	{"tx dma map error", QLC_SIZEOF(stats.tx_dma_map_error), 37 	 QLC_OFF(stats.tx_dma_map_error)}, 38 	{"tx_bytes", QLC_SIZEOF(stats.txbytes), QLC_OFF(stats.txbytes)}, 39 	{"tx_dropped", QLC_SIZEOF(stats.txdropped), QLC_OFF(stats.txdropped)}, [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/intel/e1000/ | 
| D | e1000_main.c | 2512 	hw->tx_packet_delta = adapter->stats.tpt - adapter->tpt_old;  in e1000_watchdog() 2513 	adapter->tpt_old = adapter->stats.tpt;  in e1000_watchdog() 2514 	hw->collision_delta = adapter->stats.colc - adapter->colc_old;  in e1000_watchdog() 2515 	adapter->colc_old = adapter->stats.colc;  in e1000_watchdog() 2517 	adapter->gorcl = adapter->stats.gorcl - adapter->gorcl_old;  in e1000_watchdog() 2518 	adapter->gorcl_old = adapter->stats.gorcl;  in e1000_watchdog() 2519 	adapter->gotcl = adapter->stats.gotcl - adapter->gotcl_old;  in e1000_watchdog() 2520 	adapter->gotcl_old = adapter->stats.gotcl;  in e1000_watchdog() 3521 	return &netdev->stats;  in e1000_get_stats() 3632 	adapter->stats.crcerrs += er32(CRCERRS);  in e1000_update_stats() [all …] 
 | 
| D | e1000_ethtool.c | 47 	{ "rx_packets", E1000_STAT(stats.gprc) }, 48 	{ "tx_packets", E1000_STAT(stats.gptc) }, 49 	{ "rx_bytes", E1000_STAT(stats.gorcl) }, 50 	{ "tx_bytes", E1000_STAT(stats.gotcl) }, 51 	{ "rx_broadcast", E1000_STAT(stats.bprc) }, 52 	{ "tx_broadcast", E1000_STAT(stats.bptc) }, 53 	{ "rx_multicast", E1000_STAT(stats.mprc) }, 54 	{ "tx_multicast", E1000_STAT(stats.mptc) }, 55 	{ "rx_errors", E1000_STAT(stats.rxerrc) }, 56 	{ "tx_errors", E1000_STAT(stats.txerrc) }, [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/intel/i40e/ | 
| D | i40e_ethtool.c | 68 	I40E_VEB_STAT("rx_bytes", stats.rx_bytes), 69 	I40E_VEB_STAT("tx_bytes", stats.tx_bytes), 70 	I40E_VEB_STAT("rx_unicast", stats.rx_unicast), 71 	I40E_VEB_STAT("tx_unicast", stats.tx_unicast), 72 	I40E_VEB_STAT("rx_multicast", stats.rx_multicast), 73 	I40E_VEB_STAT("tx_multicast", stats.tx_multicast), 74 	I40E_VEB_STAT("rx_broadcast", stats.rx_broadcast), 75 	I40E_VEB_STAT("tx_broadcast", stats.tx_broadcast), 76 	I40E_VEB_STAT("rx_discards", stats.rx_discards), 77 	I40E_VEB_STAT("tx_discards", stats.tx_discards), [all …] 
 | 
| /linux-4.1.27/net/netfilter/ | 
| D | nf_synproxy_core.c | 256 		return per_cpu_ptr(snet->stats, cpu);  in synproxy_cpu_seq_start() 271 		return per_cpu_ptr(snet->stats, cpu);  in synproxy_cpu_seq_next() 284 	struct synproxy_stats *stats = v;  in synproxy_cpu_seq_show()  local 294 		   stats->syn_received,  in synproxy_cpu_seq_show() 295 		   stats->cookie_invalid,  in synproxy_cpu_seq_show() 296 		   stats->cookie_valid,  in synproxy_cpu_seq_show() 297 		   stats->cookie_retrans,  in synproxy_cpu_seq_show() 298 		   stats->conn_reopened);  in synproxy_cpu_seq_show() 370 	snet->stats = alloc_percpu(struct synproxy_stats);  in synproxy_net_init() 371 	if (snet->stats == NULL)  in synproxy_net_init() [all …] 
 | 
| D | nf_tables_core.c | 124 	struct nft_stats *stats;  in nft_do_chain()  local 209 	stats = this_cpu_ptr(rcu_dereference(nft_base_chain(basechain)->stats));  in nft_do_chain() 210 	u64_stats_update_begin(&stats->syncp);  in nft_do_chain() 211 	stats->pkts++;  in nft_do_chain() 212 	stats->bytes += pkt->skb->len;  in nft_do_chain() 213 	u64_stats_update_end(&stats->syncp);  in nft_do_chain()
  | 
| /linux-4.1.27/net/l2tp/ | 
| D | l2tp_debugfs.c | 152 		   atomic_long_read(&tunnel->stats.tx_packets),  in l2tp_dfs_seq_tunnel_show() 153 		   atomic_long_read(&tunnel->stats.tx_bytes),  in l2tp_dfs_seq_tunnel_show() 154 		   atomic_long_read(&tunnel->stats.tx_errors),  in l2tp_dfs_seq_tunnel_show() 155 		   atomic_long_read(&tunnel->stats.rx_packets),  in l2tp_dfs_seq_tunnel_show() 156 		   atomic_long_read(&tunnel->stats.rx_bytes),  in l2tp_dfs_seq_tunnel_show() 157 		   atomic_long_read(&tunnel->stats.rx_errors));  in l2tp_dfs_seq_tunnel_show() 209 		   atomic_long_read(&session->stats.tx_packets),  in l2tp_dfs_seq_session_show() 210 		   atomic_long_read(&session->stats.tx_bytes),  in l2tp_dfs_seq_session_show() 211 		   atomic_long_read(&session->stats.tx_errors),  in l2tp_dfs_seq_session_show() 212 		   atomic_long_read(&session->stats.rx_packets),  in l2tp_dfs_seq_session_show() [all …] 
 | 
| D | l2tp_ppp.c | 261 			atomic_long_inc(&session->stats.rx_errors);  in pppol2tp_recv() 987 				struct l2tp_stats *stats)  in pppol2tp_copy_stats()  argument 989 	dest->tx_packets = atomic_long_read(&stats->tx_packets);  in pppol2tp_copy_stats() 990 	dest->tx_bytes = atomic_long_read(&stats->tx_bytes);  in pppol2tp_copy_stats() 991 	dest->tx_errors = atomic_long_read(&stats->tx_errors);  in pppol2tp_copy_stats() 992 	dest->rx_packets = atomic_long_read(&stats->rx_packets);  in pppol2tp_copy_stats() 993 	dest->rx_bytes = atomic_long_read(&stats->rx_bytes);  in pppol2tp_copy_stats() 994 	dest->rx_seq_discards = atomic_long_read(&stats->rx_seq_discards);  in pppol2tp_copy_stats() 995 	dest->rx_oos_packets = atomic_long_read(&stats->rx_oos_packets);  in pppol2tp_copy_stats() 996 	dest->rx_errors = atomic_long_read(&stats->rx_errors);  in pppol2tp_copy_stats() [all …] 
 | 
| D | l2tp_eth.c | 110 						      struct rtnl_link_stats64 *stats)  in l2tp_eth_get_stats64()  argument 114 	stats->tx_bytes   = atomic_long_read(&priv->tx_bytes);  in l2tp_eth_get_stats64() 115 	stats->tx_packets = atomic_long_read(&priv->tx_packets);  in l2tp_eth_get_stats64() 116 	stats->tx_dropped = atomic_long_read(&priv->tx_dropped);  in l2tp_eth_get_stats64() 117 	stats->rx_bytes   = atomic_long_read(&priv->rx_bytes);  in l2tp_eth_get_stats64() 118 	stats->rx_packets = atomic_long_read(&priv->rx_packets);  in l2tp_eth_get_stats64() 119 	stats->rx_errors  = atomic_long_read(&priv->rx_errors);  in l2tp_eth_get_stats64() 120 	return stats;  in l2tp_eth_get_stats64()
  | 
| /linux-4.1.27/net/rds/ | 
| D | tcp_stats.c | 54 	struct rds_tcp_statistics stats = {0, };  in rds_tcp_stats_info_copy()  local 65 		sum = (uint64_t *)&stats;  in rds_tcp_stats_info_copy() 66 		for (i = 0; i < sizeof(stats) / sizeof(uint64_t); i++)  in rds_tcp_stats_info_copy() 70 	rds_stats_info_copy(iter, (uint64_t *)&stats, rds_tcp_stat_names,  in rds_tcp_stats_info_copy()
  | 
| D | iw_stats.c | 75 	struct rds_iw_statistics stats = {0, };  in rds_iw_stats_info_copy()  local 86 		sum = (uint64_t *)&stats;  in rds_iw_stats_info_copy() 87 		for (i = 0; i < sizeof(stats) / sizeof(uint64_t); i++)  in rds_iw_stats_info_copy() 91 	rds_stats_info_copy(iter, (uint64_t *)&stats, rds_iw_stat_names,  in rds_iw_stats_info_copy()
  | 
| D | ib_stats.c | 77 	struct rds_ib_statistics stats = {0, };  in rds_ib_stats_info_copy()  local 88 		sum = (uint64_t *)&stats;  in rds_ib_stats_info_copy() 89 		for (i = 0; i < sizeof(stats) / sizeof(uint64_t); i++)  in rds_ib_stats_info_copy() 93 	rds_stats_info_copy(iter, (uint64_t *)&stats, rds_ib_stat_names,  in rds_ib_stats_info_copy()
  | 
| D | stats.c | 112 	struct rds_statistics stats = {0, };  in rds_stats_info()  local 128 		sum = (uint64_t *)&stats;  in rds_stats_info() 129 		for (i = 0; i < sizeof(stats) / sizeof(uint64_t); i++)  in rds_stats_info() 133 	rds_stats_info_copy(iter, (uint64_t *)&stats, rds_stat_names,  in rds_stats_info()
  | 
| /linux-4.1.27/drivers/net/vmxnet3/ | 
| D | vmxnet3_ethtool.c | 118 		   struct rtnl_link_stats64 *stats)  in vmxnet3_get_stats64()  argument 136 		devTxStats = &adapter->tqd_start[i].stats;  in vmxnet3_get_stats64() 137 		drvTxStats = &adapter->tx_queue[i].stats;  in vmxnet3_get_stats64() 138 		stats->tx_packets += devTxStats->ucastPktsTxOK +  in vmxnet3_get_stats64() 141 		stats->tx_bytes += devTxStats->ucastBytesTxOK +  in vmxnet3_get_stats64() 144 		stats->tx_errors += devTxStats->pktsTxError;  in vmxnet3_get_stats64() 145 		stats->tx_dropped += drvTxStats->drop_total;  in vmxnet3_get_stats64() 149 		devRxStats = &adapter->rqd_start[i].stats;  in vmxnet3_get_stats64() 150 		drvRxStats = &adapter->rx_queue[i].stats;  in vmxnet3_get_stats64() 151 		stats->rx_packets += devRxStats->ucastPktsRxOK +  in vmxnet3_get_stats64() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/amd/ | 
| D | 7990.c | 303 			dev->stats.rx_over_errors++;  in lance_rx() 304 			dev->stats.rx_errors++;  in lance_rx() 311 				dev->stats.rx_fifo_errors++;  in lance_rx() 313 				dev->stats.rx_crc_errors++;  in lance_rx() 315 				dev->stats.rx_over_errors++;  in lance_rx() 317 				dev->stats.rx_frame_errors++;  in lance_rx() 319 				dev->stats.rx_errors++;  in lance_rx() 325 				dev->stats.rx_dropped++;  in lance_rx() 339 			dev->stats.rx_packets++;  in lance_rx() 340 			dev->stats.rx_bytes += len;  in lance_rx() [all …] 
 | 
| D | sunlance.c | 522 			dev->stats.rx_over_errors++;  in lance_rx_dvma() 523 			dev->stats.rx_errors++;  in lance_rx_dvma() 528 			if (bits & LE_R1_BUF) dev->stats.rx_fifo_errors++;  in lance_rx_dvma() 529 			if (bits & LE_R1_CRC) dev->stats.rx_crc_errors++;  in lance_rx_dvma() 530 			if (bits & LE_R1_OFL) dev->stats.rx_over_errors++;  in lance_rx_dvma() 531 			if (bits & LE_R1_FRA) dev->stats.rx_frame_errors++;  in lance_rx_dvma() 532 			if (bits & LE_R1_EOP) dev->stats.rx_errors++;  in lance_rx_dvma() 538 				dev->stats.rx_dropped++;  in lance_rx_dvma() 545 			dev->stats.rx_bytes += len;  in lance_rx_dvma() 554 			dev->stats.rx_packets++;  in lance_rx_dvma() [all …] 
 | 
| D | a2065.c | 275 			dev->stats.rx_over_errors++;  in lance_rx() 276 			dev->stats.rx_errors++;  in lance_rx() 283 				dev->stats.rx_fifo_errors++;  in lance_rx() 285 				dev->stats.rx_crc_errors++;  in lance_rx() 287 				dev->stats.rx_over_errors++;  in lance_rx() 289 				dev->stats.rx_frame_errors++;  in lance_rx() 291 				dev->stats.rx_errors++;  in lance_rx() 297 				dev->stats.rx_dropped++;  in lance_rx() 311 			dev->stats.rx_packets++;  in lance_rx() 312 			dev->stats.rx_bytes += len;  in lance_rx() [all …] 
 | 
| D | ariadne.c | 180 				dev->stats.rx_errors++;  in ariadne_rx() 182 				dev->stats.rx_frame_errors++;  in ariadne_rx() 184 				dev->stats.rx_over_errors++;  in ariadne_rx() 186 				dev->stats.rx_crc_errors++;  in ariadne_rx() 188 				dev->stats.rx_fifo_errors++;  in ariadne_rx() 202 					dev->stats.rx_dropped++;  in ariadne_rx() 222 			dev->stats.rx_packets++;  in ariadne_rx() 223 			dev->stats.rx_bytes += pkt_len;  in ariadne_rx() 320 					dev->stats.tx_errors++;  in ariadne_interrupt() 322 						dev->stats.tx_aborted_errors++;  in ariadne_interrupt() [all …] 
 | 
| D | sun3lance.c | 538 		dev->stats.tx_errors++;  in lance_start_xmit() 632 	dev->stats.tx_bytes += skb->len;  in lance_start_xmit() 709 				dev->stats.tx_errors++;  in lance_interrupt() 710 				if (status & TMD3_RTRY) dev->stats.tx_aborted_errors++;  in lance_interrupt() 711 				if (status & TMD3_LCAR) dev->stats.tx_carrier_errors++;  in lance_interrupt() 712 				if (status & TMD3_LCOL) dev->stats.tx_window_errors++;  in lance_interrupt() 714 					dev->stats.tx_fifo_errors++;  in lance_interrupt() 727 					dev->stats.collisions++;  in lance_interrupt() 729 				dev->stats.tx_packets++;  in lance_interrupt() 749 	if (csr0 & CSR0_BABL) dev->stats.tx_errors++; /* Tx babble. */  in lance_interrupt() [all …] 
 | 
| D | atarilance.c | 744 	dev->stats.tx_errors++;  in lance_tx_timeout() 826 	dev->stats.tx_bytes += skb->len;  in lance_start_xmit() 896 					dev->stats.tx_errors++;  in lance_interrupt() 897 					if (err_status & TMD3_RTRY) dev->stats.tx_aborted_errors++;  in lance_interrupt() 898 					if (err_status & TMD3_LCAR) dev->stats.tx_carrier_errors++;  in lance_interrupt() 899 					if (err_status & TMD3_LCOL) dev->stats.tx_window_errors++;  in lance_interrupt() 902 						dev->stats.tx_fifo_errors++;  in lance_interrupt() 911 						dev->stats.collisions++;  in lance_interrupt() 912 					dev->stats.tx_packets++;  in lance_interrupt() 939 		if (csr0 & CSR0_BABL) dev->stats.tx_errors++; /* Tx babble. */  in lance_interrupt() [all …] 
 | 
| D | lance.c | 926 	dev->stats.tx_errors++;  in lance_tx_timeout() 990 	dev->stats.tx_bytes += skb->len;  in lance_start_xmit() 1063 					dev->stats.tx_errors++;  in lance_interrupt() 1065 						dev->stats.tx_aborted_errors++;  in lance_interrupt() 1067 						dev->stats.tx_carrier_errors++;  in lance_interrupt() 1069 						dev->stats.tx_window_errors++;  in lance_interrupt() 1072 						dev->stats.tx_fifo_errors++;  in lance_interrupt() 1081 						dev->stats.collisions++;  in lance_interrupt() 1082 					dev->stats.tx_packets++;  in lance_interrupt() 1113 			dev->stats.tx_errors++; /* Tx babble. */  in lance_interrupt() [all …] 
 | 
| D | am79c961a.c | 506 			dev->stats.rx_errors++;  in am79c961_rx() 509 					dev->stats.rx_frame_errors++;  in am79c961_rx() 511 					dev->stats.rx_crc_errors++;  in am79c961_rx() 513 				dev->stats.rx_length_errors++;  in am79c961_rx() 527 			dev->stats.rx_bytes += len;  in am79c961_rx() 528 			dev->stats.rx_packets++;  in am79c961_rx() 531 			dev->stats.rx_dropped++;  in am79c961_rx() 560 			dev->stats.tx_errors++;  in am79c961_tx() 570 				dev->stats.collisions += 16;  in am79c961_tx() 572 				dev->stats.tx_window_errors++;  in am79c961_tx() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ | 
| D | rx.c | 475 		struct iwl_bt_notif_statistics *stats;  in iwlagn_rx_statistics()  local 476 		stats = (void *)&pkt->data;  in iwlagn_rx_statistics() 477 		flag = &stats->flag;  in iwlagn_rx_statistics() 478 		common = &stats->general.common;  in iwlagn_rx_statistics() 479 		rx_non_phy = &stats->rx.general.common;  in iwlagn_rx_statistics() 480 		rx_ofdm = &stats->rx.ofdm;  in iwlagn_rx_statistics() 481 		rx_ofdm_ht = &stats->rx.ofdm_ht;  in iwlagn_rx_statistics() 482 		rx_cck = &stats->rx.cck;  in iwlagn_rx_statistics() 483 		tx = &stats->tx;  in iwlagn_rx_statistics() 484 		bt_activity = &stats->general.activity;  in iwlagn_rx_statistics() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/apple/ | 
| D | macmace.c | 465 	dev->stats.tx_packets++;  in mace_xmit_start() 466 	dev->stats.tx_bytes += skb->len;  in mace_xmit_start() 542 		dev->stats.rx_missed_errors += 256;  in mace_handle_misc_intrs() 543 	dev->stats.rx_missed_errors += mb->mpc;   /* reading clears it */  in mace_handle_misc_intrs() 545 		dev->stats.rx_length_errors += 256;  in mace_handle_misc_intrs() 546 	dev->stats.rx_length_errors += mb->rntpc; /* reading clears it */  in mace_handle_misc_intrs() 548 		++dev->stats.tx_heartbeat_errors;  in mace_handle_misc_intrs() 587 			++dev->stats.tx_errors;  in mace_interrupt() 589 				++dev->stats.tx_carrier_errors;  in mace_interrupt() 591 				++dev->stats.tx_aborted_errors;  in mace_interrupt() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/ti/wl1251/ | 
| D | debugfs.c | 81 			wl->stats.fw_stats->sub.name);			\ 108 	    time_after(jiffies, wl->stats.fw_stats_update +  in wl1251_debugfs_update_stats() 110 		wl1251_acx_statistics(wl, wl->stats.fw_stats);  in wl1251_debugfs_update_stats() 111 		wl->stats.fw_stats_update = jiffies;  in wl1251_debugfs_update_stats() 212 DEBUGFS_READONLY_FILE(retry_count, 20, "%u", wl->stats.retry_count); 214 		      wl->stats.excessive_retries); 466 	if (wl->stats.fw_stats != NULL)  in wl1251_debugfs_reset() 467 		memset(wl->stats.fw_stats, 0, sizeof(*wl->stats.fw_stats));  in wl1251_debugfs_reset() 468 	wl->stats.retry_count = 0;  in wl1251_debugfs_reset() 469 	wl->stats.excessive_retries = 0;  in wl1251_debugfs_reset() [all …] 
 | 
| /linux-4.1.27/net/sched/ | 
| D | sch_red.c | 45 	struct red_stats	stats;  member 79 			q->stats.prob_drop++;  in red_enqueue() 83 		q->stats.prob_mark++;  in red_enqueue() 90 			q->stats.forced_drop++;  in red_enqueue() 94 		q->stats.forced_mark++;  in red_enqueue() 102 		q->stats.pdrop++;  in red_enqueue() 144 		q->stats.other++;  in red_drop() 289 		.early	= q->stats.prob_drop + q->stats.forced_drop,  in red_dump_stats() 290 		.pdrop	= q->stats.pdrop,  in red_dump_stats() 291 		.other	= q->stats.other,  in red_dump_stats() [all …] 
 | 
| D | sch_codel.c | 59 	struct codel_stats	stats;  member 80 	skb = codel_dequeue(sch, &q->params, &q->vars, &q->stats, dequeue);  in codel_qdisc_dequeue() 85 	if (q->stats.drop_count && sch->q.qlen) {  in codel_qdisc_dequeue() 86 		qdisc_tree_decrease_qlen(sch, q->stats.drop_count);  in codel_qdisc_dequeue() 87 		q->stats.drop_count = 0;  in codel_qdisc_dequeue() 169 	codel_stats_init(&q->stats);  in codel_init() 216 		.maxpacket	= q->stats.maxpacket,  in codel_dump_stats() 222 		.ecn_mark	= q->stats.ecn_mark,  in codel_dump_stats()
  | 
| D | sch_choke.c | 69 	} stats;  member 296 			q->stats.matched++;  in choke_enqueue() 308 				q->stats.forced_drop++;  in choke_enqueue() 312 			q->stats.forced_mark++;  in choke_enqueue() 320 					q->stats.prob_drop++;  in choke_enqueue() 324 				q->stats.prob_mark++;  in choke_enqueue() 339 	q->stats.pdrop++;  in choke_enqueue() 381 		q->stats.other++;  in choke_drop() 531 		.early	= q->stats.prob_drop + q->stats.forced_drop,  in choke_dump_stats() 532 		.marked	= q->stats.prob_mark + q->stats.forced_mark,  in choke_dump_stats() [all …] 
 | 
| D | sch_pie.c | 75 	struct pie_stats stats;  member 143 		q->stats.overlimit++;  in pie_qdisc_enqueue() 154 		q->stats.ecn_mark++;  in pie_qdisc_enqueue() 160 		q->stats.packets_in++;  in pie_qdisc_enqueue() 161 		if (qdisc_qlen(sch) > q->stats.maxq)  in pie_qdisc_enqueue() 162 			q->stats.maxq = qdisc_qlen(sch);  in pie_qdisc_enqueue() 168 	q->stats.dropped++;  in pie_qdisc_enqueue() 499 		.packets_in	= q->stats.packets_in,  in pie_dump_stats() 500 		.overlimit	= q->stats.overlimit,  in pie_dump_stats() 501 		.maxq		= q->stats.maxq,  in pie_dump_stats() [all …] 
 | 
| /linux-4.1.27/net/bridge/ | 
| D | br_device.c | 40 	struct pcpu_sw_netstats *brstats = this_cpu_ptr(br->stats);  in br_dev_xmit() 102 	br->stats = netdev_alloc_pcpu_stats(struct pcpu_sw_netstats);  in br_dev_init() 103 	if (!br->stats)  in br_dev_init() 108 		free_percpu(br->stats);  in br_dev_init() 149 						struct rtnl_link_stats64 *stats)  in br_get_stats64()  argument 158 			= per_cpu_ptr(br->stats, cpu);  in br_get_stats64() 169 	stats->tx_bytes   = sum.tx_bytes;  in br_get_stats64() 170 	stats->tx_packets = sum.tx_packets;  in br_get_stats64() 171 	stats->rx_bytes   = sum.rx_bytes;  in br_get_stats64() 172 	stats->rx_packets = sum.rx_packets;  in br_get_stats64() [all …] 
 | 
| /linux-4.1.27/drivers/block/rsxx/ | 
| D | dma.c | 215 		q_depth += atomic_read(&card->ctrl[i].stats.hw_q_depth);  in dma_intr_coal_auto_tune() 244 		ctrl->stats.dma_sw_err++;  in rsxx_complete_dma() 246 		ctrl->stats.dma_hw_fault++;  in rsxx_complete_dma() 248 		ctrl->stats.dma_cancelled++;  in rsxx_complete_dma() 283 	ctrl->stats.sw_q_depth++;  in rsxx_requeue_dma() 300 		ctrl->stats.crc_errors++;  in rsxx_handle_dma_error() 302 		ctrl->stats.hard_errors++;  in rsxx_handle_dma_error() 304 		ctrl->stats.soft_errors++;  in rsxx_handle_dma_error() 312 				ctrl->stats.reads_retried++;  in rsxx_handle_dma_error() 315 				ctrl->stats.reads_failed++;  in rsxx_handle_dma_error() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/ipw2x00/ | 
| D | libipw_rx.c | 413 		dev->stats.rx_packets++;  in libipw_rx() 414 		dev->stats.rx_bytes += skb->len;  in libipw_rx() 521 		stats = hostap_get_stats(dev);  in libipw_rx() 530 		stats = hostap_get_stats(dev);  in libipw_rx() 770 	dev->stats.rx_packets++;  in libipw_rx() 771 	dev->stats.rx_bytes += skb->len;  in libipw_rx() 813 			dev->stats.rx_dropped++;  in libipw_rx() 825 	dev->stats.rx_dropped++;  in libipw_rx() 837 		     struct sk_buff *skb, struct libipw_rx_stats *stats)  in libipw_rx_any()  argument 844 		if (!libipw_rx(ieee, skb, stats))  in libipw_rx_any() [all …] 
 | 
| /linux-4.1.27/net/irda/irlan/ | 
| D | irlan_eth.c | 205 		dev->stats.tx_dropped++;  in irlan_eth_xmit() 207 		dev->stats.tx_packets++;  in irlan_eth_xmit() 208 		dev->stats.tx_bytes += len;  in irlan_eth_xmit() 226 		dev->stats.rx_dropped++;  in irlan_eth_receive() 232 		dev->stats.rx_dropped++;  in irlan_eth_receive() 244 	dev->stats.rx_packets++;  in irlan_eth_receive() 245 	dev->stats.rx_bytes += skb->len;  in irlan_eth_receive()
  | 
| /linux-4.1.27/drivers/ipack/devices/ | 
| D | ipoctal.c | 34 	struct ipoctal_stats		stats;  member 107 static void ipoctal_reset_stats(struct ipoctal_stats *stats)  in ipoctal_reset_stats()  argument 109 	stats->tx = 0;  in ipoctal_reset_stats() 110 	stats->rx = 0;  in ipoctal_reset_stats() 111 	stats->rcv_break = 0;  in ipoctal_reset_stats() 112 	stats->framing_err = 0;  in ipoctal_reset_stats() 113 	stats->overrun_err = 0;  in ipoctal_reset_stats() 114 	stats->parity_err = 0;  in ipoctal_reset_stats() 119 	ipoctal_reset_stats(&channel->stats);  in ipoctal_free_channel() 142 	icount->rx = channel->stats.rx;  in ipoctal_get_icount() [all …] 
 | 
| /linux-4.1.27/drivers/net/irda/ | 
| D | mcs7780.c | 404 		++mcs->netdev->stats.rx_errors;  in mcs_unwrap_mir() 405 		++mcs->netdev->stats.rx_length_errors;  in mcs_unwrap_mir() 414 		mcs->netdev->stats.rx_errors++;  in mcs_unwrap_mir() 415 		mcs->netdev->stats.rx_crc_errors++;  in mcs_unwrap_mir() 421 		++mcs->netdev->stats.rx_dropped;  in mcs_unwrap_mir() 434 	mcs->netdev->stats.rx_packets++;  in mcs_unwrap_mir() 435 	mcs->netdev->stats.rx_bytes += new_len;  in mcs_unwrap_mir() 457 		++mcs->netdev->stats.rx_errors;  in mcs_unwrap_fir() 458 		++mcs->netdev->stats.rx_length_errors;  in mcs_unwrap_fir() 466 		mcs->netdev->stats.rx_errors++;  in mcs_unwrap_fir() [all …] 
 | 
| D | vlsi_ir.c | 285 		ndev->stats.rx_packets, ndev->stats.rx_bytes, ndev->stats.rx_errors,  in vlsi_proc_ndev() 286 		ndev->stats.rx_dropped);  in vlsi_proc_ndev() 288 		ndev->stats.rx_over_errors, ndev->stats.rx_length_errors,  in vlsi_proc_ndev() 289 		ndev->stats.rx_frame_errors, ndev->stats.rx_crc_errors);  in vlsi_proc_ndev() 291 		ndev->stats.tx_packets, ndev->stats.tx_bytes, ndev->stats.tx_errors,  in vlsi_proc_ndev() 292 		ndev->stats.tx_dropped, ndev->stats.tx_fifo_errors);  in vlsi_proc_ndev() 638 			ndev->stats.rx_errors++;  in vlsi_rx_interrupt() 640 				ndev->stats.rx_dropped++;  in vlsi_rx_interrupt() 642 				ndev->stats.rx_over_errors++;  in vlsi_rx_interrupt() 644 				ndev->stats.rx_length_errors++;  in vlsi_rx_interrupt() [all …] 
 | 
| D | pxaficp_ir.c | 283 				dev->stats.rx_errors++;  in pxa_irda_sir_irq() 285 					dev->stats.rx_frame_errors++;  in pxa_irda_sir_irq() 287 					dev->stats.rx_fifo_errors++;  in pxa_irda_sir_irq() 289 				dev->stats.rx_bytes++;  in pxa_irda_sir_irq() 290 				async_unwrap_char(dev, &dev->stats,  in pxa_irda_sir_irq() 303 		    dev->stats.rx_bytes++;  in pxa_irda_sir_irq() 304 	            async_unwrap_char(dev, &dev->stats, &si->rx_buff, STRBR);  in pxa_irda_sir_irq() 316 			dev->stats.tx_packets++;  in pxa_irda_sir_irq() 317 			dev->stats.tx_bytes += si->tx_buff.data - si->tx_buff.head;  in pxa_irda_sir_irq() 368 		dev->stats.tx_packets++;  in pxa_irda_fir_dma_tx_irq() [all …] 
 | 
| D | sa1100_ir.c | 234 	dev->stats.tx_packets++;  in sa1100_irda_sirtxdma_irq() 235 	dev->stats.tx_bytes += sg_dma_len(&si->dma_tx.sg);  in sa1100_irda_sirtxdma_irq() 267 		dev->stats.tx_dropped++;  in sa1100_irda_sir_tx_start() 299 			dev->stats.rx_errors++;  in sa1100_irda_sir_irq() 301 				dev->stats.rx_frame_errors++;  in sa1100_irda_sir_irq() 303 				dev->stats.rx_fifo_errors++;  in sa1100_irda_sir_irq() 305 			async_unwrap_char(dev, &dev->stats, &si->rx_buff, data);  in sa1100_irda_sir_irq() 320 		async_unwrap_char(dev, &dev->stats, &si->rx_buff, Ser2UTDR);  in sa1100_irda_sir_irq() 321 		async_unwrap_char(dev, &dev->stats, &si->rx_buff, Ser2UTDR);  in sa1100_irda_sir_irq() 322 		async_unwrap_char(dev, &dev->stats, &si->rx_buff, Ser2UTDR);  in sa1100_irda_sir_irq() [all …] 
 | 
| /linux-4.1.27/arch/powerpc/platforms/cell/spufs/ | 
| D | fault.c | 137 	ctx->stats.hash_flt++;  in spufs_handle_class1() 139 		ctx->spu->stats.hash_flt++;  in spufs_handle_class1() 174 			ctx->stats.maj_flt++;  in spufs_handle_class1() 176 			ctx->stats.min_flt++;  in spufs_handle_class1() 179 				ctx->spu->stats.maj_flt++;  in spufs_handle_class1() 181 				ctx->spu->stats.min_flt++;  in spufs_handle_class1()
  | 
| D | sched.c | 231 	ctx->stats.slb_flt_base = spu->stats.slb_flt;  in spu_bind_context() 232 	ctx->stats.class2_intr_base = spu->stats.class2_intr;  in spu_bind_context() 476 	ctx->stats.slb_flt +=  in spu_unbind_context() 477 		(spu->stats.slb_flt - ctx->stats.slb_flt_base);  in spu_unbind_context() 478 	ctx->stats.class2_intr +=  in spu_unbind_context() 479 		(spu->stats.class2_intr - ctx->stats.class2_intr_base);  in spu_unbind_context() 702 			victim->stats.invol_ctx_switch++;  in find_victim() 703 			spu->stats.invol_ctx_switch++;  in find_victim() 772 	ctx->stats.invol_ctx_switch++;  in spu_unschedule() 773 	spu->stats.invol_ctx_switch++;  in spu_unschedule() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/hostap/ | 
| D | hostap_80211_tx.c | 216 			iface->stats.tx_dropped++;  in hostap_data_start_xmit() 222 			iface->stats.tx_dropped++;  in hostap_data_start_xmit() 230 			iface->stats.tx_dropped++;  in hostap_data_start_xmit() 236 			iface->stats.tx_dropped++;  in hostap_data_start_xmit() 248 	iface->stats.tx_packets++;  in hostap_data_start_xmit() 249 	iface->stats.tx_bytes += skb->len;  in hostap_data_start_xmit() 287 	iface->stats.tx_packets++;  in hostap_mgmt_start_xmit() 288 	iface->stats.tx_bytes += skb->len;  in hostap_mgmt_start_xmit() 406 		iface->stats.tx_dropped++;  in hostap_master_start_xmit() 424 		iface->stats.tx_dropped++;  in hostap_master_start_xmit() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/freescale/ | 
| D | fec_mpc52xx.c | 97 	dev->stats.tx_errors++;  in mpc52xx_fec_tx_timeout() 403 			dev->stats.rx_dropped++;  in mpc52xx_fec_rx_interrupt() 414 			dev->stats.rx_dropped++;  in mpc52xx_fec_rx_interrupt() 484 	struct net_device_stats *stats = &dev->stats;  in mpc52xx_fec_get_stats()  local 487 	stats->rx_bytes = in_be32(&fec->rmon_r_octets);  in mpc52xx_fec_get_stats() 488 	stats->rx_packets = in_be32(&fec->rmon_r_packets);  in mpc52xx_fec_get_stats() 489 	stats->rx_errors = in_be32(&fec->rmon_r_crc_align) +  in mpc52xx_fec_get_stats() 495 	stats->tx_bytes = in_be32(&fec->rmon_t_octets);  in mpc52xx_fec_get_stats() 496 	stats->tx_packets = in_be32(&fec->rmon_t_packets);  in mpc52xx_fec_get_stats() 497 	stats->tx_errors = in_be32(&fec->rmon_t_crc_align) +  in mpc52xx_fec_get_stats() [all …] 
 | 
| /linux-4.1.27/net/rose/ | 
| D | rose_dev.c | 102 	struct net_device_stats *stats = &dev->stats;  in rose_xmit()  local 112 		stats->tx_errors++;  in rose_xmit() 116 	stats->tx_packets++;  in rose_xmit() 117 	stats->tx_bytes += len;  in rose_xmit()
  | 
| /linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ | 
| D | ixgbe_mbx.c | 262 		hw->mbx.stats.reqs++;  in ixgbe_check_for_msg_pf() 283 		hw->mbx.stats.acks++;  in ixgbe_check_for_ack_pf() 318 		hw->mbx.stats.rsts++;  in ixgbe_check_for_rst_pf() 379 	hw->mbx.stats.msgs_tx++;  in ixgbe_write_mbx_pf() 414 	hw->mbx.stats.msgs_rx++;  in ixgbe_read_mbx_pf() 439 	mbx->stats.msgs_tx = 0;  in ixgbe_init_mbx_params_pf() 440 	mbx->stats.msgs_rx = 0;  in ixgbe_init_mbx_params_pf() 441 	mbx->stats.reqs = 0;  in ixgbe_init_mbx_params_pf() 442 	mbx->stats.acks = 0;  in ixgbe_init_mbx_params_pf() 443 	mbx->stats.rsts = 0;  in ixgbe_init_mbx_params_pf()
  | 
| /linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ | 
| D | norm_desc.c | 33 	struct net_device_stats *stats = (struct net_device_stats *)data;  in ndesc_get_tx_status()  local 38 			stats->tx_fifo_errors++;  in ndesc_get_tx_status() 42 			stats->tx_carrier_errors++;  in ndesc_get_tx_status() 46 			stats->tx_carrier_errors++;  in ndesc_get_tx_status() 51 			stats->collisions += p->des01.tx.collision_count;  in ndesc_get_tx_status() 77 	struct net_device_stats *stats = (struct net_device_stats *)data;  in ndesc_get_rx_status()  local 82 		stats->rx_length_errors++;  in ndesc_get_rx_status() 97 			stats->collisions++;  in ndesc_get_rx_status() 101 			stats->rx_crc_errors++;  in ndesc_get_rx_status()
  | 
| D | dwmac100_dma.c | 108 	struct net_device_stats *stats = (struct net_device_stats *)data;  in dwmac100_dma_diagnostic_fr()  local 113 			stats->rx_over_errors += 0x800;  in dwmac100_dma_diagnostic_fr() 118 			stats->rx_over_errors += ove_cntr;  in dwmac100_dma_diagnostic_fr() 123 			stats->rx_missed_errors += 0xffff;  in dwmac100_dma_diagnostic_fr() 127 			stats->rx_missed_errors += miss_f;  in dwmac100_dma_diagnostic_fr()
  | 
| /linux-4.1.27/drivers/block/zram/ | 
| D | zram_drv.c | 63 		(u64)atomic64_read(&zram->stats.name));			\ 92 	atomic64_add(nr_migrated, &zram->stats.num_migrated);  in compact_store() 126 		(u64)(atomic64_read(&zram->stats.pages_stored)) << PAGE_SHIFT);  in orig_data_size_show() 200 		val = atomic_long_read(&zram->stats.max_used_pages);  in mem_used_max_show() 220 		atomic_long_set(&zram->stats.max_used_pages,  in mem_used_max_store() 464 			atomic64_dec(&zram->stats.zero_pages);  in zram_free_page() 472 			&zram->stats.compr_data_size);  in zram_free_page() 473 	atomic64_dec(&zram->stats.pages_stored);  in zram_free_page() 569 	old_max = atomic_long_read(&zram->stats.max_used_pages);  in update_used_max() 575 				&zram->stats.max_used_pages, cur_max, pages);  in update_used_max() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/intel/fm10k/ | 
| D | fm10k_pf.c | 1390 				     struct fm10k_hw_stats *stats)  in fm10k_update_hw_stats_pf()  argument 1401 						  &stats->timeout);  in fm10k_update_hw_stats_pf() 1402 		ur = fm10k_read_hw_stats_32b(hw, FM10K_STATS_UR, &stats->ur);  in fm10k_update_hw_stats_pf() 1403 		ca = fm10k_read_hw_stats_32b(hw, FM10K_STATS_CA, &stats->ca);  in fm10k_update_hw_stats_pf() 1404 		um = fm10k_read_hw_stats_32b(hw, FM10K_STATS_UM, &stats->um);  in fm10k_update_hw_stats_pf() 1405 		xec = fm10k_read_hw_stats_32b(hw, FM10K_STATS_XEC, &stats->xec);  in fm10k_update_hw_stats_pf() 1407 						    &stats->vlan_drop);  in fm10k_update_hw_stats_pf() 1410 							&stats->loopback_drop);  in fm10k_update_hw_stats_pf() 1413 						      &stats->nodesc_drop);  in fm10k_update_hw_stats_pf() 1425 	if (stats->stats_idx == id) {  in fm10k_update_hw_stats_pf() [all …] 
 | 
| /linux-4.1.27/drivers/net/slip/ | 
| D | slip.c | 273 			dev->stats.tx_dropped++; 283 			dev->stats.rx_over_errors++; 338 				dev->stats.rx_over_errors++; 358 	dev->stats.rx_bytes += count; 363 		dev->stats.rx_dropped++; 371 	dev->stats.rx_packets++; 382 		sl->dev->stats.tx_dropped++; 436 		sl->dev->stats.tx_packets++; 512 	dev->stats.tx_bytes += skb->len; 575 sl_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)  argument [all …] 
 | 
| /linux-4.1.27/drivers/staging/netlogic/ | 
| D | xlr_net.c | 358 static void xlr_stats(struct net_device *ndev, struct rtnl_link_stats64 *stats)  in xlr_stats()  argument 362 	stats->rx_packets = xlr_nae_rdreg(priv->base_addr, RX_PACKET_COUNTER);  in xlr_stats() 363 	stats->tx_packets = xlr_nae_rdreg(priv->base_addr, TX_PACKET_COUNTER);  in xlr_stats() 364 	stats->rx_bytes = xlr_nae_rdreg(priv->base_addr, RX_BYTE_COUNTER);  in xlr_stats() 365 	stats->tx_bytes = xlr_nae_rdreg(priv->base_addr, TX_BYTE_COUNTER);  in xlr_stats() 366 	stats->tx_errors = xlr_nae_rdreg(priv->base_addr, TX_FCS_ERROR_COUNTER);  in xlr_stats() 367 	stats->rx_dropped = xlr_nae_rdreg(priv->base_addr,  in xlr_stats() 369 	stats->tx_dropped = xlr_nae_rdreg(priv->base_addr,  in xlr_stats() 372 	stats->multicast = xlr_nae_rdreg(priv->base_addr,  in xlr_stats() 374 	stats->collisions = xlr_nae_rdreg(priv->base_addr,  in xlr_stats() [all …] 
 | 
| /linux-4.1.27/drivers/usb/atm/ | 
| D | ueagle-atm.c | 203 	} stats;  member 298 	(GET_STATUS(sc->stats.phy.state) == 2) : \ 299 	(sc->stats.phy.state == 7)) 1319 	    sc->stats.phy.dsrate == dsrate)  in uea_set_bulk_timeout() 1341 	data = sc->stats.phy.state;  in uea_stat_e1() 1343 	ret = uea_read_cmv_e1(sc, E1_SA_STAT, 0, &sc->stats.phy.state);  in uea_stat_e1() 1347 	switch (GET_STATUS(sc->stats.phy.state)) {  in uea_stat_e1() 1376 			GET_STATUS(sc->stats.phy.state));  in uea_stat_e1() 1399 	ret = uea_read_cmv_e1(sc, E1_SA_DIAG, 2, &sc->stats.phy.flags);  in uea_stat_e1() 1402 	sc->stats.phy.mflags |= sc->stats.phy.flags;  in uea_stat_e1() [all …] 
 | 
| /linux-4.1.27/drivers/infiniband/ulp/iser/ | 
| D | iscsi_iser.c | 736 iscsi_iser_conn_get_stats(struct iscsi_cls_conn *cls_conn, struct iscsi_stats *stats)  in iscsi_iser_conn_get_stats()  argument 740 	stats->txdata_octets = conn->txdata_octets;  in iscsi_iser_conn_get_stats() 741 	stats->rxdata_octets = conn->rxdata_octets;  in iscsi_iser_conn_get_stats() 742 	stats->scsicmd_pdus = conn->scsicmd_pdus_cnt;  in iscsi_iser_conn_get_stats() 743 	stats->dataout_pdus = conn->dataout_pdus_cnt;  in iscsi_iser_conn_get_stats() 744 	stats->scsirsp_pdus = conn->scsirsp_pdus_cnt;  in iscsi_iser_conn_get_stats() 745 	stats->datain_pdus = conn->datain_pdus_cnt; /* always 0 */  in iscsi_iser_conn_get_stats() 746 	stats->r2t_pdus = conn->r2t_pdus_cnt; /* always 0 */  in iscsi_iser_conn_get_stats() 747 	stats->tmfcmd_pdus = conn->tmfcmd_pdus_cnt;  in iscsi_iser_conn_get_stats() 748 	stats->tmfrsp_pdus = conn->tmfrsp_pdus_cnt;  in iscsi_iser_conn_get_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/ | 
| D | pch_gbe_main.c | 649 	memset(&adapter->stats, 0, sizeof(adapter->stats));  in pch_gbe_init_stats() 1265 	struct pch_gbe_hw_stats *stats = &adapter->stats;  in pch_gbe_update_stats()  local 1278 	stats->rx_errors = stats->rx_crc_errors + stats->rx_frame_errors;  in pch_gbe_update_stats() 1279 	stats->tx_errors = stats->tx_length_errors +  in pch_gbe_update_stats() 1280 	    stats->tx_aborted_errors +  in pch_gbe_update_stats() 1281 	    stats->tx_carrier_errors + stats->tx_timeout_count;  in pch_gbe_update_stats() 1284 	netdev->stats.rx_packets = stats->rx_packets;  in pch_gbe_update_stats() 1285 	netdev->stats.rx_bytes = stats->rx_bytes;  in pch_gbe_update_stats() 1286 	netdev->stats.rx_dropped = stats->rx_dropped;  in pch_gbe_update_stats() 1287 	netdev->stats.tx_packets = stats->tx_packets;  in pch_gbe_update_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/can/sja1000/ | 
| D | sja1000.c | 340 	struct net_device_stats *stats = &dev->stats;  in sja1000_rx()  local 385 	stats->rx_packets++;  in sja1000_rx() 386 	stats->rx_bytes += cf->can_dlc;  in sja1000_rx() 394 	struct net_device_stats *stats = &dev->stats;  in sja1000_err()  local 417 		stats->rx_over_errors++;  in sja1000_err() 418 		stats->rx_errors++;  in sja1000_err() 436 		stats->rx_errors++;  in sja1000_err() 475 		stats->tx_errors++;  in sja1000_err() 492 	stats->rx_packets++;  in sja1000_err() 493 	stats->rx_bytes += cf->can_dlc;  in sja1000_err() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/realtek/ | 
| D | atp.c | 544 	dev->stats.tx_errors++;  in tx_timeout() 549 	dev->stats.tx_errors++;  in tx_timeout() 629 					dev->stats.rx_over_errors++;  in atp_interrupt() 649 				dev->stats.collisions++;  in atp_interrupt() 651 					dev->stats.tx_aborted_errors++;  in atp_interrupt() 660 				dev->stats.tx_packets++;  in atp_interrupt() 678 			dev->stats.rx_missed_errors++;  in atp_interrupt() 735 			  dev->stats.tx_errors++;  in atp_timed_checker() 737 			  dev->stats.tx_dropped++;  in atp_timed_checker() 739 			  dev->stats.collisions++;  in atp_timed_checker() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/ti/ | 
| D | davinci_cpdma.c | 123 	struct cpdma_chan_stats		stats;  member 565 			 struct cpdma_chan_stats *stats)  in cpdma_chan_get_stats()  argument 571 	memcpy(stats, &chan->stats, sizeof(*stats));  in cpdma_chan_get_stats() 595 		 chan->stats.head_enqueue);  in cpdma_chan_dump() 597 		 chan->stats.tail_enqueue);  in cpdma_chan_dump() 599 		 chan->stats.pad_enqueue);  in cpdma_chan_dump() 601 		 chan->stats.misqueued);  in cpdma_chan_dump() 603 		 chan->stats.desc_alloc_fail);  in cpdma_chan_dump() 605 		 chan->stats.pad_alloc_fail);  in cpdma_chan_dump() 607 		 chan->stats.runt_receive_buff);  in cpdma_chan_dump() [all …] 
 | 
| /linux-4.1.27/arch/m68k/emu/ | 
| D | nfeth.c | 107 		dev->stats.rx_errors++;  in recv_packet() 115 		dev->stats.rx_dropped++;  in recv_packet() 128 	dev->stats.rx_packets++;  in recv_packet() 129 	dev->stats.rx_bytes += pktlen;  in recv_packet() 168 	dev->stats.tx_packets++;  in nfeth_xmit() 169 	dev->stats.tx_bytes += len;  in nfeth_xmit() 177 	dev->stats.tx_errors++;  in nfeth_tx_timeout()
  | 
| /linux-4.1.27/drivers/net/ethernet/3com/ | 
| D | 3c589_cs.c | 536 	dev->stats.tx_errors++;  in el3_tx_timeout() 560 			dev->stats.tx_aborted_errors++;  in pop_tx_status() 578 	dev->stats.tx_bytes += skb->len;  in el3_start_xmit() 729 		dev->stats.tx_carrier_errors += errs;  in media_check() 778 	return &dev->stats;  in el3_get_stats() 798 	dev->stats.tx_carrier_errors	+= inb(ioaddr + 0);  in update_stats() 799 	dev->stats.tx_heartbeat_errors	+= inb(ioaddr + 1);  in update_stats() 802 	dev->stats.collisions		+= inb(ioaddr + 3);  in update_stats() 803 	dev->stats.tx_window_errors		+= inb(ioaddr + 4);  in update_stats() 804 	dev->stats.rx_fifo_errors		+= inb(ioaddr + 5);  in update_stats() [all …] 
 | 
| D | 3c515.c | 996 	dev->stats.tx_errors++;  in corkscrew_timeout() 997 	dev->stats.tx_dropped++;  in corkscrew_timeout() 1062 	dev->stats.tx_bytes += skb->len;  in corkscrew_start_xmit() 1105 					dev->stats.tx_fifo_errors++;  in corkscrew_start_xmit() 1107 					dev->stats.tx_aborted_errors++;  in corkscrew_start_xmit() 1281 			dev->stats.rx_errors++;  in corkscrew_rx() 1283 				dev->stats.rx_over_errors++;  in corkscrew_rx() 1285 				dev->stats.rx_length_errors++;  in corkscrew_rx() 1287 				dev->stats.rx_frame_errors++;  in corkscrew_rx() 1289 				dev->stats.rx_crc_errors++;  in corkscrew_rx() [all …] 
 | 
| D | 3c574_cs.c | 702 	dev->stats.tx_errors++;  in el3_tx_timeout() 727 			dev->stats.tx_aborted_errors++;  in pop_tx_status() 746 	dev->stats.tx_bytes += skb->len;  in el3_start_xmit() 947 	return &dev->stats;  in el3_get_stats() 967 	dev->stats.tx_carrier_errors 		+= inb(ioaddr + 0);  in update_stats() 968 	dev->stats.tx_heartbeat_errors		+= inb(ioaddr + 1);  in update_stats() 970 	dev->stats.collisions			+= inb(ioaddr + 3);  in update_stats() 971 	dev->stats.tx_window_errors		+= inb(ioaddr + 4);  in update_stats() 972 	dev->stats.rx_fifo_errors		+= inb(ioaddr + 5);  in update_stats() 973 	dev->stats.tx_packets			+= inb(ioaddr + 6);  in update_stats() [all …] 
 | 
| /linux-4.1.27/drivers/staging/fwserial/ | 
| D | fwserial.h | 162 struct stats {  struct 178 	void (*stats)(struct stats *stats, void *data);  argument 272 	struct stats		   stats;  member
  | 
| D | fwserial.c | 142 static void fwtty_dump_profile(struct seq_file *m, struct stats *stats)  in fwtty_dump_profile()  argument 157 		sum += stats->reads[j];  in fwtty_dump_profile() 160 		seq_printf(m, "%6d", stats->reads[j]);  in fwtty_dump_profile() 163 		sum += stats->writes[j];  in fwtty_dump_profile() 166 		seq_printf(m, "%6d", stats->writes[j]);  in fwtty_dump_profile() 169 		sum += stats->txns[j];  in fwtty_dump_profile() 172 		seq_printf(m, "%6d", stats->txns[j]);  in fwtty_dump_profile() 175 		sum += stats->unthrottle[j];  in fwtty_dump_profile() 178 		seq_printf(m, "%6d", stats->unthrottle[j]);  in fwtty_dump_profile() 183 #define fwtty_dump_profile(m, stats)  argument [all …] 
 | 
| /linux-4.1.27/Documentation/accounting/ | 
| D | taskstats.txt | 18 Linux task defined by struct task_struct.  per-pid stats are the same as 19 per-task stats. 42 an additional record containing the per-tgid stats is also sent to userspace. 43 The latter contains the sum of per-pid stats for all threads in the thread 96 a pid/tgid will be followed by some stats. 98 b) TASKSTATS_TYPE_PID/TGID: attribute whose payload is the pid/tgid whose stats 102 same structure is used for both per-pid and per-tgid stats. 107 a) TASKSTATS_TYPE_AGGR_PID: indicates next two attributes will be pid+stats 109 c) TASKSTATS_TYPE_STATS: contains the exiting task's per-pid stats 110 d) TASKSTATS_TYPE_AGGR_TGID: indicates next two attributes will be tgid+stats [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/tile/ | 
| D | tilepro.c | 174 	struct tile_net_stats_t stats;  member 686 	struct tile_net_stats_t *stats = &info->stats;  in tile_net_poll_aux()  local 758 	u64_stats_update_begin(&stats->syncp);  in tile_net_poll_aux() 763 			stats->rx_dropped++;  in tile_net_poll_aux() 765 			stats->rx_errors++;  in tile_net_poll_aux() 793 		stats->rx_packets++;  in tile_net_poll_aux() 794 		stats->rx_bytes += len;  in tile_net_poll_aux() 797 	u64_stats_update_end(&stats->syncp);  in tile_net_poll_aux() 1014 	u64_stats_init(&info->stats.syncp);  in tile_net_register() 1678 	struct tile_net_stats_t *stats = &info->stats;  in tile_net_tx_tso()  local [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/smsc/ | 
| D | epic100.c | 758 	struct net_device_stats *stats = &dev->stats;  in epic_pause()  local 771 		stats->rx_missed_errors	+= er8(MPCNT);  in epic_pause() 772 		stats->rx_frame_errors	+= er8(ALICNT);  in epic_pause() 773 		stats->rx_crc_errors	+= er8(CRCCNT);  in epic_pause() 885 		dev->stats.tx_fifo_errors++;  in epic_tx_timeout() 893 	dev->stats.tx_errors++;  in epic_tx_timeout() 1000 	struct net_device_stats *stats = &dev->stats;  in epic_tx_error()  local 1008 	stats->tx_errors++;  in epic_tx_error() 1010 		stats->tx_aborted_errors++;  in epic_tx_error() 1012 		stats->tx_carrier_errors++;  in epic_tx_error() [all …] 
 | 
| /linux-4.1.27/net/8021q/ | 
| D | vlanproc.c | 281 	const struct rtnl_link_stats64 *stats;  in vlandev_seq_show()  local 288 	stats = dev_get_stats(vlandev, &temp);  in vlandev_seq_show() 294 	seq_printf(seq, fmt64, "total frames received", stats->rx_packets);  in vlandev_seq_show() 295 	seq_printf(seq, fmt64, "total bytes received", stats->rx_bytes);  in vlandev_seq_show() 296 	seq_printf(seq, fmt64, "Broadcast/Multicast Rcvd", stats->multicast);  in vlandev_seq_show() 298 	seq_printf(seq, fmt64, "total frames transmitted", stats->tx_packets);  in vlandev_seq_show() 299 	seq_printf(seq, fmt64, "total bytes transmitted", stats->tx_bytes);  in vlandev_seq_show()
  | 
| /linux-4.1.27/drivers/net/can/cc770/ | 
| D | cc770.c | 396 	struct net_device_stats *stats = &dev->stats;  in cc770_start_xmit()  local 448 	stats->tx_bytes += dlc;  in cc770_start_xmit() 465 	struct net_device_stats *stats = &dev->stats;  in cc770_rx()  local 509 	stats->rx_packets++;  in cc770_rx() 510 	stats->rx_bytes += cf->can_dlc;  in cc770_rx() 516 	struct net_device_stats *stats = &dev->stats;  in cc770_err()  local 589 	stats->rx_packets++;  in cc770_err() 590 	stats->rx_bytes += cf->can_dlc;  in cc770_err() 616 	struct net_device_stats *stats = &dev->stats;  in cc770_rx_interrupt()  local 636 			stats->rx_over_errors++;  in cc770_rx_interrupt() [all …] 
 | 
| /linux-4.1.27/drivers/media/dvb-core/ | 
| D | dvb_net.c | 356 					dev->stats.rx_errors++;  in dvb_net_ule() 357 					dev->stats.rx_frame_errors++;  in dvb_net_ule() 410 					dev->stats.rx_errors++;  in dvb_net_ule() 411 					dev->stats.rx_frame_errors++;  in dvb_net_ule() 436 							dev->stats.rx_errors++;  in dvb_net_ule() 437 							dev->stats.rx_frame_errors++;  in dvb_net_ule() 455 					dev->stats.rx_errors++;  in dvb_net_ule() 456 					dev->stats.rx_length_errors++;  in dvb_net_ule() 499 					dev->stats.rx_errors++;  in dvb_net_ule() 500 					dev->stats.rx_length_errors++;  in dvb_net_ule() [all …] 
 | 
| /linux-4.1.27/include/linux/sunrpc/ | 
| D | metrics.h | 91 				     struct rpc_iostats *stats) {}  in rpc_count_iostats()  argument 93 					     struct rpc_iostats *stats)  in rpc_count_iostats_metrics()  argument 98 static inline void rpc_free_iostats(struct rpc_iostats *stats) {}  in rpc_free_iostats()  argument
  | 
| /linux-4.1.27/arch/powerpc/platforms/cell/ | 
| D | spu_base.c | 180 	spu->stats.slb_flt++;  in __spu_trap_data_seg() 394 	spu->stats.class2_intr++;  in spu_irq_class_2() 617 	spu->stats.util_state = SPU_UTIL_IDLE_LOADED;  in create_spu() 618 	spu->stats.tstamp = ktime_get_ns();  in create_spu() 641 	unsigned long long time = spu->stats.times[state];  in spu_acct_time() 648 	if (spu->stats.util_state == state)  in spu_acct_time() 649 		time += ktime_get_ns() - spu->stats.tstamp;  in spu_acct_time() 662 		spu_state_names[spu->stats.util_state],  in spu_stat_show() 667 		spu->stats.vol_ctx_switch,  in spu_stat_show() 668 		spu->stats.invol_ctx_switch,  in spu_stat_show() [all …] 
 | 
| /linux-4.1.27/drivers/media/usb/pvrusb2/ | 
| D | pvrusb2-debugifc.c | 153 	struct pvr2_stream_stats stats;  in pvr2_debugifc_print_status()  local 176 		pvr2_stream_get_stats(sp, &stats, 0);  in pvr2_debugifc_print_status() 182 			stats.bytes_processed,  in pvr2_debugifc_print_status() 183 			stats.buffers_in_queue,  in pvr2_debugifc_print_status() 184 			stats.buffers_in_idle,  in pvr2_debugifc_print_status() 185 			stats.buffers_in_ready,  in pvr2_debugifc_print_status() 186 			stats.buffers_processed,  in pvr2_debugifc_print_status() 187 			stats.buffers_failed);  in pvr2_debugifc_print_status()
  | 
| /linux-4.1.27/drivers/scsi/bfa/ | 
| D | bfa_fcs_fcpim.c | 462 		itnim->stats.fcxp_alloc_wait++;  in bfa_fcs_itnim_send_prli() 477 	itnim->stats.prli_sent++;  in bfa_fcs_itnim_send_prli() 498 		itnim->stats.prli_rsp_err++;  in bfa_fcs_itnim_prli_response() 518 				itnim->stats.prli_rsp_acc++;  in bfa_fcs_itnim_prli_response() 519 				itnim->stats.initiator++;  in bfa_fcs_itnim_prli_response() 525 			itnim->stats.prli_rsp_parse_err++;  in bfa_fcs_itnim_prli_response() 536 		itnim->stats.prli_rsp_acc++;  in bfa_fcs_itnim_prli_response() 544 		itnim->stats.prli_rsp_rjt++;  in bfa_fcs_itnim_prli_response() 558 	itnim->stats.timeout++;  in bfa_fcs_itnim_timeout() 639 	itnim->stats.onlines++;  in bfa_fcs_itnim_brp_online() [all …] 
 | 
| D | bfa_port.c | 28 bfa_port_stats_swap(struct bfa_port_s *port, union bfa_port_stats_u *stats)  in bfa_port_stats_swap()  argument 30 	u32    *dip = (u32 *) stats;  in bfa_port_stats_swap() 100 		memcpy(port->stats, port->stats_dma.kva,  in bfa_port_get_stats_isr() 102 		bfa_port_stats_swap(port, port->stats);  in bfa_port_get_stats_isr() 105 		port->stats->fc.secs_reset = tv.tv_sec - port->stats_reset_time;  in bfa_port_get_stats_isr() 344 bfa_port_get_stats(struct bfa_port_s *port, union bfa_port_stats_u *stats,  in bfa_port_get_stats()  argument 361 	port->stats	  = stats;  in bfa_port_get_stats() 573 		memcpy(cee->stats, cee->stats_dma.kva,  in bfa_cee_get_stats_isr() 576 		buffer = (u32 *)cee->stats;  in bfa_cee_get_stats_isr() 645 	cee->stats = (struct bfa_cee_stats_s *) (dma_kva + BFA_ROUNDUP(  in bfa_cee_mem_claim() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/intel/e1000e/ | 
| D | netdev.c | 4640 		adapter->stats.scc += phy_data;  in e1000e_update_phy_stats() 4646 		adapter->stats.ecol += phy_data;  in e1000e_update_phy_stats() 4652 		adapter->stats.mcc += phy_data;  in e1000e_update_phy_stats() 4658 		adapter->stats.latecol += phy_data;  in e1000e_update_phy_stats() 4670 		adapter->stats.dc += phy_data;  in e1000e_update_phy_stats() 4676 		adapter->stats.tncrs += phy_data;  in e1000e_update_phy_stats() 4700 	adapter->stats.crcerrs += er32(CRCERRS);  in e1000e_update_stats() 4701 	adapter->stats.gprc += er32(GPRC);  in e1000e_update_stats() 4702 	adapter->stats.gorc += er32(GORCL);  in e1000e_update_stats() 4704 	adapter->stats.bprc += er32(BPRC);  in e1000e_update_stats() [all …] 
 | 
| /linux-4.1.27/drivers/net/ethernet/silan/ | 
| D | sc92031.c | 413 		dev->stats.tx_dropped++;  in _sc92031_tx_clear() 668 			dev->stats.tx_bytes += tx_status & 0x1fff;  in _sc92031_tx_tasklet() 669 			dev->stats.tx_packets++;  in _sc92031_tx_tasklet() 671 			dev->stats.collisions += (tx_status >> 22) & 0xf;  in _sc92031_tx_tasklet() 675 			dev->stats.tx_errors++;  in _sc92031_tx_tasklet() 678 				dev->stats.tx_aborted_errors++;  in _sc92031_tx_tasklet() 681 				dev->stats.tx_carrier_errors++;  in _sc92031_tx_tasklet() 684 				dev->stats.tx_window_errors++;  in _sc92031_tx_tasklet() 688 			dev->stats.tx_fifo_errors++;  in _sc92031_tx_tasklet() 700 		dev->stats.rx_errors++;  in _sc92031_rx_tasklet_error() [all …] 
 | 
| /linux-4.1.27/drivers/net/wireless/libertas/ | 
| D | rx.c | 90 		dev->stats.rx_length_errors++;  in lbs_process_rxed_packet() 150 	dev->stats.rx_bytes += skb->len;  in lbs_process_rxed_packet() 151 	dev->stats.rx_packets++;  in lbs_process_rxed_packet() 233 		dev->stats.rx_length_errors++;  in process_rxed_802_11_packet() 271 	dev->stats.rx_bytes += skb->len;  in process_rxed_802_11_packet() 272 	dev->stats.rx_packets++;  in process_rxed_802_11_packet()
  | 
| /linux-4.1.27/drivers/usb/gadget/function/ | 
| D | rndis.c | 173 	const struct rtnl_link_stats64 *stats;  in gen_ndis_query_resp()  local 196 	stats = dev_get_stats(net, &temp);  in gen_ndis_query_resp() 360 		if (stats) {  in gen_ndis_query_resp() 361 			*outbuf = cpu_to_le32(stats->tx_packets  in gen_ndis_query_resp() 362 				- stats->tx_errors - stats->tx_dropped);  in gen_ndis_query_resp() 371 		if (stats) {  in gen_ndis_query_resp() 372 			*outbuf = cpu_to_le32(stats->rx_packets  in gen_ndis_query_resp() 373 				- stats->rx_errors - stats->rx_dropped);  in gen_ndis_query_resp() 382 		if (stats) {  in gen_ndis_query_resp() 383 			*outbuf = cpu_to_le32(stats->tx_errors);  in gen_ndis_query_resp() [all …] 
 | 
| /linux-4.1.27/net/phonet/ | 
| D | pep-gprs.c | 134 		dev->stats.rx_packets++;  in gprs_recv() 135 		dev->stats.rx_bytes += skb->len;  in gprs_recv() 144 		dev->stats.rx_dropped++;  in gprs_recv() 207 		dev->stats.tx_aborted_errors++;  in gprs_xmit() 208 		dev->stats.tx_errors++;  in gprs_xmit() 210 		dev->stats.tx_packets++;  in gprs_xmit() 211 		dev->stats.tx_bytes += len;  in gprs_xmit()
  |