Searched refs:DIOCGMEDIASIZE (Results 1 - 4 of 4) sorted by relevance
/third_party/FreeBSD/sbin/newfs_msdos/ |
H A D | mkfs_define.h | 55 * DIOCGMEDIASIZE,DIOCGFWSECTORS,DIOCGSECTORSIZE,DIOCGFWHEADS 59 #define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */ macro
|
H A D | mkfs_msdos.c | 922 if (ioctl(fd, DIOCGMEDIASIZE, &ms) == -1) { in getdiskinfo()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | device.c | 569 #ifdef DIOCGMEDIASIZE in ntfs_device_size_get() 574 if (dev->d_ops->ioctl(dev, DIOCGMEDIASIZE, &size) >= 0) { in ntfs_device_size_get() 575 ntfs_log_debug("DIOCGMEDIASIZE nr bytes = %llu (0x%llx)\n", in ntfs_device_size_get()
|
/third_party/gptfdisk/ |
H A D | diskio-unix.cc | 466 *err = ioctl(fd, DIOCGMEDIASIZE, &bytes); in DiskSize()
|
Completed in 5 milliseconds