Lines Matching refs:ioctl
71 if (ioctl(epp->dev_fd, DKIOCG_VIRTGEOM, &disk_geom)) {
76 * This means that the ioctl exists, but
87 /* save virtual geometry values obtained by ioctl */
94 if (ioctl(epp->dev_fd, DKIOCG_PHYGEOM, &disk_geom)) {
107 if (ioctl(epp->dev_fd, DKIOCGGEOM, &disk_geom)) {
118 * If DKIOCGMEDIAINFO ioctl succeeds, set the dki_lbsize as the
121 if (ioctl(epp->dev_fd, DKIOCGMEDIAINFO, (caddr_t)&disk_info) < 0) {
122 /* ioctl failed, falling back to default value of 512 bytes */
1421 * Issue the ioctl.
1441 /* Issue ioctl to the driver to update extended partition info */
1442 rval = ioctl(epp->dev_fd, DKIOCSETEXTPART);