Searched refs:pstats (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/sys/dev/bxe/
H A Dbxe_stats.c621 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
698 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi;
699 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo;
700 ADD_64(pstats->pfc_frames_tx_hi, fwstats->pfc_frames_tx_hi,
701 pstats->pfc_frames_tx_lo, fwstats->pfc_frames_tx_lo);
703 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi;
704 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo;
705 ADD_64(pstats->pfc_frames_rx_hi, fwstats->pfc_frames_rx_hi,
706 pstats->pfc_frames_rx_lo, fwstats->pfc_frames_rx_lo);
709 estats->pause_frames_received_hi = pstats
724 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
803 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
862 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
1708 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
[all...]
H A Dbxe_stats.h554 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
555 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
556 pstats->mac_stx[0].t##_hi = new->s##_hi; \
557 pstats->mac_stx[0].t##_lo = new->s##_lo; \
558 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
559 pstats->mac_stx[1].t##_lo, diff.lo); \
579 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
580 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
585 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
586 pstats
[all...]
H A Dbxe.c6983 struct host_port_stats *pstats; local
7010 pstats = BXE_SP(sc, port_stats);
7012 memset(&(pstats->mac_stx[0]), 0, sizeof(struct mac_stx));
/freebsd-current/sys/kern/
H A Dkern_clock.c451 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) argument
459 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value)) {
461 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL],
466 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) {
468 if (itimerdecr(&pstats->p_timer[ITIMER_PROF],
480 struct pstats *pstats; local
504 pstats = p->p_stats;
506 timevalisset(&pstats
[all...]
H A Dkern_proc.c1370 struct pstats *
1374 return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK));
1381 pstats_fork(struct pstats *src, struct pstats *dst)
1385 __rangeof(struct pstats, pstat_startzero, pstat_endzero));
1387 __rangeof(struct pstats, pstat_startcopy, pstat_endcopy));
1391 pstats_free(struct pstats *ps)
/freebsd-current/sys/dev/axgbe/
H A Dif_axgbe.c244 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; local
252 return (pstats->rxframecount_gb);
254 return (pstats->rxframecount_gb -
255 pstats->rxbroadcastframes_g -
256 pstats->rxmulticastframes_g -
257 pstats->rxunicastframes_g);
259 return (pstats->txframecount_gb);
261 return (pstats->txframecount_gb - pstats->txframecount_g);
263 return (pstats
[all...]
H A Dif_axgbe_pci.c2420 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; local
2426 return (pstats->rxframecount_gb);
2428 return (pstats->rxframecount_gb - pstats->rxbroadcastframes_g -
2429 pstats->rxmulticastframes_g - pstats->rxunicastframes_g);
2431 return (pstats->txframecount_gb);
2433 return (pstats->txframecount_gb - pstats->txframecount_g);
2435 return (pstats
[all...]
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dhtt_rx.c3813 struct ath10k_per_peer_tx_stats *pstats,
3827 mcs = ATH10K_HW_MCS_RATE(pstats->ratecode);
3837 STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes;
3838 STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts;
3839 STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes;
3840 STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts;
3841 STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes;
3842 STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts;
3844 STATS_OP_FMT(SUCC).ht[0][ht_idx] += pstats->succ_bytes;
3845 STATS_OP_FMT(SUCC).ht[1][ht_idx] += pstats
3811 ath10k_accumulate_per_peer_tx_stats(struct ath10k *ar, struct ath10k_sta *arsta, struct ath10k_per_peer_tx_stats *pstats, s8 legacy_rate_idx) argument
[all...]
/freebsd-current/lib/libusb/
H A Dlibusb20_ugen20.c673 ugen20_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstats) argument
680 memset(pstats, 0, sizeof(*pstats));
682 pstats->xfer_ok[0] = st.uds_requests_ok[0];
683 pstats->xfer_ok[1] = st.uds_requests_ok[1];
684 pstats->xfer_ok[2] = st.uds_requests_ok[2];
685 pstats->xfer_ok[3] = st.uds_requests_ok[3];
687 pstats->xfer_fail[0] = st.uds_requests_fail[0];
688 pstats->xfer_fail[1] = st.uds_requests_fail[1];
689 pstats
[all...]
H A Dlibusb20_int.h104 typedef int (libusb20_get_stats_t)(struct libusb20_device *pdev, struct libusb20_device_stats *pstats);
H A Dlibusb20.c1058 libusb20_dev_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstats) argument
1074 error = pdev->methods->get_stats(pdev, pstats);
/freebsd-current/lib/libkvm/
H A Dkvm_proc.c117 struct pstats pstats;
229 if (KREAD(kd, (u_long)proc.p_stats, &pstats)) {
234 kp->ki_start = pstats.p_start;
241 kp->ki_rusage = pstats.p_ru;
242 kp->ki_childstime = pstats.p_cru.ru_stime;
243 kp->ki_childutime = pstats.p_cru.ru_utime;
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_l2.c1764 *p_addr = p_resp->pfdev_info.stats_info.pstats.address;
1765 *p_len = p_resp->pfdev_info.stats_info.pstats.len;
1774 struct eth_pstorm_per_queue_stat pstats; local
1780 OSAL_MEMSET(&pstats, 0, sizeof(pstats));
1781 ecore_memcpy_from(p_hwfn, p_ptt, &pstats,
1785 HILO_64_REGPAIR(pstats.sent_ucast_bytes);
1787 HILO_64_REGPAIR(pstats.sent_mcast_bytes);
1789 HILO_64_REGPAIR(pstats.sent_bcast_bytes);
1791 HILO_64_REGPAIR(pstats
2101 struct eth_pstorm_per_queue_stat pstats; local
[all...]
H A Decore_ll2.c2138 struct core_ll2_pstorm_per_queue_stat pstats; local
2142 OSAL_MEMSET(&pstats, 0, sizeof(pstats));
2145 ecore_memcpy_from(p_hwfn, p_ptt, &pstats,
2147 sizeof(pstats));
2149 p_stats->sent_ucast_bytes += HILO_64_REGPAIR(pstats.sent_ucast_bytes);
2150 p_stats->sent_mcast_bytes += HILO_64_REGPAIR(pstats.sent_mcast_bytes);
2151 p_stats->sent_bcast_bytes += HILO_64_REGPAIR(pstats.sent_bcast_bytes);
2152 p_stats->sent_ucast_pkts += HILO_64_REGPAIR(pstats.sent_ucast_pkts);
2153 p_stats->sent_mcast_pkts += HILO_64_REGPAIR(pstats
[all...]
H A Decore_vfpf_if.h177 struct pfvf_storm_stats pstats; member in struct:pfvf_stats_info
H A Decore_sriov.c1738 p_stats->pstats.address = PXP_VF_BAR0_START_PSDM_ZONE_B +
1741 p_stats->pstats.len = sizeof(struct eth_pstorm_per_queue_stat);
/freebsd-current/sys/sys/
H A Dresourcevar.h53 struct pstats { struct
H A Dproc.h659 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */
1218 struct pstats *pstats_alloc(void);
1219 void pstats_fork(struct pstats *src, struct pstats *dst);
1220 void pstats_free(struct pstats *ps);
H A Duser.h241 struct pstats u_stats; /* *p_stats */
/freebsd-current/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c443 INC_PERF_COUNTER(priv->pstats.tx_poll);
675 AVG_PERF_COUNTER(priv->pstats.inflight_avg,
679 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, mb->m_pkthdr.len);
H A Dmlx4_en_netdev.c1613 memset(&priv->pstats, 0, sizeof(priv->pstats));
2749 &priv->pstats.tx_poll, "TX Poll calls");
2751 &priv->pstats.tx_pktsz_avg, "TX average packet size");
2753 &priv->pstats.inflight_avg, "TX average packets in-flight");
2755 &priv->pstats.tx_coal_avg, "TX average coalesced completions");
2757 &priv->pstats.rx_coal_avg, "RX average coalesced completions");
H A Dmlx4_en_rx.c834 INC_PERF_COUNTER(priv->pstats.lro_misses);
855 AVG_PERF_COUNTER(priv->pstats.rx_coal_avg, polled);
H A Den.h604 struct mlx4_en_perf_stats pstats; member in struct:mlx4_en_priv
/freebsd-current/contrib/ntp/ntpq/
H A Dntpq-subs.c56 static void pstats (struct parse *, FILE *);
155 { "pstats", pstats, { NTP_UINT, NO, NO, NO },
4141 * pstats - show statistics for a peer
4144 pstats( function

Completed in 521 milliseconds