ni_ksinfo_t
static ni_ksinfo_t *zam_lpu_kstats[ZAMBEZI_LPU_COUNTERS];
static ni_ksinfo_t *zam_gpd_kstats[ZAMBEZI_GPD_COUNTERS];
static ni_ksinfo_t *zam_asu_kstats[ZAMBEZI_ASU_COUNTERS];
static void ni_create_name_kstat(char *, ni_ksinfo_t *, ni_kev_mask_t *);
static void ni_delete_name_kstat(ni_ksinfo_t *);
ni_ksinfo_t *ksinfop;
ksinfop = (ni_ksinfo_t *)kmem_zalloc(
sizeof (ni_ksinfo_t), KM_NOSLEEP);
ksinfop = (ni_ksinfo_t *)kmem_zalloc(
sizeof (ni_ksinfo_t), KM_NOSLEEP);
ksinfop = (ni_ksinfo_t *)kmem_zalloc(
sizeof (ni_ksinfo_t), KM_NOSLEEP);
ksinfop = (ni_ksinfo_t *)kmem_zalloc(
sizeof (ni_ksinfo_t), KM_NOSLEEP);
ni_jbus_kstat = (ni_ksinfo_t *)kmem_alloc(sizeof (ni_ksinfo_t),
kmem_free(ni_dram_kstats[i], sizeof (ni_ksinfo_t));
kmem_free(zam_lpu_kstats[i], sizeof (ni_ksinfo_t));
kmem_free(zam_gpd_kstats[i], sizeof (ni_ksinfo_t));
kmem_free(zam_asu_kstats[i], sizeof (ni_ksinfo_t));
kmem_free(ni_jbus_kstat, sizeof (ni_ksinfo_t));
ni_create_name_kstat(char *name, ni_ksinfo_t *pp, ni_kev_mask_t *ev)
ni_delete_name_kstat(ni_ksinfo_t *pp)
ni_ksinfo_t *ksinfop = ksp->ks_private;
static ni_ksinfo_t *ni_dram_kstats[DRAM_BANKS];
ni_ksinfo_t *ksinfop = ksp->ks_private;
static ni_ksinfo_t *ni_jbus_kstat;