Searched refs:lgeom_p (Results 1 – 1 of 1) sorted by relevance
5233 sd_get_virtual_geometry(struct sd_lun *un, cmlb_geom_t *lgeom_p, in sd_get_virtual_geometry() argument5254 lgeom_p->g_nhead = (geombuf >> 16) & 0xffff; in sd_get_virtual_geometry()5255 lgeom_p->g_nsect = geombuf & 0xffff; in sd_get_virtual_geometry()5256 lgeom_p->g_secsize = un->un_sys_blocksize; in sd_get_virtual_geometry()5258 spc = lgeom_p->g_nhead * lgeom_p->g_nsect; in sd_get_virtual_geometry()5268 lgeom_p->g_capacity = capacity; in sd_get_virtual_geometry()5275 lgeom_p->g_ncyl = 0; in sd_get_virtual_geometry()5277 lgeom_p->g_ncyl = lgeom_p->g_capacity / spc; in sd_get_virtual_geometry()5279 lgeom_p->g_acyl = 0; in sd_get_virtual_geometry()