/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-ilk.c | 1202 * @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 D | cvmx-ilk.h | 170 extern void cvmx_ilk_show_stats (int interface, cvmx_ilk_stats_ctrl_t *pstats);
|
/freebsd-10.0-release/sys/dev/bxe/ |
H A D | bxe_stats.c | 623 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 1749 struct host_port_stats *pstats = BXE_SP(sc, port_stats); local [all...] |
H A D | bxe_stats.h | 530 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \ 531 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \ 532 pstats->mac_stx[0].t##_hi = new->s##_hi; \ 533 pstats->mac_stx[0].t##_lo = new->s##_lo; \ 534 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \ 535 pstats->mac_stx[1].t##_lo, diff.lo); \ 555 ADD_64(pstats->mac_stx[1].t##_hi, new->diff##_hi, \ 556 pstats->mac_stx[1].t##_lo, new->diff##_lo); \ 561 ADD_EXTEND_64(pstats->mac_stx[1].s##_hi, \ 562 pstats [all...] |
H A D | bxe.c | 7335 struct host_port_stats *pstats; local 7360 pstats = BXE_SP(sc, port_stats); 7362 memset(&(pstats->mac_stx[0]), 0, sizeof(struct mac_stx));
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_clock.c | 424 struct pstats *pstats; local 432 pstats = p->p_stats; 435 timevalisset(&pstats->p_timer[ITIMER_VIRTUAL].it_value)) { 437 if (itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0) 441 if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value)) { 443 if (itimerdecr(&pstats->p_timer[ITIMER_PROF], tick) == 0) 493 struct pstats *pstats; local 520 pstats [all...] |
H A D | kern_proc.c | 1023 struct pstats * 1027 return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK)); 1034 pstats_fork(struct pstats *src, struct pstats *dst) 1038 __rangeof(struct pstats, pstat_startzero, pstat_endzero)); 1040 __rangeof(struct pstats, pstat_startcopy, pstat_endcopy)); 1044 pstats_free(struct pstats *ps)
|
/freebsd-10.0-release/usr.sbin/nandsim/ |
H A D | nandsim.c | 1355 struct page_stat_io pstats; local 1380 pstats.page_num = pageno; 1382 err = ioctl(cdevd, NAND_IO_PAGE_STAT, &pstats); 1389 pstats.page_num); 1393 pstats.page_num, pstats.page_read, pstats.page_written, 1394 pstats.page_raw_read, pstats.page_raw_written, 1395 pstats [all...] |
/freebsd-10.0-release/lib/libkvm/ |
H A D | kvm_proc.c | 125 struct pstats pstats; 241 if (KREAD(kd, (u_long)proc.p_stats, &pstats)) { 246 kp->ki_start = pstats.p_start; 253 kp->ki_rusage = pstats.p_ru; 254 kp->ki_childstime = pstats.p_cru.ru_stime; 255 kp->ki_childutime = pstats.p_cru.ru_utime;
|
/freebsd-10.0-release/sys/sys/ |
H A D | resourcevar.h | 53 struct pstats { struct
|
H A D | proc.h | 490 struct pstats *p_stats; /* (b) Accounting/statistics (CPU). */ 884 struct pstats *pstats_alloc(void); 885 void pstats_fork(struct pstats *src, struct pstats *dst); 886 void pstats_free(struct pstats *ps);
|
H A D | user.h | 236 struct pstats u_stats; /* *p_stats */
|
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_netdev.c | 844 memset(&priv->pstats, 0, sizeof(priv->pstats)); 1426 &priv->pstats.tx_poll, "TX Poll calls"); 1428 &priv->pstats.tx_pktsz_avg, "TX average packet size"); 1430 &priv->pstats.inflight_avg, "TX average packets in-flight"); 1432 &priv->pstats.tx_coal_avg, "TX average coalesced completions"); 1434 &priv->pstats.rx_coal_avg, "RX average coalesced completions");
|
H A D | en_tx.c | 387 AVG_PERF_COUNTER(priv->pstats.tx_coal_avg, 432 INC_PERF_COUNTER(priv->pstats.tx_poll); 757 AVG_PERF_COUNTER(priv->pstats.inflight_avg, 846 AVG_PERF_COUNTER(priv->pstats.tx_pktsz_avg, mb->m_pkthdr.len);
|
H A D | en_rx.c | 534 INC_PERF_COUNTER(priv->pstats.lro_misses); 565 AVG_PERF_COUNTER(priv->pstats.rx_coal_avg, polled);
|
H A D | mlx4_en.h | 553 struct mlx4_en_perf_stats pstats; member in struct:mlx4_en_priv
|