Lines Matching refs:sectp
561 section_t *sectp; in sgfru_getsections() local
586 sectp = (section_t *)kmem_zalloc(ssize, KM_SLEEP); in sgfru_getsections()
589 if ((ret = sgfru_section_pad(datap, max_cnt, §s.fru_info, sectp)) in sgfru_getsections()
592 kmem_free(sectp, ssize); in sgfru_getsections()
600 kmem_free(sectp, ssize); in sgfru_getsections()
604 if (sgfru_copyout_sections(iargp, §s, sectp) != 0) { in sgfru_getsections()
605 kmem_free(sectp, ssize); in sgfru_getsections()
609 kmem_free(sectp, ssize); in sgfru_getsections()
1616 const section_t *sectp) in sgfru_copyout_sections() argument
1622 if (ddi_copyout((void *)sectp, (void *)frup->frus, size, argp->mode) in sgfru_copyout_sections()
1748 section_t *sectp) in sgfru_section_pad() argument
1757 for (i = 0, sp = sectp; i < fru->cnt; i++, sp++) { in sgfru_section_pad()