Lines Matching refs:dkgeom
268 struct dk_geom *dkgeom);
1967 struct dk_geom dkgeom;
2231 ret_val = ioctl(door_dp->dd_fd, DKIOCGGEOM, &dkgeom);
2242 media_info.dki_capacity, &dkgeom);
2258 DKIOCG_PHYGEOM, &dkgeom);
2275 if (dkgeom.dkg_pcyl == 0)
2277 dkgeom.dkg_ncyl;
2280 dkgeom.dkg_pcyl;
2283 dkgeom.dkg_nhead;
2285 dkgeom.dkg_nsect;
3040 get_floppy_geom(int32_t fd, uint32_t capacity, struct dk_geom *dkgeom)
3050 dkgeom->dkg_pcyl = 80;
3051 dkgeom->dkg_ncyl = 80;
3052 dkgeom->dkg_nhead = 2;
3053 dkgeom->dkg_nsect = 9;
3057 dkgeom->dkg_pcyl = 77;
3058 dkgeom->dkg_ncyl = 77;
3059 dkgeom->dkg_nhead = 2;
3060 dkgeom->dkg_nsect = 9;
3065 dkgeom->dkg_pcyl = 80;
3066 dkgeom->dkg_ncyl = 80;
3067 dkgeom->dkg_nhead = 2;
3068 dkgeom->dkg_nsect = 18;
3072 dkgeom->dkg_pcyl = 963;
3073 dkgeom->dkg_ncyl = 963;
3074 dkgeom->dkg_nhead = 8;
3075 dkgeom->dkg_nsect = 32;
3083 dkgeom->dkg_pcyl, dkgeom->dkg_nhead, dkgeom->dkg_nsect);
3098 struct dk_geom dkgeom;
3134 ret_val = get_floppy_geom(fd, capacity, &dkgeom);
3178 for (i = 0; i < dkgeom.dkg_pcyl; i++) { /* number of tracks */