Lines Matching defs:packp
856 packet_t *packp;
881 packp = (packet_t *)kmem_zalloc(ssize, KM_SLEEP);
884 if ((ret = sgfru_packet_pad(datap, max_cnt, &packs.fru_info, packp))
887 kmem_free(packp, ssize);
895 kmem_free(packp, ssize);
899 if (sgfru_copyout_packets(iargp, &packs, packp) != 0) {
900 kmem_free(packp, ssize);
904 kmem_free(packp, ssize);
1654 const packet_t *packp)
1660 if (ddi_copyout((void *)packp, (void *)frup->frus, size, argp->mode)
1808 packet_t *packp)
1817 for (i = 0, pp = packp; i < fru->cnt; i++, pp++) {
1870 sgfru_packet_unpad(const fru_info_t *fru, const packet_t *packp, caddr_t datap)
1878 bcopy((caddr_t)&packp->handle, tdatap, FRU_HDL_SIZE);
1880 bcopy((caddr_t)&packp->tag, tdatap, TAG_SIZE);