Home
last modified time | relevance | path

Searched refs:DKIOCGGEOM (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/lib/libsmedia/plugins/blkdev/common/
H A Db_generic.c115 ret_val = ioctl(handle->sm_fd, DKIOCGGEOM, &dkg); in _m_get_media_info()
/titanic_41/usr/src/lib/libbc/inc/include/sun/
H A Ddkio.h334 #define DKIOCGGEOM _IOR('d', 2, struct dk_geom) /* Get geometry */ macro
/titanic_41/usr/src/cmd/devinfo/
H A Ddevinfo.c108 if (ioctl(fd, DKIOCGGEOM, &geom) == -1) { in main()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_repartition.c88 ioctl_return = ioctl(fd, DKIOCGGEOM, &geom); in meta_replicaslice()
H A Dmeta_nameinfo.c585 if (ioctl(fd, DKIOCGGEOM, &geom) != 0) { in metagetvtoc()
738 err = ioctl(fd, DKIOCGGEOM, &geom); in metasetvtoc()
/titanic_41/usr/src/uts/common/sys/
H A Ddkio.h165 #define DKIOCGGEOM (DKIOC|1) /* Get geometry */ macro
/titanic_41/usr/src/cmd/diskscan/
H A Ddiskscan.c136 if ((ioctl(devfd, DKIOCGGEOM, &dkg)) == -1) { in main()
/titanic_41/usr/src/cmd/addbadsec/
H A Daddbadsec.c169 if ((ioctl(devfd, DKIOCGGEOM, &dkg)) == -1) { in main()
/titanic_41/usr/src/cmd/rmformat/
H A Drmf_slice.c905 if (ioctl(fd, DKIOCGGEOM, &dkg) < 0) { in check_vtoc_sanity()
952 if (ioctl(fd, DKIOCGGEOM, &dkg) < 0) in check_vtoc_sanity()
1347 if (ioctl(fd, DKIOCGGEOM, &dkg) < 0) in write_default_label()
/titanic_41/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_format.c179 if (ioctl(fd, DKIOCGGEOM, &fdgeom) < 0) { in format_floppy()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dmedia.c420 if (ioctl(fd, DKIOCGGEOM, &geometry) >= 0) {
/titanic_41/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c334 case DKIOCGGEOM: in _bc_ioctl()
/titanic_41/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c593 if ((ioctl(fd, DKIOCGGEOM, geom) < 0) && (errno != ENOTSUP)) { in readgeom()
/titanic_41/usr/src/cmd/fmthard/
H A Dfmthard.c236 if (!eflag && ioctl(fd, DKIOCGGEOM, &disk_geom)) { in main()
/titanic_41/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c767 if (ioctl(fd, DKIOCGGEOM, &g)) in getdiskbydev()
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c1503 ioctl(fd, DKIOCGGEOM, &dginfo) == -1) { in find_fixed_details()
1970 ioctl(fd, DKIOCGGEOM, &dginfo) == -1) { in compare_existing_with_computed()
2362 if (ioctl(fd, DKIOCGGEOM, &dg) != -1 && in open_and_seek()
/titanic_41/usr/src/cmd/format/
H A Dlabel.c492 ioctl(fd, DKIOCGGEOM, &geom) == -1 || in read_label()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvds.c3063 case DKIOCGGEOM: in vd_do_slice_ioctl()
3300 case DKIOCGGEOM: in vd_do_dskimg_ioctl()
3625 DKIOCGGEOM, STRINGIZE(DKIOCGGEOM), in vd_ioctl()
6283 status = ldi_ioctl(vd->ldi_handle[0], DKIOCGGEOM, in vd_setup_single_slice_disk()
/titanic_41/usr/src/uts/common/io/
H A Dramdisk.c1325 case DKIOCGGEOM:
/titanic_41/usr/src/cmd/sa/
H A Dsadp.c1188 if (ioctl(fd, DKIOCGGEOM, &dk_geom) == -1) { in init_geom()
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c986 if (ioctl(Dev, DKIOCGGEOM, &disk_geom)) { in main()
1055 if (ioctl(Dev, DKIOCGGEOM, &disk_geom)) { in main()
4826 if (ioctl(fd, DKIOCGGEOM, &d) == -1) {
/titanic_41/usr/src/cmd/fdformat/
H A Dfdformat.c537 if (ioctl(fd, DKIOCGGEOM, &fdgeom) == -1) { in format_diskette()
/titanic_41/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c107 if (ioctl(epp->dev_fd, DKIOCGGEOM, &disk_geom)) { in fdisk_init_disk_geom()
/titanic_41/usr/src/uts/common/io/lvm/softpart/
H A Dsp_ioctl.c1298 case DKIOCGGEOM: in md_sp_ioctl()
/titanic_41/usr/src/uts/common/io/lvm/stripe/
H A Dstripe_ioctl.c1120 case DKIOCGGEOM: in md_stripe_ioctl()

12