/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/ |
H A D | b_generic.c | 115 ret_val = ioctl(handle->sm_fd, DKIOCGGEOM, &dkg); 117 DPRINTF("DKIOCGGEOM ioctl failed");
|
/illumos-gate/usr/src/lib/libbc/inc/include/sun/ |
H A D | dkio.h | 334 #define DKIOCGGEOM _IOR('d', 2, struct dk_geom) /* Get geometry */ macro
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 108 if (ioctl(fd, DKIOCGGEOM, &geom) == -1) {
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_repartition.c | 85 * DKIOCGGEOM, we have an EFI label. 88 ioctl_return = ioctl(fd, DKIOCGGEOM, &geom); 94 * If the DKIOCGGEOM ioctl succeeded, then the device has a
|
H A D | meta_nameinfo.c | 581 * if our drivenamep points to a device not supporting DKIOCGGEOM, 585 if (ioctl(fd, DKIOCGGEOM, &geom) != 0) { 599 * If we are here, there was either no failure on DKIOCGGEOM or 603 /* DKIOCGGEOM yielded ENOTSUP => try efi_alloc_and_read */ 663 /* no error on DKIOCGGEOM, try meta_getvtoc */ 738 err = ioctl(fd, DKIOCGGEOM, &geom);
|
/illumos-gate/usr/src/cmd/diskscan/ |
H A D | diskscan.c | 136 if ((ioctl(devfd, DKIOCGGEOM, &dkg)) == -1) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dkio.h | 165 #define DKIOCGGEOM (DKIOC|1) /* Get geometry */ macro
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | media.c | 420 if (ioctl(fd, DKIOCGGEOM, &geometry) >= 0) {
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 179 if (ioctl(fd, DKIOCGGEOM, &fdgeom) < 0) { 180 PERROR("DKIOCGGEOM failed.");
|
/illumos-gate/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 169 if ((ioctl(devfd, DKIOCGGEOM, &dkg)) == -1) {
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 856 * DKIOCGGEOM is sufficient. 857 * x86 : floppy, pcmcia : Don't check for fdisk. DKIOCGGEOM is sufficient. 905 if (ioctl(fd, DKIOCGGEOM, &dkg) < 0) { 906 PERROR("DKIOCGGEOM Failed"); 952 if (ioctl(fd, DKIOCGGEOM, &dkg) < 0) 1347 if (ioctl(fd, DKIOCGGEOM, &dkg) < 0)
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | ioctl.c | 334 case DKIOCGGEOM:
|
/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 593 if ((ioctl(fd, DKIOCGGEOM, geom) < 0) && (errno != ENOTSUP)) {
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 236 if (!eflag && ioctl(fd, DKIOCGGEOM, &disk_geom)) { 238 perror("DKIOCGGEOM failed");
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 1503 ioctl(fd, DKIOCGGEOM, &dginfo) == -1) { 1970 ioctl(fd, DKIOCGGEOM, &dginfo) == -1) { 2351 * support it, we can try to use disk DKIOCGGEOM ioctl 2357 * Note that DKIOCGGEOM cannot supply us with type 2362 if (ioctl(fd, DKIOCGGEOM, &dg) != -1 &&
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 102 * Call DKIOCGGEOM if the ioctls for physical and virtual 107 if (ioctl(epp->dev_fd, DKIOCGGEOM, &disk_geom)) {
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadp.c | 1188 if (ioctl(fd, DKIOCGGEOM, &dk_geom) == -1) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 767 if (ioctl(fd, DKIOCGGEOM, &g))
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ramdisk.c | 1325 case DKIOCGGEOM:
|
/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 482 * We also need a DKIOCGGEOM ioctl to get the disk's geometry. 492 ioctl(fd, DKIOCGGEOM, &geom) == -1 ||
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vds.c | 3063 case DKIOCGGEOM: 3300 case DKIOCGGEOM: 3625 DKIOCGGEOM, STRINGIZE(DKIOCGGEOM), 6283 status = ldi_ioctl(vd->ldi_handle[0], DKIOCGGEOM,
|
/illumos-gate/usr/src/cmd/fdformat/ |
H A D | fdformat.c | 537 if (ioctl(fd, DKIOCGGEOM, &fdgeom) == -1) { 539 gettext("%s: DKIOCGGEOM failed, "), myname);
|
/illumos-gate/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 1298 case DKIOCGGEOM:
|
/illumos-gate/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe_ioctl.c | 1120 case DKIOCGGEOM:
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 981 * Call DKIOCGGEOM if the ioctls for physical and virtual 986 if (ioctl(Dev, DKIOCGGEOM, &disk_geom)) { 1055 if (ioctl(Dev, DKIOCGGEOM, &disk_geom)) { 4826 if (ioctl(fd, DKIOCGGEOM, &d) == -1) {
|