Lines Matching defs:lgeom_p
5206 sd_get_virtual_geometry(struct sd_lun *un, cmlb_geom_t *lgeom_p,
5227 lgeom_p->g_nhead = (geombuf >> 16) & 0xffff;
5228 lgeom_p->g_nsect = geombuf & 0xffff;
5229 lgeom_p->g_secsize = un->un_sys_blocksize;
5231 spc = lgeom_p->g_nhead * lgeom_p->g_nsect;
5241 lgeom_p->g_capacity = capacity;
5248 lgeom_p->g_ncyl = 0;
5250 lgeom_p->g_ncyl = lgeom_p->g_capacity / spc;
5252 lgeom_p->g_acyl = 0;