Home
last modified time | relevance | path

Searched refs:DKIOCGMEDIAINFO (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/
H A Db_generic.c110 ret_val = ioctl(handle->sm_fd, DKIOCGMEDIAINFO, &minfo); in _m_get_media_info()
/illumos-gate/usr/src/cmd/diskscan/
H A Ddiskscan.c182 if ((ioctl(devfd, DKIOCGMEDIAINFO, &mediainfo)) == 0) { in scandisk()
/illumos-gate/usr/src/uts/common/sys/
H A Ddkio.h302 #define DKIOCGMEDIAINFO (DKIOC|42) /* get information about the media */ macro
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c175 if ((ioctl(fd, DKIOCGMEDIAINFO, (caddr_t)&disk_info)) == -1) in fdio_bdev_info()
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c389 if (ioctl(fd, DKIOCGMEDIAINFO, &mi) < 0) in find_dos_drive()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c256 while ((status = ioctl(fd, DKIOCGMEDIAINFO, minfo)) < 0) { in media_read_info()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c1218 DKIOCGMEDIAINFO, &mediainfo); in find_device()
2002 device_type = ioctl(t_dev->d_fd, DKIOCGMEDIAINFO, &mediainfo); in get_media_info()
2030 (!ioctl(t_dev->d_fd, DKIOCGMEDIAINFO, &mediainfo))) { in get_media_info()
H A Drmf_menu.c163 if (ioctl(fd, DKIOCGMEDIAINFO, &media) < 0) { in process_options()
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c449 return (ioctl(fd, DKIOCGMEDIAINFO, minfop) != -1); in get_media_info()
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c516 if (ioctl(rfd, DKIOCGMEDIAINFO, &mi) != -1) { in main()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c122 if (ioctl(epp->dev_fd, DKIOCGMEDIAINFO, (caddr_t)&disk_info) < 0) { in fdisk_init_disk_geom()
783 if (ioctl(epp->dev_fd, DKIOCGMEDIAINFO, &dkmp) < 0) { in fdisk_read_master_part_table()
/illumos-gate/usr/src/cmd/fs.d/pcfs/common/
H A Dpcfs_common.c83 if (ioctl(fd, DKIOCGMEDIAINFO, &dkminfo) != -1) { in get_media_sector_size()
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c143 if ((ioctl(fd, DKIOCGMEDIAINFO, (caddr_t)&disk_info)) == -1) in read_disk_info()
410 if (ioctl(fd, DKIOCGMEDIAINFO, (caddr_t)&disk_info) == -1) { in efi_read()
/illumos-gate/usr/src/cmd/cdrw/
H A Ddevice.c243 if (ioctl(fd, DKIOCGMEDIAINFO, &mediainfo) < 0) { in get_device()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c219 if (ioctl(h->fd, DKIOCGMEDIAINFO, &dkminfo) != -1) { in read_bootsec()
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c228 if (ioctl(fd, DKIOCGMEDIAINFO, &minfo) == 0) { in main()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfsck.c477 DKIOCGMEDIAINFO, &dkminfo) != in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c747 if (ioctl(fd, DKIOCGMEDIAINFO, &info)) { in getdiskbydev()
/illumos-gate/usr/src/cmd/format/
H A Dstartup.c1658 if (ioctl(search_file, DKIOCGMEDIAINFO, &mediainfo) == -1) { in add_device_to_disklist()
1679 if (ioctl(search_file, DKIOCGMEDIAINFO, in add_device_to_disklist()
H A Dlabel.c552 if (ioctl(fd, DKIOCGMEDIAINFO, &minf) == 0) { in get_disk_capacity()
H A Dauto_sense.c494 if (ioctl(fd, DKIOCGMEDIAINFO, (caddr_t)&disk_info) == -1) { in auto_label_init()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dblock_if.c870 if (ioctl(fd, DKIOCGMEDIAINFO, &dkm) == 0) in blockif_resized()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_disk.c693 } else if ((error = ldi_ioctl(dvd->vd_lh, DKIOCGMEDIAINFO, in vdev_disk_open()
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c1352 if (ioctl(fso, DKIOCGMEDIAINFO, &dkminfo) != -1) { in get_bsize()
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c852 case DKIOCGMEDIAINFO: { in cmdkioctl()

12