Home
last modified time | relevance | path

Searched refs:mediainfo (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/diskscan/
H A Ddiskscan.c179 struct dk_minfo mediainfo; in scandisk() local
182 if ((ioctl(devfd, DKIOCGMEDIAINFO, &mediainfo)) == 0) { in scandisk()
183 sector_size = mediainfo.dki_lbsize; in scandisk()
/titanic_44/usr/src/cmd/rmformat/
H A Drmf_misc.c1125 struct dk_minfo mediainfo; in find_device() local
1216 DKIOCGMEDIAINFO, &mediainfo); in find_device()
1220 device_type = mediainfo.dki_media_type; in find_device()
1998 struct dk_minfo mediainfo; in get_media_info() local
2001 device_type = ioctl(t_dev->d_fd, DKIOCGMEDIAINFO, &mediainfo); in get_media_info()
2029 (!ioctl(t_dev->d_fd, DKIOCGMEDIAINFO, &mediainfo))) { in get_media_info()
2030 size = (mediainfo.dki_lbsize* in get_media_info()
2031 mediainfo.dki_capacity)/(1024.0*1024.0); in get_media_info()
/titanic_44/usr/src/cmd/cdrw/
H A Ddevice.c97 struct dk_minfo mediainfo; in get_device() local
243 if (ioctl(fd, DKIOCGMEDIAINFO, &mediainfo) < 0) { in get_device()
254 dev->d_blksize = mediainfo.dki_lbsize; in get_device()
/titanic_44/usr/src/cmd/format/
H A Dstartup.c1596 struct dk_minfo mediainfo; in add_device_to_disklist() local
1638 if (ioctl(search_file, DKIOCGMEDIAINFO, &mediainfo) == -1) { in add_device_to_disklist()
1641 cur_blksz = mediainfo.dki_lbsize; in add_device_to_disklist()
1660 &mediainfo) < 0) { in add_device_to_disklist()
1661 mediainfo.dki_media_type = DK_UNKNOWN; in add_device_to_disklist()
1671 (mediainfo.dki_media_type != DK_REMOVABLE_DISK)) { in add_device_to_disklist()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Dtulip.c333 struct mediainfo { struct
334 struct mediainfo *next; argument