Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_kstats.c728 statsp = (p_nxge_txc_stats_t)&nxgep->statsp->txc_stats; in nxge_txc_stat_update()
778 statsp = (p_nxge_ipp_stats_t)&nxgep->statsp->ipp_stats; in nxge_ipp_stat_update()
996 statsp = (p_nxge_zcp_stats_t)&nxgep->statsp->zcp_stats; in nxge_zcp_stat_update()
1695 KMEM_FREE(nxgep->statsp, nxgep->statsp->stats_size); in nxge_destroy_kstats()
1713 statsp = (p_nxge_stats_t)nxgep->statsp; in nxge_port_kstat_update()
1919 statsp = (p_nxge_stats_t)nxgep->statsp; in nxge_save_cntrs()
2115 statsp = (p_nxge_stats_t)nxgep->statsp; in nxge_m_rx_stat()
2161 statsp = (p_nxge_stats_t)nxgep->statsp; in nxge_m_tx_stat()
2205 statsp = (p_nxge_stats_t)nxgep->statsp; in nxge_rx_ring_stat()
2245 statsp = (p_nxge_stats_t)nxgep->statsp; in nxge_tx_ring_stat()
[all …]
H A Dnxge_mac.c1048 statsp = nxgep->statsp; in nxge_xif_init()
1200 statsp = nxgep->statsp; in nxge_pcs_init()
1325 statsp = nxgep->statsp; in nxge_mac_ctrl_init()
1443 statsp = nxgep->statsp; in nxge_serdes_init()
3784 statsp = nxgep->statsp; in nxge_10G_xcvr_init()
4103 statsp = nxgep->statsp; in nxge_xcvr_init()
4808 statsp = nxgep->statsp; in nxge_mii_xcvr_init()
5138 statsp = nxgep->statsp; in nxge_mii_xcvr_fiber_init()
5509 statsp = nxgep->statsp; in nxge_mii_check()
5710 statsp = nxgep->statsp; in nxge_pcs_check()
[all …]
H A Dnxge_hw.c72 ((nxgep->statsp->port_stats.lb_mode == in nxge_global_reset()
74 (nxgep->statsp->port_stats.lb_mode == in nxge_global_reset()
76 (nxgep->statsp->port_stats.lb_mode == in nxge_global_reset()
78 (nxgep->statsp->port_stats.lb_mode == in nxge_global_reset()
670 nxgep->statsp->port_stats.lb_mode; in nxge_loopback_ioctl()
730 if (nxgep->statsp->mac_stats.cap_100fdx) in nxge_loopback_ioctl()
732 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()
787 if (nxgep->statsp->mac_stats.cap_10fdx) in nxge_loopback_ioctl()
850 if (nxgep->statsp->mac_stats. in nxge_loopback_ioctl()
986 (nxgep->statsp->mac_stats.cap_10fdx)) in nxge_set_lb()
[all …]
H A Dnxge_fm.c521 p_nxge_stats_t statsp; in nxge_fm_ereport() local
527 statsp = nxgep->statsp; in nxge_fm_ereport()
612 statsp->fflp_stats.errlog.tcam, in nxge_fm_ereport()
621 statsp->fflp_stats.errlog.vlan, in nxge_fm_ereport()
687 err_log = (uint32_t)statsp-> in nxge_fm_ereport()
690 err_log = (uint32_t)statsp-> in nxge_fm_ereport()
705 err_type = statsp-> in nxge_fm_ereport()
723 sm = statsp-> in nxge_fm_ereport()
803 statsp->txc_stats.errlog.ro_st.d0. in nxge_fm_ereport()
806 statsp->txc_stats.errlog.ro_st.d1. in nxge_fm_ereport()
[all …]
H A Dnxge_zcp.c115 p_nxge_zcp_stats_t statsp; in nxge_zcp_handle_sys_errors() local
122 statsp = (p_nxge_zcp_stats_t)&nxgep->statsp->zcp_stats; in nxge_zcp_handle_sys_errors()
129 statsp->rrfifo_underrun++; in nxge_zcp_handle_sys_errors()
137 statsp->rrfifo_overrun++; in nxge_zcp_handle_sys_errors()
153 statsp->buffer_overflow++; in nxge_zcp_handle_sys_errors()
162 statsp->stat_tbl_perr++; in nxge_zcp_handle_sys_errors()
170 statsp->dyn_tbl_perr++; in nxge_zcp_handle_sys_errors()
178 statsp->buf_tbl_perr++; in nxge_zcp_handle_sys_errors()
186 statsp->tt_program_err++; in nxge_zcp_handle_sys_errors()
194 statsp->rsp_tt_index_err++; in nxge_zcp_handle_sys_errors()
[all …]
H A Dnxge_ipp.c333 p_nxge_ipp_stats_t statsp; in nxge_ipp_handle_sys_errors() local
343 statsp = (p_nxge_ipp_stats_t)&nxgep->statsp->ipp_stats; in nxge_ipp_handle_sys_errors()
346 errlogp = (p_ipp_errlog_t)&statsp->errlog; in nxge_ipp_handle_sys_errors()
359 statsp->sop_miss++; in nxge_ipp_handle_sys_errors()
368 if (statsp->sop_miss < IPP_MAX_ERR_SHOW) in nxge_ipp_handle_sys_errors()
374 statsp->eop_miss++; in nxge_ipp_handle_sys_errors()
395 statsp->dfifo_ue++; in nxge_ipp_handle_sys_errors()
407 statsp->pfifo_perr++; in nxge_ipp_handle_sys_errors()
417 statsp->pfifo_over++; in nxge_ipp_handle_sys_errors()
427 statsp->pfifo_und++; in nxge_ipp_handle_sys_errors()
[all …]
H A Dnxge_txc.c391 p_nxge_txc_stats_t statsp; in nxge_txc_handle_port_errors() local
398 statsp = (p_nxge_txc_stats_t)&nxgep->statsp->txc_stats; in nxge_txc_handle_port_errors()
407 &statsp->errlog.ro_st)) != NPI_SUCCESS) { in nxge_txc_handle_port_errors()
412 statsp->ro_correct_err++; in nxge_txc_handle_port_errors()
420 statsp->ro_uncorrect_err++; in nxge_txc_handle_port_errors()
428 statsp->reorder_err++; in nxge_txc_handle_port_errors()
456 &statsp->errlog.sf_st)) != NPI_SUCCESS) { in nxge_txc_handle_port_errors()
460 statsp->sf_correct_err++; in nxge_txc_handle_port_errors()
468 statsp->sf_uncorrect_err++; in nxge_txc_handle_port_errors()
H A Dnxge_espc.c152 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_espc_phy_type_get()
156 nxgep->statsp->mac_stats.xcvr_inuse = XPCS_XCVR; in nxge_espc_phy_type_get()
160 nxgep->statsp->mac_stats.xcvr_inuse = PCS_XCVR; in nxge_espc_phy_type_get()
164 nxgep->statsp->mac_stats.xcvr_inuse = INT_MII_XCVR; in nxge_espc_phy_type_get()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvgen_stats.c144 ksp->ks_private = (void *)statsp; in vgen_setup_kstats()
165 vgen_stats_t *statsp; in vgen_kstat_update() local
175 statsp->rx_pri_packets; in vgen_kstat_update()
180 statsp->tx_pri_packets; in vgen_kstat_update()
189 statsp->rx_pri_bytes; in vgen_kstat_update()
193 statsp->tx_pri_bytes; in vgen_kstat_update()
217 statsp->dring_data_msgs_sent; in vgen_kstat_update()
261 statsp->dring_data_msgs_sent = in vgen_kstat_update()
263 statsp->dring_data_acks_rcvd = in vgen_kstat_update()
267 statsp->dring_data_msgs_rcvd = in vgen_kstat_update()
[all …]
H A Dvnet_rxdring.c641 statsp->oerrors++; in vgen_dringsend_shm()
726 statsp->opackets++; in vgen_dringsend_shm()
729 statsp->brdcstxmt++; in vgen_dringsend_shm()
731 statsp->multixmt++; in vgen_dringsend_shm()
750 statsp->oerrors++; in vgen_dringsend_shm()
1089 statsp->ierrors++; in vgen_receive_packet()
1116 statsp->norcvbuf++; in vgen_receive_packet()
1119 statsp->ierrors++; in vgen_receive_packet()
1148 statsp->ipackets++; in vgen_receive_packet()
1152 statsp->brdcstrcv++; in vgen_receive_packet()
[all …]
H A Dvsw_rxdring.c753 statsp->ierrors++; in vsw_receive_packet()
781 statsp->norcvbuf++; in vsw_receive_packet()
809 statsp->ipackets++; in vsw_receive_packet()
815 statsp->multircv++; in vsw_receive_packet()
884 statsp->oerrors++; in vsw_dringsend_shm()
891 statsp->oerrors++; in vsw_dringsend_shm()
906 statsp->oerrors++; in vsw_dringsend_shm()
936 statsp->oerrors++; in vsw_dringsend_shm()
1005 statsp->opackets++; in vsw_dringsend_shm()
1010 statsp->multixmt++; in vsw_dringsend_shm()
[all …]
H A Dvnet_txdring.c696 statsp->oerrors++; in vgen_dringsend()
703 statsp->opackets++; in vgen_dringsend()
706 statsp->brdcstxmt++; in vgen_dringsend()
708 statsp->multixmt++; in vgen_dringsend()
724 statsp->oerrors++; in vgen_dringsend()
1014 statsp->ierrors++; in vgen_process_dringdata()
1092 statsp->ierrors++; in vgen_process_dringdata()
1140 statsp->ierrors++; in vgen_process_dringdata()
1182 statsp->ierrors++; in vgen_process_dringdata()
1195 statsp->ipackets++; in vgen_process_dringdata()
[all …]
H A Dvnet.c923 statsp->obytes += size; in vnet_tx_ring_send()
924 statsp->opackets++; in vnet_tx_ring_send()
1948 vnet_hio_stats_t statsp; in vnet_hio_update_kstats() local
2013 statsp->ipackets = val; in vnet_hio_get_stats()
2017 statsp->ierrors = val; in vnet_hio_get_stats()
2021 statsp->opackets = val; in vnet_hio_get_stats()
2025 statsp->oerrors = val; in vnet_hio_get_stats()
2029 statsp->rbytes = val; in vnet_hio_get_stats()
2033 statsp->obytes = val; in vnet_hio_get_stats()
2517 *val = statsp->opackets; in vnet_tx_ring_stat()
[all …]
H A Dvnet_gen.c2826 vgen_stats_t *statsp; in vgen_ldc_stat() local
2830 statsp = &ldcp->stats; in vgen_ldc_stat()
2834 val = statsp->multircv; in vgen_ldc_stat()
2842 val = statsp->multixmt; in vgen_ldc_stat()
2854 val = statsp->ierrors; in vgen_ldc_stat()
2862 val = statsp->oerrors; in vgen_ldc_stat()
2869 val = statsp->rbytes; in vgen_ldc_stat()
2877 val = statsp->obytes; in vgen_ldc_stat()
3007 vgen_stats_t *statsp; in vgen_ldc_cb() local
3012 statsp = &ldcp->stats; in vgen_ldc_cb()
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_kstats.c368 statsp = (p_hxge_tx_ring_stats_t)&hxgep->statsp->tdc_stats[channel]; in hxge_tdc_stat_update()
420 statsp = (p_hxge_tdc_sys_stats_t)&hxgep->statsp->tdc_sys_stats; in hxge_tdc_sys_stat_update()
457 statsp = (p_hxge_rx_ring_stats_t)&hxgep->statsp->rdc_stats[channel]; in hxge_rdc_stat_update()
505 statsp = (p_hxge_rdc_sys_stats_t)&hxgep->statsp->rdc_sys_stats; in hxge_rdc_sys_stat_update()
536 statsp = (p_hxge_vmac_stats_t)&hxgep->statsp->vmac_stats; in hxge_vmac_stat_update()
569 statsp = (p_hxge_pfc_stats_t)&hxgep->statsp->pfc_stats; in hxge_pfc_stat_update()
601 statsp = (p_hxge_peu_sys_stats_t)&hxgep->statsp->peu_sys_stats; in hxge_peu_sys_stat_update()
823 if (hxgep->statsp) in hxge_destroy_kstats()
824 KMEM_FREE(hxgep->statsp, hxgep->statsp->stats_size); in hxge_destroy_kstats()
843 statsp = (p_hxge_stats_t)hxgep->statsp; in hxge_port_kstat_update()
[all …]
H A Dhxge_vmac.c45 p_hxge_stats_t statsp; in hxge_link_init() local
49 statsp = hxgep->statsp; in hxge_link_init()
51 statsp->mac_stats.cap_10gfdx = 1; in hxge_link_init()
52 statsp->mac_stats.lp_cap_10gfdx = 1; in hxge_link_init()
58 statsp->mac_stats.link_duplex = 2; in hxge_link_init()
59 statsp->mac_stats.link_speed = 10000; in hxge_link_init()
372 p_hxge_stats_t statsp; in hxge_save_cntrs() local
388 statsp = (p_hxge_stats_t)hxgep->statsp; in hxge_save_cntrs()
408 statsp->vmac_stats.rx_drop_byte_cnt += in hxge_save_cntrs()
412 statsp->vmac_stats.rx_bcast_fr_cnt += in hxge_save_cntrs()
[all …]
H A Dhxge_hw.c232 statsp = (p_hxge_peu_sys_stats_t)&hxgep->statsp->peu_sys_stats; in hxge_peu_handle_sys_errors()
244 statsp->spc_acc_err++; in hxge_peu_handle_sys_errors()
250 statsp->tdc_pioacc_err++; in hxge_peu_handle_sys_errors()
256 statsp->rdc_pioacc_err++; in hxge_peu_handle_sys_errors()
262 statsp->pfc_pioacc_err++; in hxge_peu_handle_sys_errors()
268 statsp->vmac_pioacc_err++; in hxge_peu_handle_sys_errors()
274 statsp->cpl_hdrq_parerr++; in hxge_peu_handle_sys_errors()
298 statsp->p_hdrq_parerr++; in hxge_peu_handle_sys_errors()
304 statsp->p_dataq_parerr++; in hxge_peu_handle_sys_errors()
310 statsp->np_hdrq_parerr++; in hxge_peu_handle_sys_errors()
[all …]
H A Dhxge_fm.c324 p_hxge_stats_t statsp; in hxge_fm_ereport() local
331 statsp = hxgep->statsp; in hxge_fm_ereport()
345 statsp->pfc_stats.tcam_parity_err, in hxge_fm_ereport()
353 statsp->pfc_stats.vlan_parity_err, in hxge_fm_ereport()
361 statsp->pfc_stats.pkt_drop, in hxge_fm_ereport()
382 rdc_statsp = &statsp->rdc_stats[err_chan]; in hxge_fm_ereport()
399 err_type = statsp->rdc_stats[err_chan].errlog.compl_err_type; in hxge_fm_ereport()
440 statsp->tdc_stats[err_chan].errlog.value, NULL); in hxge_fm_ereport()
H A Dhxge_pfc.c1067 p_hxge_pfc_stats_t statsp; in hxge_pfc_intr() local
1086 statsp = (p_hxge_pfc_stats_t)&hxgep->statsp->pfc_stats; in hxge_pfc_intr()
1095 statsp->pkt_drop++; in hxge_pfc_intr()
1096 if (statsp->pkt_drop == 1) in hxge_pfc_intr()
1103 statsp->errlog.tcp_ctrl_drop++; in hxge_pfc_intr()
1105 statsp->errlog.l2_addr_drop++; in hxge_pfc_intr()
1109 statsp->errlog.tcam_drop++; in hxge_pfc_intr()
1111 statsp->errlog.vlan_drop++; in hxge_pfc_intr()
1119 statsp->tcam_parity_err++; in hxge_pfc_intr()
1124 if (statsp->tcam_parity_err == 1) in hxge_pfc_intr()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_stats.c142 statsp->rfsreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs", 0, in nfsstat_zone_init_rfsreq_v2()
150 kmem_free(statsp->rfsreqcnt_ptr, sizeof (rfsreqcnt_v2_tmpl)); in nfsstat_zone_fini_rfsreq_v2()
192 statsp->aclreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs_acl", 0, in nfsstat_zone_init_aclreq_v2()
200 kmem_free(statsp->aclreqcnt_ptr, sizeof (aclreqcnt_v2_tmpl)); in nfsstat_zone_fini_aclreq_v2()
246 statsp->rfsreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs", 0, in nfsstat_zone_init_rfsreq_v3()
254 kmem_free(statsp->rfsreqcnt_ptr, sizeof (rfsreqcnt_v3_tmpl)); in nfsstat_zone_fini_rfsreq_v3()
298 statsp->aclreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs_acl", 0, in nfsstat_zone_init_aclreq_v3()
306 kmem_free(statsp->aclreqcnt_ptr, sizeof (aclreqcnt_v3_tmpl)); in nfsstat_zone_fini_aclreq_v3()
367 statsp->rfsreqcnt_ptr = nfsstat_zone_init_common(zoneid, "nfs", 0, in nfsstat_zone_init_rfsreq_v4()
375 kmem_free(statsp->rfsreqcnt_ptr, sizeof (rfsreqcnt_v4_tmpl)); in nfsstat_zone_fini_rfsreq_v4()
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c1797 p_ch_stats_t statsp; in sge_kstat_update() local
1802 statsp = (p_ch_stats_t)&sge->intr_cnt; in sge_kstat_update()
1819 statsp->tx_need_cpl_space in sge_kstat_update()
1828 statsp->rx_flq0 = chkp->rx_flq0.value.ui32; in sge_kstat_update()
1857 = statsp->freelistQ_empty; in sge_kstat_update()
1870 = statsp->tx_need_cpl_space; in sge_kstat_update()
1878 chkp->rx_flq0.value.ui32 = statsp->rx_flq0; in sge_kstat_update()
1879 chkp->rx_flq1.value.ui32 = statsp->rx_flq1; in sge_kstat_update()
1890 = statsp->rx_flbuf_fails; in sge_kstat_update()
1892 = statsp->rx_flbuf_allocs; in sge_kstat_update()
[all …]
/illumos-gate/usr/src/uts/common/ipp/meters/
H A Dtswtclddi.c518 meter_stat_t *statsp; in tswtcl_statinit() local
528 statsp = (meter_stat_t *)(tswtcl_data->stats)->ipps_data; in tswtcl_statinit()
529 ASSERT(statsp != NULL); in tswtcl_statinit()
532 IPP_STAT_UINT64, &statsp->red_packets)) != 0) { in tswtcl_statinit()
538 IPP_STAT_UINT64, &statsp->red_bits)) != 0) { in tswtcl_statinit()
544 IPP_STAT_UINT64, &statsp->yellow_packets)) != 0) { in tswtcl_statinit()
550 IPP_STAT_UINT64, &statsp->yellow_bits)) != 0) { in tswtcl_statinit()
556 IPP_STAT_UINT64, &statsp->green_packets)) != 0) { in tswtcl_statinit()
562 IPP_STAT_UINT64, &statsp->green_bits)) != 0) { in tswtcl_statinit()
568 IPP_STAT_UINT64, &statsp->epackets)) != 0) { in tswtcl_statinit()
H A Dtokenmtddi.c705 meter_stat_t *statsp; in tokenmt_statinit() local
715 statsp = (meter_stat_t *)(tokenmt_data->stats)->ipps_data; in tokenmt_statinit()
716 ASSERT(statsp != NULL); in tokenmt_statinit()
719 IPP_STAT_UINT64, &statsp->red_packets)) != 0) { in tokenmt_statinit()
725 IPP_STAT_UINT64, &statsp->yellow_packets)) != 0) { in tokenmt_statinit()
731 IPP_STAT_UINT64, &statsp->green_packets)) != 0) { in tokenmt_statinit()
737 IPP_STAT_UINT64, &statsp->red_bits)) != 0) { in tokenmt_statinit()
743 IPP_STAT_UINT64, &statsp->yellow_bits)) != 0) { in tokenmt_statinit()
749 IPP_STAT_UINT64, &statsp->green_bits)) != 0) { in tokenmt_statinit()
755 IPP_STAT_UINT64, &statsp->epackets)) != 0) { in tokenmt_statinit()
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c527 statsp->pos_hits); in print_stats()
529 statsp->neg_hits); in print_stats()
531 statsp->pos_misses); in print_stats()
533 statsp->neg_misses); in print_stats()
535 statsp->entries); in print_stats()
545 statsp->hitrate); in print_stats()
942 statsp = calloc(1, sizeof (*statsp)); in _nscd_cfg_cache_get_stat()
943 if (statsp == NULL) in _nscd_cfg_cache_get_stat()
968 free(statsp); in _nscd_cfg_cache_get_stat()
972 *statsp = ctx->stats; in _nscd_cfg_cache_get_stat()
[all …]
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-fifo-fp.c352 xge_hal_stats_channel_info_t *statsp = &fifo->channel.stats; in xge_hal_fifo_dtr_reserve_many() local
368 statsp->total_posts_dtrs_many++; in xge_hal_fifo_dtr_reserve_many()
369 statsp->total_posts_frags_many += txdl_priv->alloc_frags; in xge_hal_fifo_dtr_reserve_many()
371 statsp->total_posts_dang_dtrs++; in xge_hal_fifo_dtr_reserve_many()
372 statsp->total_posts_dang_frags += txdl_priv->dang_frags; in xge_hal_fifo_dtr_reserve_many()

12