Home
last modified time | relevance | path

Searched refs:pStats (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_kstat.c256 qede_kstat_t *pStats = (qede_kstat_t *)kstats->ks_data; in qede_kstat_update() local
272 strncpy(pStats->qede_hi.value.c, &buf[0], 8); in qede_kstat_update()
273 pStats->qede_hi.value.c[8] = 0; in qede_kstat_update()
274 strncpy(pStats->qede_lo.value.c, &buf[8], 8); in qede_kstat_update()
275 pStats->qede_lo.value.c[8] = 0; in qede_kstat_update()
278 strncpy(pStats->version.value.c, in qede_kstat_update()
279 qede->version, sizeof (pStats->version.value.c)); in qede_kstat_update()
280 strncpy(pStats->versionFW.value.c, in qede_kstat_update()
281 qede->versionFW, sizeof (pStats->versionFW.value.c)); in qede_kstat_update()
282 strncpy(pStats->versionMFW.value.c, in qede_kstat_update()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_kstat.c569 BnxeKstat * pStats = (BnxeKstat *)kstats->ks_data; in BnxeKstatUpdate() local
582 strncpy(pStats->umdev_hi.value.c, &buf[0], 8); in BnxeKstatUpdate()
583 pStats->umdev_hi.value.c[8] = 0; in BnxeKstatUpdate()
584 strncpy(pStats->umdev_lo.value.c, &buf[8], 8); in BnxeKstatUpdate()
585 pStats->umdev_lo.value.c[8] = 0; in BnxeKstatUpdate()
587 strncpy(pStats->version.value.c, pUM->version, sizeof(pStats->version.value.c)); in BnxeKstatUpdate()
588 strncpy(pStats->versionFW.value.c, pUM->versionFW, sizeof(pStats->versionFW.value.c)); in BnxeKstatUpdate()
589 strncpy(pStats->versionBC.value.c, pUM->versionBC, sizeof(pStats->versionBC.value.c)); in BnxeKstatUpdate()
591 strncpy(pStats->chipName.value.c, pUM->chipName, sizeof(pStats->chipName.value.c)); in BnxeKstatUpdate()
592 strncpy(pStats->chipID.value.c, pUM->chipID, sizeof(pStats->chipID.value.c)); in BnxeKstatUpdate()
[all …]
H A Dbnxe_gld.c1028 b10_stats_show_data_t * pStats, in BnxeStatsShow() argument
1032 const size_t stats_size = sizeof(pStats->cnt); in BnxeStatsShow()
1188 op = *((stats_show_type_t *)pStats); in BnxeStatsShow()
1194 if (statsLen < sizeof(pStats->desc)) in BnxeStatsShow()
1199 pStats->desc.num = (stats_size / sizeof(u64_t)); in BnxeStatsShow()
1200 pStats->desc.len = STATS_STR_LEN; in BnxeStatsShow()
1211 memcpy(pStats->str, p_stat_str, sizeof(p_stat_str)); in BnxeStatsShow()
1223 &pStats->cnt.l2_chip_stats, in BnxeStatsShow()
1227 &pStats->cnt.l4_chip_stats); in BnxeStatsShow()
1230 ,&pStats->cnt.l2_drv_stats); in BnxeStatsShow()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx_kstat.c38 bnx_kstat_t *pStats = (bnx_kstat_t *)kstats->ks_data; in bnx_kstat_update() local
47 (void) strncpy(pStats->version.value.c, pUM->version, in bnx_kstat_update()
48 sizeof (pStats->version.value.c)); in bnx_kstat_update()
49 (void) strncpy(pStats->versionFW.value.c, pUM->versionFW, in bnx_kstat_update()
50 sizeof (pStats->versionFW.value.c)); in bnx_kstat_update()
51 (void) strncpy(pStats->chipName.value.c, pUM->chipName, in bnx_kstat_update()
52 sizeof (pStats->chipName.value.c)); in bnx_kstat_update()
53 (void) strncpy(pStats->intrAlloc.value.c, pUM->intrAlloc, in bnx_kstat_update()
54 sizeof (pStats->intrAlloc.value.c)); in bnx_kstat_update()
55 pStats->intrFired.value.ui64 = pUM->intr_count; in bnx_kstat_update()
[all …]
/illumos-gate/usr/src/lib/libima/common/
H A Dima-plugin.h375 IMA_PNP_STATISTICS *pStats
395 IMA_TARGET_ERROR_STATISTICS *pStats
421 IMA_DEVICE_STATISTICS *pStats
H A Dima.h2211 IMA_PNP_STATISTICS *pStats
2221 IMA_TARGET_ERROR_STATISTICS *pStats
2247 IMA_DEVICE_STATISTICS *pStats
H A Dima-lib.c4597 IMA_PNP_STATISTICS *pStats) { in IMA_GetPnpStatistics() argument
4605 if (pStats == NULL) in IMA_GetPnpStatistics()
4630 status = PassFunc(pnpId, pStats); in IMA_GetPnpStatistics()
4788 IMA_TARGET_ERROR_STATISTICS *pStats) { in IMA_GetTargetErrorStatistics() argument
4796 if (pStats == NULL) in IMA_GetTargetErrorStatistics()
4821 status = PassFunc(targetId, pStats); in IMA_GetTargetErrorStatistics()
5077 IMA_DEVICE_STATISTICS *pStats) { in IMA_GetDeviceStatistics() argument
5085 if (pStats == NULL) in IMA_GetDeviceStatistics()
5113 status = PassFunc(oid, pStats); in IMA_GetDeviceStatistics()
/illumos-gate/usr/src/lib/libsun_ima/common/
H A Dima.c1516 IMA_TARGET_ERROR_STATISTICS *pStats in IMA_GetTargetErrorStatistics() argument
1730 IMA_DEVICE_STATISTICS *pStats in IMA_GetDeviceStatistics() argument
2807 IMA_PNP_STATISTICS *pStats in IMA_GetPnpStatistics() argument