Home
last modified time | relevance | path

Searched refs:pstats (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/sys/dev/bxe/
H A Dbxe_stats.c768 pstats->mac_stx[1].tx_stat_mac_2047_hi; in bxe_mstat_stats_update()
770 pstats->mac_stx[1].tx_stat_mac_2047_lo; in bxe_mstat_stats_update()
773 pstats->mac_stx[1].tx_stat_mac_4095_hi, in bxe_mstat_stats_update()
775 pstats->mac_stx[1].tx_stat_mac_4095_lo); in bxe_mstat_stats_update()
778 pstats->mac_stx[1].tx_stat_mac_9216_hi, in bxe_mstat_stats_update()
848 pstats->mac_stx[1].tx_stat_outxonsent_hi; in bxe_emac_stats_update()
850 pstats->mac_stx[1].tx_stat_outxonsent_lo; in bxe_emac_stats_update()
893 ADD_EXTEND_64(pstats->brb_drop_hi, pstats->brb_drop_lo, in bxe_hw_stats_update()
909 estats->brb_drop_hi = pstats->brb_drop_hi; in bxe_hw_stats_update()
910 estats->brb_drop_lo = pstats->brb_drop_lo; in bxe_hw_stats_update()
[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->mac_stx[1].s##_lo, \
/freebsd/sys/kern/
H A Dkern_clock.c451 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) in hardclock_itimer() argument
459 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value)) { in hardclock_itimer()
461 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], in hardclock_itimer()
466 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) { in hardclock_itimer()
468 if (itimerdecr(&pstats->p_timer[ITIMER_PROF], in hardclock_itimer()
480 struct pstats *pstats; in hardclock() local
504 pstats = p->p_stats; in hardclock()
506 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) || in hardclock()
507 timevalisset(&pstats->p_timer[ITIMER_PROF].it_value))) in hardclock()
508 hardclock_itimer(td, pstats, cnt, usermode); in hardclock()
H A Dkern_proc.c1370 struct pstats *
1374 return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK)); in pstats_alloc()
1381 pstats_fork(struct pstats *src, struct pstats *dst) in pstats_fork()
1385 __rangeof(struct pstats, pstat_startzero, pstat_endzero)); in pstats_fork()
1387 __rangeof(struct pstats, pstat_startcopy, pstat_endcopy)); in pstats_fork()
1391 pstats_free(struct pstats *ps) in pstats_free()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe.c244 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in axgbe_get_counter() local
252 return (pstats->rxframecount_gb); in axgbe_get_counter()
254 return (pstats->rxframecount_gb - in axgbe_get_counter()
255 pstats->rxbroadcastframes_g - in axgbe_get_counter()
256 pstats->rxmulticastframes_g - in axgbe_get_counter()
257 pstats->rxunicastframes_g); in axgbe_get_counter()
259 return (pstats->txframecount_gb); in axgbe_get_counter()
261 return (pstats->txframecount_gb - pstats->txframecount_g); in axgbe_get_counter()
263 return (pstats->rxoctetcount_gb); in axgbe_get_counter()
265 return (pstats->txoctetcount_gb); in axgbe_get_counter()
H A Dif_axgbe_pci.c2420 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in axgbe_if_get_counter() local
2426 return (pstats->rxframecount_gb); in axgbe_if_get_counter()
2428 return (pstats->rxframecount_gb - pstats->rxbroadcastframes_g - in axgbe_if_get_counter()
2429 pstats->rxmulticastframes_g - pstats->rxunicastframes_g); in axgbe_if_get_counter()
2431 return (pstats->txframecount_gb); in axgbe_if_get_counter()
2433 return (pstats->txframecount_gb - pstats->txframecount_g); in axgbe_if_get_counter()
2435 return (pstats->rxoctetcount_gb); in axgbe_if_get_counter()
2437 return (pstats->txoctetcount_gb); in axgbe_if_get_counter()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dhtt_rx.c3866 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3868 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3873 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3876 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3878 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3880 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3882 pstats->succ_bytes + pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats()
3884 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3886 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
3888 pstats->succ_pkts + pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
[all …]
/freebsd/lib/libusb/
H A Dlibusb20_ugen20.c673 ugen20_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstats) in ugen20_get_stats() argument
680 memset(pstats, 0, sizeof(*pstats)); in ugen20_get_stats()
682 pstats->xfer_ok[0] = st.uds_requests_ok[0]; in ugen20_get_stats()
683 pstats->xfer_ok[1] = st.uds_requests_ok[1]; in ugen20_get_stats()
684 pstats->xfer_ok[2] = st.uds_requests_ok[2]; in ugen20_get_stats()
685 pstats->xfer_ok[3] = st.uds_requests_ok[3]; in ugen20_get_stats()
687 pstats->xfer_fail[0] = st.uds_requests_fail[0]; in ugen20_get_stats()
688 pstats->xfer_fail[1] = st.uds_requests_fail[1]; in ugen20_get_stats()
689 pstats->xfer_fail[2] = st.uds_requests_fail[2]; in ugen20_get_stats()
690 pstats->xfer_fail[3] = st.uds_requests_fail[3]; in ugen20_get_stats()
H A Dlibusb20_int.h104 …def 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) in libusb20_dev_get_stats() argument
1074 error = pdev->methods->get_stats(pdev, pstats); in libusb20_dev_get_stats()
/freebsd/lib/libkvm/
H A Dkvm_proc.c117 struct pstats pstats; in kvm_proclist()
229 if (KREAD(kd, (u_long)proc.p_stats, &pstats)) { in kvm_proclist()
234 kp->ki_start = pstats.p_start; in kvm_proclist()
241 kp->ki_rusage = pstats.p_ru; in kvm_proclist()
242 kp->ki_childstime = pstats.p_cru.ru_stime; in kvm_proclist()
243 kp->ki_childutime = pstats.p_cru.ru_utime; in kvm_proclist()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_l2.c1774 struct eth_pstorm_per_queue_stat pstats; in __ecore_get_vport_pstats() local
1780 OSAL_MEMSET(&pstats, 0, sizeof(pstats)); in __ecore_get_vport_pstats()
1781 ecore_memcpy_from(p_hwfn, p_ptt, &pstats, in __ecore_get_vport_pstats()
1785 HILO_64_REGPAIR(pstats.sent_ucast_bytes); in __ecore_get_vport_pstats()
1787 HILO_64_REGPAIR(pstats.sent_mcast_bytes); in __ecore_get_vport_pstats()
1791 HILO_64_REGPAIR(pstats.sent_ucast_pkts); in __ecore_get_vport_pstats()
1793 HILO_64_REGPAIR(pstats.sent_mcast_pkts); in __ecore_get_vport_pstats()
1795 HILO_64_REGPAIR(pstats.sent_bcast_pkts); in __ecore_get_vport_pstats()
1797 HILO_64_REGPAIR(pstats.error_drop_pkts); in __ecore_get_vport_pstats()
2101 struct eth_pstorm_per_queue_stat pstats; in ecore_reset_vport_stats() local
[all …]
H A Decore_ll2.c2138 struct core_ll2_pstorm_per_queue_stat pstats; in _ecore_ll2_get_pstats() local
2142 OSAL_MEMSET(&pstats, 0, sizeof(pstats)); in _ecore_ll2_get_pstats()
2145 ecore_memcpy_from(p_hwfn, p_ptt, &pstats, in _ecore_ll2_get_pstats()
2147 sizeof(pstats)); in _ecore_ll2_get_pstats()
2149 p_stats->sent_ucast_bytes += HILO_64_REGPAIR(pstats.sent_ucast_bytes); in _ecore_ll2_get_pstats()
2150 p_stats->sent_mcast_bytes += HILO_64_REGPAIR(pstats.sent_mcast_bytes); in _ecore_ll2_get_pstats()
2151 p_stats->sent_bcast_bytes += HILO_64_REGPAIR(pstats.sent_bcast_bytes); in _ecore_ll2_get_pstats()
2152 p_stats->sent_ucast_pkts += HILO_64_REGPAIR(pstats.sent_ucast_pkts); in _ecore_ll2_get_pstats()
2153 p_stats->sent_mcast_pkts += HILO_64_REGPAIR(pstats.sent_mcast_pkts); in _ecore_ll2_get_pstats()
2154 p_stats->sent_bcast_pkts += HILO_64_REGPAIR(pstats.sent_bcast_pkts); in _ecore_ll2_get_pstats()
H A Decore_vfpf_if.h177 struct pfvf_storm_stats pstats; member
H A Decore_sriov.c1738 p_stats->pstats.address = PXP_VF_BAR0_START_PSDM_ZONE_B + in ecore_iov_vf_mbx_acquire_stats()
1741 p_stats->pstats.len = sizeof(struct eth_pstorm_per_queue_stat); in ecore_iov_vf_mbx_acquire_stats()
/freebsd/sys/sys/
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 Dresourcevar.h53 struct pstats { struct
H A Duser.h241 struct pstats u_stats; /* *p_stats */
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c443 INC_PERF_COUNTER(priv->pstats.tx_poll); in mlx4_en_poll_tx_cq()
675 AVG_PERF_COUNTER(priv->pstats.inflight_avg, in mlx4_en_xmit()
679 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, mb->m_pkthdr.len); in mlx4_en_xmit()
H A Dmlx4_en_netdev.c1613 memset(&priv->pstats, 0, sizeof(priv->pstats)); in mlx4_en_clear_stats()
2749 &priv->pstats.tx_poll, "TX Poll calls"); in mlx4_en_sysctl_stat()
2751 &priv->pstats.tx_pktsz_avg, "TX average packet size"); in mlx4_en_sysctl_stat()
2753 &priv->pstats.inflight_avg, "TX average packets in-flight"); in mlx4_en_sysctl_stat()
2755 &priv->pstats.tx_coal_avg, "TX average coalesced completions"); in mlx4_en_sysctl_stat()
2757 &priv->pstats.rx_coal_avg, "RX average coalesced completions"); in mlx4_en_sysctl_stat()
H A Dmlx4_en_rx.c834 INC_PERF_COUNTER(priv->pstats.lro_misses); in mlx4_en_process_rx_cq()
855 AVG_PERF_COUNTER(priv->pstats.rx_coal_avg, polled); in mlx4_en_process_rx_cq()
H A Den.h604 struct mlx4_en_perf_stats pstats; member
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c56 static void pstats (struct parse *, FILE *);
155 { "pstats", pstats, { NTP_UINT, NO, NO, NO },
4135 pstats( in pstats() function
H A Dntpq-opts.def676 .It Ic pstats Ar associd
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc-opts.def389 .It Ic pstats Ar peer_address Oo Ar ... Oc

12