Searched refs:statsp (Results 1 - 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvgen_stats.c50 char *ks_name, vgen_stats_t *statsp)
144 ksp->ks_private = (void *)statsp;
165 vgen_stats_t *statsp; local
168 statsp = (vgen_stats_t *)ksp->ks_private;
172 ldckp->ipackets.value.ul = (uint32_t)statsp->ipackets +
173 (uint32_t)statsp->rx_pri_packets;
174 ldckp->ipackets64.value.ull = statsp->ipackets +
175 statsp->rx_pri_packets;
176 ldckp->ierrors.value.ul = statsp->ierrors;
177 ldckp->opackets.value.ul = (uint32_t)statsp
49 vgen_setup_kstats(char *ks_mod, int instance, char *ks_name, vgen_stats_t *statsp) argument
[all...]
H A Dvsw_rxdring.c726 vgen_stats_t *statsp = &ldcp->ldc_stats; local
753 statsp->ierrors++;
781 statsp->norcvbuf++;
809 statsp->ipackets++;
810 statsp->rbytes += rxdp->nbytes;
813 statsp->brdcstrcv++;
815 statsp->multircv++;
873 vgen_stats_t *statsp = &ldcp->ldc_stats; local
884 statsp->oerrors++;
891 statsp
1091 vgen_stats_t *statsp = &ldcp->ldc_stats; local
1129 vgen_stats_t *statsp = &ldcp->ldc_stats; local
[all...]
H A Dvnet_rxdring.c593 vgen_stats_t *statsp = &ldcp->stats; local
641 statsp->oerrors++;
663 statsp->tx_no_desc++;
726 statsp->opackets++;
727 statsp->obytes += size;
729 statsp->brdcstxmt++;
731 statsp->multixmt++;
750 statsp->oerrors++;
819 vgen_stats_t *statsp = &ldcp->stats; local
843 statsp
1060 vgen_stats_t *statsp = &ldcp->stats; local
1174 vgen_stats_t *statsp; local
1390 vgen_stats_t *statsp = &ldcp->stats; local
1433 vgen_stats_t *statsp = &ldcp->stats; local
[all...]
H A Dvnet_txdring.c596 vgen_stats_t *statsp; local
608 statsp = &ldcp->stats;
656 statsp->tx_no_desc++;
696 statsp->oerrors++;
703 statsp->opackets++;
704 statsp->obytes += size;
706 statsp->brdcstxmt++;
708 statsp->multixmt++;
724 statsp->oerrors++;
863 vgen_stats_t *statsp local
969 vgen_stats_t *statsp; local
1286 vgen_stats_t *statsp; local
1594 vgen_stats_t *statsp = &ldcp->stats; local
1636 vgen_stats_t *statsp = &ldcp->stats; local
[all...]
H A Dvnet.c146 static void vnet_hio_get_stats(vnet_res_t *vresp, vnet_hio_stats_t *statsp);
790 vnet_tx_ring_stats_t *statsp; local
804 statsp = &tx_ringp->tx_ring_stats;
922 statsp->obytes += size;
923 statsp->opackets++;
1947 vnet_hio_stats_t statsp; local
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
1996 vnet_hio_get_stats(vnet_res_t *vresp, vnet_hio_stats_t *statsp) argument
2510 vnet_tx_ring_stats_t *statsp; local
[all...]
H A Dvnet_gen.c907 vgen_stats_t *statsp = &ldcp->stats; local
911 (void) atomic_inc_32(&statsp->tx_pri_fail);
918 (void) atomic_inc_32(&statsp->tx_pri_fail);
928 (void) atomic_inc_32(&statsp->tx_pri_fail);
939 (void) atomic_inc_32(&statsp->tx_pri_fail);
967 (void) atomic_inc_32(&statsp->tx_pri_fail);
976 (void) atomic_inc_64(&statsp->tx_pri_packets);
977 (void) atomic_add_64(&statsp->tx_pri_bytes, size);
2823 vgen_stats_t *statsp; local
2827 statsp
3004 vgen_stats_t *statsp; local
3572 vgen_stats_t *statsp = &ldcp->stats; local
5328 vgen_stats_t *statsp = &ldcp->stats; local
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_kstats.c44 hxgep->statsp = KMEM_ZALLOC(stats_size, KM_SLEEP);
45 hxgep->statsp->stats_size = stats_size;
354 p_hxge_tx_ring_stats_t statsp; local
368 statsp = (p_hxge_tx_ring_stats_t)&hxgep->statsp->tdc_stats[channel];
371 "hxge_tdc_stat_update data $%p statsp $%p channel %d",
372 ksp->ks_data, statsp, channel));
374 tdc_kstatsp->opackets.value.ull = statsp->opackets;
375 tdc_kstatsp->obytes.value.ull = statsp->obytes;
376 tdc_kstatsp->obytes_with_pad.value.ull = statsp
412 p_hxge_tdc_sys_stats_t statsp; local
442 p_hxge_rx_ring_stats_t statsp; local
496 p_hxge_rdc_sys_stats_t statsp; local
525 p_hxge_vmac_stats_t statsp; local
560 p_hxge_pfc_stats_t statsp; local
592 p_hxge_peu_sys_stats_t statsp; local
834 p_hxge_stats_t statsp; local
952 p_hxge_stats_t statsp; local
[all...]
H A Dhxge_vmac.c45 p_hxge_stats_t statsp; local
49 statsp = hxgep->statsp;
51 statsp->mac_stats.cap_10gfdx = 1;
52 statsp->mac_stats.lp_cap_10gfdx = 1;
58 statsp->mac_stats.link_duplex = 2;
59 statsp->mac_stats.link_speed = 10000;
149 if (hxgep->statsp->port_stats.lb_mode != hxge_lb_normal)
354 hxgep->statsp->mac_stats.promisc = B_TRUE;
356 hxgep->statsp
372 p_hxge_stats_t statsp; local
[all...]
H A Dhxge_hw.c228 p_hxge_peu_sys_stats_t statsp; local
232 statsp = (p_hxge_peu_sys_stats_t)&hxgep->statsp->peu_sys_stats;
244 statsp->spc_acc_err++;
250 statsp->tdc_pioacc_err++;
256 statsp->rdc_pioacc_err++;
262 statsp->pfc_pioacc_err++;
268 statsp->vmac_pioacc_err++;
274 statsp->cpl_hdrq_parerr++;
280 statsp
[all...]
H A Dhxge_fm.c324 p_hxge_stats_t statsp; local
331 statsp = hxgep->statsp;
345 statsp->pfc_stats.tcam_parity_err,
353 statsp->pfc_stats.vlan_parity_err,
361 statsp->pfc_stats.pkt_drop,
382 rdc_statsp = &statsp->rdc_stats[err_chan];
399 err_type = statsp->rdc_stats[err_chan].errlog.compl_err_type;
440 statsp->tdc_stats[err_chan].errlog.value, NULL);
H A Dhxge_pfc.c1067 p_hxge_pfc_stats_t statsp; local
1086 statsp = (p_hxge_pfc_stats_t)&hxgep->statsp->pfc_stats;
1095 statsp->pkt_drop++;
1096 if (statsp->pkt_drop == 1)
1103 statsp->errlog.tcp_ctrl_drop++;
1105 statsp->errlog.l2_addr_drop++;
1107 statsp->errlog.class_code_drop++;
1109 statsp->errlog.tcam_drop++;
1111 statsp
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_kstats.c50 nxgep->statsp = KMEM_ZALLOC(stats_size, KM_SLEEP);
51 nxgep->statsp->stats_size = stats_size;
525 p_nxge_tx_ring_stats_t statsp; local
540 statsp = (p_nxge_tx_ring_stats_t)&nxgep->statsp->tdc_stats[channel];
543 "nxge_tdc_stat_update data $%p statsp $%p channel %d",
544 ksp->ks_data, statsp, channel));
547 statsp->opackets = tdc_kstatsp->opackets.value.ull;
548 statsp->obytes = tdc_kstatsp->obytes.value.ull;
549 statsp
594 p_nxge_rx_ring_stats_t statsp; local
685 p_nxge_rdc_sys_stats_t statsp; local
718 p_nxge_txc_stats_t statsp; local
769 p_nxge_ipp_stats_t statsp; local
811 p_nxge_xmac_stats_t statsp; local
933 p_nxge_bmac_stats_t statsp; local
987 p_nxge_zcp_stats_t statsp; local
1044 p_nxge_fflp_stats_t statsp; local
1103 p_nxge_mmac_stats_t statsp; local
1705 p_nxge_stats_t statsp; local
1909 p_nxge_stats_t statsp; local
2107 p_nxge_stats_t statsp; local
2153 p_nxge_stats_t statsp; local
2202 p_nxge_stats_t statsp; local
2242 p_nxge_stats_t statsp; local
2278 p_nxge_stats_t statsp; local
[all...]
H A Dnxge_mac.c289 nxgep->statsp->mac_stats.link_up) {
290 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR;
301 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR;
307 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR;
313 nxgep->statsp->mac_stats.xcvr_inuse = HSP_XCVR;
337 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR;
344 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR;
360 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR;
365 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR;
369 nxgep->statsp
1037 p_nxge_stats_t statsp; local
1192 p_nxge_stats_t statsp; local
1314 p_nxge_stats_t statsp; local
1430 p_nxge_stats_t statsp; local
3775 p_nxge_stats_t statsp; local
3853 p_nxge_stats_t statsp = nxgep->statsp; local
3908 p_nxge_stats_t statsp; local
4093 p_nxge_stats_t statsp; local
4792 p_nxge_stats_t statsp; local
5171 p_nxge_stats_t statsp; local
5603 p_nxge_stats_t statsp; local
5829 p_nxge_stats_t statsp; local
6397 p_nxge_stats_t statsp; local
6420 p_nxge_stats_t statsp; local
6789 p_nxge_stats_t statsp; local
6888 p_nxge_stats_t statsp; local
6917 p_nxge_stats_t statsp; local
8526 p_nxge_stats_t statsp; local
8782 p_nxge_stats_t statsp; local
[all...]
H A Dnxge_hw.c72 ((nxgep->statsp->port_stats.lb_mode ==
74 (nxgep->statsp->port_stats.lb_mode ==
76 (nxgep->statsp->port_stats.lb_mode ==
78 (nxgep->statsp->port_stats.lb_mode ==
334 phy_port_addr = nxgep->statsp->mac_stats.xcvr_portn;
669 nxgep->statsp->port_stats.lb_mode;
691 if (nxgep->statsp->mac_stats.cap_10gfdx) {
716 if (nxgep->statsp->mac_stats.cap_1000fdx) {
729 if (nxgep->statsp->mac_stats.cap_100fdx)
731 if (nxgep->statsp
[all...]
H A Dnxge_fm.c521 p_nxge_stats_t statsp; local
527 statsp = nxgep->statsp;
550 statsp->ipp_stats.errlog.dfifo_rd_ptr,
552 statsp->ipp_stats.errlog.state_mach,
564 statsp->ipp_stats.errlog.ecc_syndrome,
594 statsp->ipp_stats.errlog.state_mach,
612 statsp->fflp_stats.errlog.tcam,
621 statsp->fflp_stats.errlog.vlan,
653 statsp
[all...]
H A Dnxge_zcp.c117 p_nxge_zcp_stats_t statsp; local
124 statsp = (p_nxge_zcp_stats_t)&nxgep->statsp->zcp_stats;
131 statsp->rrfifo_underrun++;
139 statsp->rrfifo_overrun++;
147 statsp->rspfifo_uncorr_err++;
155 statsp->buffer_overflow++;
164 statsp->stat_tbl_perr++;
172 statsp->dyn_tbl_perr++;
180 statsp
[all...]
H A Dnxge_ipp.c335 p_nxge_ipp_stats_t statsp; local
345 statsp = (p_nxge_ipp_stats_t)&nxgep->statsp->ipp_stats;
348 errlogp = (p_ipp_errlog_t)&statsp->errlog;
361 statsp->sop_miss++;
370 if (statsp->sop_miss < IPP_MAX_ERR_SHOW)
376 statsp->eop_miss++;
397 statsp->dfifo_ue++;
409 statsp->pfifo_perr++;
412 if (statsp
[all...]
H A Dnxge_txc.c393 p_nxge_txc_stats_t statsp; local
400 statsp = (p_nxge_txc_stats_t)&nxgep->statsp->txc_stats;
409 &statsp->errlog.ro_st)) != NPI_SUCCESS) {
414 statsp->ro_correct_err++;
422 statsp->ro_uncorrect_err++;
430 statsp->reorder_err++;
458 &statsp->errlog.sf_st)) != NPI_SUCCESS) {
462 statsp->sf_correct_err++;
470 statsp
[all...]
H A Dnxge_espc.c152 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR;
156 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR;
160 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR;
164 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_stats.c154 nfsstat_zone_init_rfsreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
156 statsp->rfsreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs", 0,
161 nfsstat_zone_fini_rfsreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
164 kmem_free(statsp->rfsreqcnt_ptr, sizeof (rfsreqcnt_v2_tmpl));
194 nfsstat_zone_init_rfsproc_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
200 statsp->rfsproccnt_ptr = ks_data;
206 nfsstat_zone_fini_rfsproc_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
211 kmem_free(statsp->rfsproccnt_ptr, sizeof (rfsproccnt_v2_tmpl));
227 nfsstat_zone_init_aclreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
229 statsp
234 nfsstat_zone_fini_aclreq_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
255 nfsstat_zone_init_aclproc_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
268 nfsstat_zone_fini_aclproc_v2(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
305 nfsstat_zone_init_rfsreq_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
312 nfsstat_zone_fini_rfsreq_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
349 nfsstat_zone_init_rfsproc_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
361 nfsstat_zone_fini_rfsproc_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
380 nfsstat_zone_init_aclreq_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
387 nfsstat_zone_fini_aclreq_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
406 nfsstat_zone_init_aclproc_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
419 nfsstat_zone_fini_aclproc_v3(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
473 nfsstat_zone_init_rfsreq_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
480 nfsstat_zone_fini_rfsreq_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
536 nfsstat_zone_init_rfsproc_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
548 nfsstat_zone_fini_rfsproc_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
566 nfsstat_zone_init_aclreq_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
573 nfsstat_zone_fini_aclreq_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
591 nfsstat_zone_init_aclproc_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
604 nfsstat_zone_fini_aclproc_v4(zoneid_t zoneid, struct nfs_version_stats *statsp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c1799 p_ch_stats_t statsp; local
1804 statsp = (p_ch_stats_t)&sge->intr_cnt;
1807 statsp->respQ_empty = chkp->respQ_empty.value.ui32;
1808 statsp->respQ_overflow = chkp->respQ_overflow.value.ui32;
1809 statsp->freelistQ_empty = chkp->freelistQ_empty.value.ui32;
1810 statsp->pkt_too_big = chkp->pkt_too_big.value.ui32;
1811 statsp->pkt_mismatch = chkp->pkt_mismatch.value.ui32;
1812 statsp->cmdQ_full[0] = chkp->cmdQ_full[0].value.ui32;
1813 statsp->cmdQ_full[1] = chkp->cmdQ_full[1].value.ui32;
1814 statsp
[all...]
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtswtclddi.c518 meter_stat_t *statsp; local
528 statsp = (meter_stat_t *)(tswtcl_data->stats)->ipps_data;
529 ASSERT(statsp != NULL);
532 IPP_STAT_UINT64, &statsp->red_packets)) != 0) {
538 IPP_STAT_UINT64, &statsp->red_bits)) != 0) {
544 IPP_STAT_UINT64, &statsp->yellow_packets)) != 0) {
550 IPP_STAT_UINT64, &statsp->yellow_bits)) != 0) {
556 IPP_STAT_UINT64, &statsp->green_packets)) != 0) {
562 IPP_STAT_UINT64, &statsp->green_bits)) != 0) {
568 IPP_STAT_UINT64, &statsp
[all...]
H A Dtokenmtddi.c705 meter_stat_t *statsp; local
715 statsp = (meter_stat_t *)(tokenmt_data->stats)->ipps_data;
716 ASSERT(statsp != NULL);
719 IPP_STAT_UINT64, &statsp->red_packets)) != 0) {
725 IPP_STAT_UINT64, &statsp->yellow_packets)) != 0) {
731 IPP_STAT_UINT64, &statsp->green_packets)) != 0) {
737 IPP_STAT_UINT64, &statsp->red_bits)) != 0) {
743 IPP_STAT_UINT64, &statsp->yellow_bits)) != 0) {
749 IPP_STAT_UINT64, &statsp->green_bits)) != 0) {
755 IPP_STAT_UINT64, &statsp
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvgen_stats.h132 char *ks_name, vgen_stats_t *statsp);
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c502 print_stats(nscd_cfg_stat_cache_t *statsp) { argument
506 statsp->pos_hits);
508 statsp->neg_hits);
510 statsp->pos_misses);
512 statsp->neg_misses);
514 statsp->entries);
516 statsp->wait_count);
518 statsp->drop_count);
520 statsp->invalidate_count);
522 _NSC_GET_HITRATE(statsp);
911 nscd_cfg_stat_cache_t *statsp, stats; local
[all...]

Completed in 177 milliseconds

12