Lines Matching defs:iospc_p
154 iospc_t *iospc_p;
191 iospc_p = (iospc_t *)ddi_get_soft_state(iospc_state_p,
194 iospc_p->iospc_dip = dip;
198 if (iospc_kstat_attach(iospc_p) != DDI_SUCCESS)
229 iospc_t *iospc_p = (iospc_t *)ddi_get_soft_state(
235 iospc_kstat_detach(iospc_p);
289 iospc_kstat_attach(iospc_t *iospc_p)
298 ddi_get_instance(iospc_p->iospc_dip));
316 ksinfo_p->iospc_p = iospc_p;
320 iospc_p->iospc_ksinfo_p[i] = ksinfo_p;
324 ddi_get_instance(iospc_p->iospc_dip),
330 if (grp_p->access_init(iospc_p, ksinfo_p) != SUCCESS)
337 iospc_kstat_detach(iospc_p);
469 iospc_perfcnt_program(iospc_t *iospc_p, iospc_grp_t *grp_p,
481 if ((rval = grp_p->access(iospc_p, ksinfo_p->arg, IOSPC_REG_READ,
510 if ((rval = grp_p->access(iospc_p, ksinfo_p->arg,
521 if ((rval = grp_p->access(iospc_p, ksinfo_p->arg,
547 iospc_t *iospc_p = ksinfop->iospc_p;
565 if (iospc_perfcnt_program(iospc_p, grp_p, ksinfop,
577 if (grp_p->access(iospc_p, ksinfop->arg, IOSPC_REG_READ,
589 if (grp_p->access(iospc_p, ksinfop->arg, IOSPC_REG_READ,
637 iospc_kstat_detach(iospc_t *iospc_p)
651 if (iospc_p->iospc_ksinfo_p[i] != NULL) {
653 grp_p->access_fini(iospc_p, iospc_p->iospc_ksinfo_p[i]);
655 if (iospc_p->iospc_ksinfo_p[i]->cntr_ksp != NULL)
657 iospc_p->iospc_ksinfo_p[i]->cntr_ksp);
658 kmem_free(iospc_p->iospc_ksinfo_p[i],