Lines Matching refs:geom
614 if (vdc->geom) in vdc_detach()
615 kmem_free(vdc->geom, sizeof (struct dk_geom)); in vdc_detach()
686 vdc->geom = NULL; in vdc_do_attach()
734 vdc->geom = kmem_zalloc(sizeof (struct dk_geom), KM_SLEEP); in vdc_do_attach()
5588 struct dk_geom *geom; in vdc_dkio_gapart() local
5609 geom = vdc->geom; in vdc_dkio_gapart()
5615 (geom->dkg_nhead * geom->dkg_nsect); in vdc_dkio_gapart()
5624 (geom->dkg_nhead * geom->dkg_nsect); in vdc_dkio_gapart()
7935 struct dk_geom geom; in vdc_get_geom_convert() local
7945 VD_GEOM2DK_GEOM((vd_geom_t *)from, &geom); in vdc_get_geom_convert()
7946 rv = ddi_copyout(&geom, to, copy_len, mode); in vdc_get_geom_convert()
8307 struct dk_geom geom; in vdc_validate_geometry() local
8314 ASSERT(vdc->vtoc != NULL && vdc->geom != NULL); in vdc_validate_geometry()
8326 rv = vd_process_ioctl(dev, DKIOCGGEOM, (caddr_t)&geom, FKIOCTL, &rval); in vdc_validate_geometry()
8374 if (geom.dkg_nhead == 0 || geom.dkg_nsect == 0 || in vdc_validate_geometry()
8404 vdc_store_label_vtoc(vdc, &geom, &vtoc); in vdc_validate_geometry()
8422 vdc_store_label_vtoc(vdc, &geom, &vtoc); in vdc_validate_geometry()
8446 vdc_store_label_vtoc(vdc, &geom, &vtoc); in vdc_validate_geometry()
8660 bzero(vdc->geom, sizeof (struct dk_geom)); in vdc_store_label_efi()
8684 vdc_store_label_vtoc(vdc_t *vdc, struct dk_geom *geom, struct extvtoc *vtoc) in vdc_store_label_vtoc() argument
8693 bcopy(geom, vdc->geom, sizeof (struct dk_geom)); in vdc_store_label_vtoc()
8709 bzero(vdc->geom, sizeof (struct dk_geom)); in vdc_store_label_unk()