Home
last modified time | relevance | path

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

12

/freebsd-14.2/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.h555 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
556 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
557 pstats->mac_stx[0].t##_hi = new->s##_hi; \
558 pstats->mac_stx[0].t##_lo = new->s##_lo; \
559 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
560 pstats->mac_stx[1].t##_lo, diff.lo); \
580 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
581 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
586 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
587 pstats->mac_stx[1].s##_lo, \
/freebsd-14.2/sys/kern/
H A Dkern_clock.c453 hardclock_itimer(struct thread *td, struct pstats *pstats, int cnt, int usermode) in hardclock_itimer() argument
461 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value)) { in hardclock_itimer()
463 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], in hardclock_itimer()
468 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) { in hardclock_itimer()
470 if (itimerdecr(&pstats->p_timer[ITIMER_PROF], in hardclock_itimer()
482 struct pstats *pstats; in hardclock() local
506 pstats = p->p_stats; in hardclock()
508 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value) || in hardclock()
509 timevalisset(&pstats->p_timer[ITIMER_PROF].it_value))) in hardclock()
510 hardclock_itimer(td, pstats, cnt, usermode); in hardclock()
H A Dkern_proc.c1375 struct pstats *
1379 return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK)); in pstats_alloc()
1386 pstats_fork(struct pstats *src, struct pstats *dst) in pstats_fork()
1390 __rangeof(struct pstats, pstat_startzero, pstat_endzero)); in pstats_fork()
1392 __rangeof(struct pstats, pstat_startcopy, pstat_endcopy)); in pstats_fork()
1396 pstats_free(struct pstats *ps) in pstats_free()
/freebsd-14.2/sys/dev/axgbe/
H A Dif_axgbe.c245 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in axgbe_get_counter() local
253 return (pstats->rxframecount_gb); in axgbe_get_counter()
255 return (pstats->rxframecount_gb - in axgbe_get_counter()
256 pstats->rxbroadcastframes_g - in axgbe_get_counter()
257 pstats->rxmulticastframes_g - in axgbe_get_counter()
258 pstats->rxunicastframes_g); in axgbe_get_counter()
260 return (pstats->txframecount_gb); in axgbe_get_counter()
262 return (pstats->txframecount_gb - pstats->txframecount_g); in axgbe_get_counter()
264 return (pstats->rxoctetcount_gb); in axgbe_get_counter()
266 return (pstats->txoctetcount_gb); in axgbe_get_counter()
H A Dif_axgbe_pci.c2358 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; in axgbe_if_get_counter() local
2364 return (pstats->rxframecount_gb); in axgbe_if_get_counter()
2366 return (pstats->rxframecount_gb - pstats->rxbroadcastframes_g - in axgbe_if_get_counter()
2367 pstats->rxmulticastframes_g - pstats->rxunicastframes_g); in axgbe_if_get_counter()
2369 return (pstats->txframecount_gb); in axgbe_if_get_counter()
2371 return (pstats->txframecount_gb - pstats->txframecount_g); in axgbe_if_get_counter()
2373 return (pstats->rxoctetcount_gb); in axgbe_if_get_counter()
2375 return (pstats->txoctetcount_gb); in axgbe_if_get_counter()
/freebsd-14.2/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-14.2/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-14.2/lib/libkvm/
H A Dkvm_proc.c119 struct pstats pstats; in kvm_proclist()
231 if (KREAD(kd, (u_long)proc.p_stats, &pstats)) { in kvm_proclist()
236 kp->ki_start = pstats.p_start; in kvm_proclist()
243 kp->ki_rusage = pstats.p_ru; in kvm_proclist()
244 kp->ki_childstime = pstats.p_cru.ru_stime; in kvm_proclist()
245 kp->ki_childutime = pstats.p_cru.ru_utime; in kvm_proclist()
/freebsd-14.2/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-14.2/sys/sys/
H A Dproc.h659 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */
1214 struct pstats *pstats_alloc(void);
1215 void pstats_fork(struct pstats *src, struct pstats *dst);
1216 void pstats_free(struct pstats *ps);
H A Dresourcevar.h55 struct pstats { struct
H A Duser.h243 struct pstats u_stats; /* *p_stats */
/freebsd-14.2/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()
2744 &priv->pstats.tx_poll, "TX Poll calls"); in mlx4_en_sysctl_stat()
2746 &priv->pstats.tx_pktsz_avg, "TX average packet size"); in mlx4_en_sysctl_stat()
2748 &priv->pstats.inflight_avg, "TX average packets in-flight"); in mlx4_en_sysctl_stat()
2750 &priv->pstats.tx_coal_avg, "TX average coalesced completions"); in mlx4_en_sysctl_stat()
2752 &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-14.2/contrib/ntp/ntpq/
H A Dntpq-subs.c56 static void pstats (struct parse *, FILE *);
155 { "pstats", pstats, { NTP_UINT, NO, NO, NO },
4144 pstats( in pstats() function
H A Dntpq-opts.def676 .It Ic pstats Ar associd
/freebsd-14.2/contrib/ntp/ntpdc/
H A Dntpdc-opts.def389 .It Ic pstats Ar peer_address Oo Ar ... Oc

12