Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_stats.c302 struct kstat *cntr_ksp; in tavor_kstat_cntr_create() local
315 cntr_ksp = kstat_create(drv_name, drv_instance, "counters", "bus", in tavor_kstat_cntr_create()
317 if (cntr_ksp == NULL) { in tavor_kstat_cntr_create()
320 cntr_named_data = (struct kstat_named *)(cntr_ksp->ks_data); in tavor_kstat_cntr_create()
337 cntr_ksp->ks_private = (void *)state; in tavor_kstat_cntr_create()
338 cntr_ksp->ks_update = update; in tavor_kstat_cntr_create()
341 kstat_install(cntr_ksp); in tavor_kstat_cntr_create()
343 return (cntr_ksp); in tavor_kstat_cntr_create()
497 struct kstat *cntr_ksp; in tavor_kstat_perfcntr64_create() local
509 cntr_ksp = kstat_create(drv_name, drv_instance, kname, "ib", in tavor_kstat_perfcntr64_create()
[all …]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara_perfctr.c69 kstat_t *cntr_ksp; member
351 ni_dram_kstats[i]->cntr_ksp = ni_create_cntr_kstat( in niagara_kstat_init()
391 zam_lpu_kstats[i]->cntr_ksp = ni_create_cntr_kstat( in niagara_kstat_init()
427 zam_lpu_kstats[i]->cntr_ksp = ni_create_cntr_kstat( in niagara_kstat_init()
463 zam_lpu_kstats[i]->cntr_ksp = ni_create_cntr_kstat( in niagara_kstat_init()
492 ni_jbus_kstat->cntr_ksp = ni_create_cntr_kstat("jbus", 0, in niagara_kstat_init()
511 if (ni_dram_kstats[i]->cntr_ksp != NULL) in niagara_kstat_fini()
512 kstat_delete(ni_dram_kstats[i]->cntr_ksp); in niagara_kstat_fini()
522 if (zam_lpu_kstats[i]->cntr_ksp != NULL) in niagara_kstat_fini()
523 kstat_delete(zam_lpu_kstats[i]->cntr_ksp); in niagara_kstat_fini()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_stats.c287 struct kstat *cntr_ksp; in hermon_kstat_cntr_create() local
300 cntr_ksp = kstat_create(drv_name, drv_instance, "counters", "bus", in hermon_kstat_cntr_create()
302 if (cntr_ksp == NULL) { in hermon_kstat_cntr_create()
305 cntr_named_data = (struct kstat_named *)(cntr_ksp->ks_data); in hermon_kstat_cntr_create()
322 cntr_ksp->ks_private = (void *)state; in hermon_kstat_cntr_create()
323 cntr_ksp->ks_update = update; in hermon_kstat_cntr_create()
326 kstat_install(cntr_ksp); in hermon_kstat_cntr_create()
328 return (cntr_ksp); in hermon_kstat_cntr_create()
597 struct kstat *cntr_ksp; in hermon_kstat_perfcntr64_create() local
617 cntr_ksp = kstat_create(drv_name, drv_instance, kname, "ib", in hermon_kstat_perfcntr64_create()
[all …]
/illumos-gate/usr/src/uts/sun4/io/fpc/
H A Dfpc-kstats.c55 kstat_t *cntr_ksp; member
360 ksinfop->cntr_ksp = fpc_create_cntr_kstat(dev_name, i, in fpc_dev_kstat()
362 if (ksinfop->cntr_ksp == NULL) in fpc_dev_kstat()
555 if (fi_imu_kstats[i]->cntr_ksp != NULL) in fpc_kstat_fini()
556 kstat_delete(fi_imu_kstats[i]->cntr_ksp); in fpc_kstat_fini()
564 if (fi_mmu_kstats[i]->cntr_ksp != NULL) in fpc_kstat_fini()
565 kstat_delete(fi_mmu_kstats[i]->cntr_ksp); in fpc_kstat_fini()
573 if (fi_lpu_kstats[i]->cntr_ksp != NULL) in fpc_kstat_fini()
574 kstat_delete(fi_lpu_kstats[i]->cntr_ksp); in fpc_kstat_fini()
582 if (fi_tlu_kstats[i]->cntr_ksp != NULL) in fpc_kstat_fini()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc_kstats.c121 ksinfo_p->cntr_ksp = n2piupc_create_cntr_kstat(grp_p->grp_name, in n2piupc_kstat_attach()
124 if (ksinfo_p->cntr_ksp == NULL) in n2piupc_kstat_attach()
505 if (n2piupc_p->n2piupc_ksinfo_p[i]->cntr_ksp != NULL) in n2piupc_kstat_detach()
507 n2piupc_p->n2piupc_ksinfo_p[i]->cntr_ksp); in n2piupc_kstat_detach()
H A Dn2piupc.h47 kstat_t *cntr_ksp; member
/illumos-gate/usr/src/uts/sun4v/io/iospc/
H A Diospc.c323 ksinfo_p->cntr_ksp = iospc_create_cntr_kstat(grp_p->grp_name, in iospc_kstat_attach()
327 if (ksinfo_p->cntr_ksp == NULL) in iospc_kstat_attach()
655 if (iospc_p->iospc_ksinfo_p[i]->cntr_ksp != NULL) in iospc_kstat_detach()
657 iospc_p->iospc_ksinfo_p[i]->cntr_ksp); in iospc_kstat_detach()
H A Diospc.h47 kstat_t *cntr_ksp; member