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

/freebsd-12-stable/sys/dev/bxe/
H A Dbxe_stats.c623 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
700 pstats->pfc_frames_tx_hi = new->tx_stat_gtpp_hi;
701 pstats->pfc_frames_tx_lo = new->tx_stat_gtpp_lo;
702 ADD_64(pstats->pfc_frames_tx_hi, fwstats->pfc_frames_tx_hi,
703 pstats->pfc_frames_tx_lo, fwstats->pfc_frames_tx_lo);
705 pstats->pfc_frames_rx_hi = new->rx_stat_grpp_hi;
706 pstats->pfc_frames_rx_lo = new->rx_stat_grpp_lo;
707 ADD_64(pstats->pfc_frames_rx_hi, fwstats->pfc_frames_rx_hi,
708 pstats->pfc_frames_rx_lo, fwstats->pfc_frames_rx_lo);
711 estats->pause_frames_received_hi = pstats
726 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
805 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
864 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
1710 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local
[all...]
H A Dbxe_stats.h557 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \
558 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \
559 pstats->mac_stx[0].t##_hi = new->s##_hi; \
560 pstats->mac_stx[0].t##_lo = new->s##_lo; \
561 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \
562 pstats->mac_stx[1].t##_lo, diff.lo); \
582 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \
583 pstats->mac_stx[1].t##_lo, new->diff##_lo); \
588 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \
589 pstats
[all...]
H A Dbxe.c7048 struct host_port_stats *pstats; local
7075 pstats = BXE_SP(sc, port_stats);
7077 memset(&(pstats->mac_stx[0]), 0, sizeof(struct mac_stx));
/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-ilk.c1202 * @param pstats A pointer to cvmx_ilk_stats_ctrl_t that specifies which
1207 void cvmx_ilk_show_stats (int interface, cvmx_ilk_stats_ctrl_t *pstats) argument
1226 if (pstats == NULL)
1230 if (pstats->chan_list != NULL)
1232 for (i = 0; i < pstats->num_chans; i++)
1237 ilk_rxx_idx_stat0.s.index = *pstats->chan_list;
1238 ilk_rxx_idx_stat0.s.clr = pstats->clr_on_rd;
1246 ilk_rxx_idx_stat1.s.index = *pstats->chan_list;
1247 ilk_rxx_idx_stat1.s.clr = pstats->clr_on_rd;
1254 *pstats
[all...]
H A Dcvmx-ilk.h170 extern void cvmx_ilk_show_stats (int interface, cvmx_ilk_stats_ctrl_t *pstats);
/freebsd-12-stable/sys/dev/axgbe/
H A Dif_axgbe.c238 struct xgbe_mmc_stats *pstats = &pdata->mmc_stats; local
246 return (pstats->rxframecount_gb);
248 return (pstats->rxframecount_gb -
249 pstats->rxbroadcastframes_g -
250 pstats->rxmulticastframes_g -
251 pstats->rxunicastframes_g);
253 return (pstats->txframecount_gb);
255 return (pstats->txframecount_gb - pstats->txframecount_g);
257 return (pstats
[all...]
/freebsd-12-stable/usr.sbin/nandsim/
H A Dnandsim.c1357 struct page_stat_io pstats; local
1382 pstats.page_num = pageno;
1384 err = ioctl(cdevd, NAND_IO_PAGE_STAT, &pstats);
1391 pstats.page_num);
1395 pstats.page_num, pstats.page_read, pstats.page_written,
1396 pstats.page_raw_read, pstats.page_raw_written,
1397 pstats
[all...]
/freebsd-12-stable/lib/libusb/
H A Dlibusb20_ugen20.c674 ugen20_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstats) argument
681 memset(pstats, 0, sizeof(*pstats));
683 pstats->xfer_ok[0] = st.uds_requests_ok[0];
684 pstats->xfer_ok[1] = st.uds_requests_ok[1];
685 pstats->xfer_ok[2] = st.uds_requests_ok[2];
686 pstats->xfer_ok[3] = st.uds_requests_ok[3];
688 pstats->xfer_fail[0] = st.uds_requests_fail[0];
689 pstats->xfer_fail[1] = st.uds_requests_fail[1];
690 pstats
[all...]
H A Dlibusb20_int.h111 typedef int (libusb20_get_stats_t)(struct libusb20_device *pdev, struct libusb20_device_stats *pstats);
H A Dlibusb20.c1054 libusb20_dev_get_stats(struct libusb20_device *pdev, struct libusb20_device_stats *pstats) argument
1070 error = pdev->methods->get_stats(pdev, pstats);
/freebsd-12-stable/sys/kern/
H A Dkern_clock.c429 struct pstats *pstats; local
454 pstats = p->p_stats;
457 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value)) {
459 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL],
464 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) {
466 if (itimerdecr(&pstats->p_timer[ITIMER_PROF],
H A Dkern_proc.c1239 struct pstats *
1243 return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK));
1250 pstats_fork(struct pstats *src, struct pstats *dst)
1254 __rangeof(struct pstats, pstat_startzero, pstat_endzero));
1256 __rangeof(struct pstats, pstat_startcopy, pstat_endcopy));
1260 pstats_free(struct pstats *ps)
/freebsd-12-stable/lib/libkvm/
H A Dkvm_proc.c125 struct pstats pstats;
236 if (KREAD(kd, (u_long)proc.p_stats, &pstats)) {
241 kp->ki_start = pstats.p_start;
248 kp->ki_rusage = pstats.p_ru;
249 kp->ki_childstime = pstats.p_cru.ru_stime;
250 kp->ki_childutime = pstats.p_cru.ru_utime;
/freebsd-12-stable/sys/dev/qlnx/qlnxe/
H A Decore_l2.c1766 *p_addr = p_resp->pfdev_info.stats_info.pstats.address;
1767 *p_len = p_resp->pfdev_info.stats_info.pstats.len;
1776 struct eth_pstorm_per_queue_stat pstats; local
1782 OSAL_MEMSET(&pstats, 0, sizeof(pstats));
1783 ecore_memcpy_from(p_hwfn, p_ptt, &pstats,
1787 HILO_64_REGPAIR(pstats.sent_ucast_bytes);
1789 HILO_64_REGPAIR(pstats.sent_mcast_bytes);
1791 HILO_64_REGPAIR(pstats.sent_bcast_bytes);
1793 HILO_64_REGPAIR(pstats
2103 struct eth_pstorm_per_queue_stat pstats; local
[all...]
H A Decore_vfpf_if.h180 struct pfvf_storm_stats pstats; member in struct:pfvf_stats_info
H A Decore_sriov.c1741 p_stats->pstats.address = PXP_VF_BAR0_START_PSDM_ZONE_B +
1744 p_stats->pstats.len = sizeof(struct eth_pstorm_per_queue_stat);
/freebsd-12-stable/sys/sys/
H A Dresourcevar.h56 struct pstats { struct
H A Dproc.h579 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */
1097 struct pstats *pstats_alloc(void);
1098 void pstats_fork(struct pstats *src, struct pstats *dst);
1099 void pstats_free(struct pstats *ps);
H A Duser.h243 struct pstats u_stats; /* *p_stats */
/freebsd-12-stable/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.c1616 memset(&priv->pstats, 0, sizeof(priv->pstats));
2752 &priv->pstats.tx_poll, "TX Poll calls");
2754 &priv->pstats.tx_pktsz_avg, "TX average packet size");
2756 &priv->pstats.inflight_avg, "TX average packets in-flight");
2758 &priv->pstats.tx_coal_avg, "TX average coalesced completions");
2760 &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.h597 struct mlx4_en_perf_stats pstats; member in struct:mlx4_en_priv
/freebsd-12-stable/contrib/ntp/ntpq/
H A Dntpq-subs.c56 static void pstats (struct parse *, FILE *);
155 { "pstats", pstats, { NTP_UINT, NO, NO, NO },
4111 * pstats - show statistics for a peer
4114 pstats( function

Completed in 396 milliseconds