Home
last modified time | relevance | path

Searched refs:lgeom_p (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c4671 sd_get_virtual_geometry(struct sd_lun *un, cmlb_geom_t *lgeom_p, in sd_get_virtual_geometry() argument
4692 lgeom_p->g_nhead = (geombuf >> 16) & 0xffff; in sd_get_virtual_geometry()
4693 lgeom_p->g_nsect = geombuf & 0xffff; in sd_get_virtual_geometry()
4694 lgeom_p->g_secsize = un->un_sys_blocksize; in sd_get_virtual_geometry()
4696 spc = lgeom_p->g_nhead * lgeom_p->g_nsect; in sd_get_virtual_geometry()
4706 lgeom_p->g_capacity = capacity; in sd_get_virtual_geometry()
4713 lgeom_p->g_ncyl = 0; in sd_get_virtual_geometry()
4715 lgeom_p->g_ncyl = lgeom_p->g_capacity / spc; in sd_get_virtual_geometry()
4717 lgeom_p->g_acyl = 0; in sd_get_virtual_geometry()