Lines Matching refs:statsp

146 static void vnet_hio_get_stats(vnet_res_t *vresp, vnet_hio_stats_t *statsp);
790 vnet_tx_ring_stats_t *statsp;
804 statsp = &tx_ringp->tx_ring_stats;
922 statsp->obytes += size;
923 statsp->opackets++;
1947 vnet_hio_stats_t statsp;
1953 bzero(&statsp, sizeof (vnet_hio_stats_t));
1963 vnet_hio_get_stats(vnetp->hio_fp, &statsp);
1970 hiokp->ipackets.value.ul = (uint32_t)statsp.ipackets;
1971 hiokp->ipackets64.value.ull = statsp.ipackets;
1972 hiokp->ierrors.value.ul = statsp.ierrors;
1973 hiokp->opackets.value.ul = (uint32_t)statsp.opackets;
1974 hiokp->opackets64.value.ull = statsp.opackets;
1975 hiokp->oerrors.value.ul = statsp.oerrors;
1978 hiokp->rbytes.value.ul = (uint32_t)statsp.rbytes;
1979 hiokp->rbytes64.value.ull = statsp.rbytes;
1980 hiokp->obytes.value.ul = (uint32_t)statsp.obytes;
1981 hiokp->obytes64.value.ull = statsp.obytes;
1982 hiokp->multircv.value.ul = statsp.multircv;
1983 hiokp->multixmt.value.ul = statsp.multixmt;
1984 hiokp->brdcstrcv.value.ul = statsp.brdcstrcv;
1985 hiokp->brdcstxmt.value.ul = statsp.brdcstxmt;
1986 hiokp->norcvbuf.value.ul = statsp.norcvbuf;
1987 hiokp->noxmtbuf.value.ul = statsp.noxmtbuf;
1996 vnet_hio_get_stats(vnet_res_t *vresp, vnet_hio_stats_t *statsp)
2012 statsp->ipackets = val;
2016 statsp->ierrors = val;
2020 statsp->opackets = val;
2024 statsp->oerrors = val;
2028 statsp->rbytes = val;
2032 statsp->obytes = val;
2036 statsp->multircv = val;
2040 statsp->multixmt = val;
2044 statsp->brdcstrcv = val;
2048 statsp->brdcstxmt = val;
2052 statsp->noxmtbuf = val;
2056 statsp->norcvbuf = val;
2510 vnet_tx_ring_stats_t *statsp;
2512 statsp = &tx_ringp->tx_ring_stats;
2516 *val = statsp->opackets;
2520 *val = statsp->obytes;