Searched refs:lgeom_p (Results 1 – 1 of 1) sorted by relevance
5246 sd_get_virtual_geometry(struct sd_lun *un, cmlb_geom_t *lgeom_p, in sd_get_virtual_geometry() argument5267 lgeom_p->g_nhead = (geombuf >> 16) & 0xffff; in sd_get_virtual_geometry()5268 lgeom_p->g_nsect = geombuf & 0xffff; in sd_get_virtual_geometry()5269 lgeom_p->g_secsize = un->un_sys_blocksize; in sd_get_virtual_geometry()5271 spc = lgeom_p->g_nhead * lgeom_p->g_nsect; in sd_get_virtual_geometry()5281 lgeom_p->g_capacity = capacity; in sd_get_virtual_geometry()5288 lgeom_p->g_ncyl = 0; in sd_get_virtual_geometry()5290 lgeom_p->g_ncyl = lgeom_p->g_capacity / spc; in sd_get_virtual_geometry()5292 lgeom_p->g_acyl = 0; in sd_get_virtual_geometry()